Skip to content

Commit

Permalink
Initial project structure. CLI and Workflow CRD skeleton
Browse files Browse the repository at this point in the history
  • Loading branch information
jessesuen committed Oct 17, 2017
0 parents commit 3ed1dfe
Show file tree
Hide file tree
Showing 28 changed files with 1,295 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.vscode/
.idea/
.DS_Store
vendor/
dist/
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Changelog

## 1.1.0 (Unreleased)
* Reduce sizes of axdb, zookeeper, kafka images by a combined total of ~1.7GB

## 1.0.1 (Unreleased)
+ Add `argo app list` and `argo app show` commands
+ Add `argo job logs` for displaying and following job logs
- Fix issues preventing proper handling of input parameters and output artifacts with dynamic fixtures

## 1.0.0 (2017-07-23)
+ Initial release
23 changes: 23 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Code of Conduct

We welcome participation from individuals and groups of all backgrounds who want to benefit the broader open source community
through participation in this project. We are dedicated to ensuring a productive, safe and educational experience for all.

# Guidelines

Be welcoming
* Make it easy for new members to learn and contribute. Help them along the path. Don't make them jump through hoops.

Be considerate
* There is a live person at the other end of the Internet. Consider how your comments will affect them. It is often better to give a quick but useful reply than to delay to compose a more thorough reply.

Be respectful
* Not everyone is Linus Torvalds, and this is probably a good thing :) but everyone is deserving of respect and consideration for wanting to benefit the broader community. Criticize ideas but respect the person. Saying something positive before you criticize lets the other person know that your criticism is not personal.

Be patient
* We have diverse backgrounds. It will take time and effort to understand each others' points of view. Some of us have day jobs and other responsibilities and may take time to respond to requests.

# Relevant References
* https://www.djangoproject.com/conduct/
* http:https://contributor-covenant.org/version/1/4/code_of_conduct.md
* http:https://contributor-covenant.org/
27 changes: 27 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# How to contribute (Work in progress)

## How to report a bug

Open an issue at https://github.com/argoproj/
* What did you do? (how to reproduce)
* What did you see? (include logs and screenshots as appropriate)
* What did you expect?

## How to contribute a bug fix

Go to https://github.com/argoproj/
* Open an issue and discuss it.
* Create a pull request for your fix.

## How to suggest a new feature

Go to https://groups.google.com/forum/#!forum/argoproj
* Create a new topic to discuss your feature.

## How to setup your dev environment

xxx

## Most needed contributions

* TBD
34 changes: 34 additions & 0 deletions Dockerfile-builder
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
FROM debian:9.1

RUN apt-get update && apt-get install -y \
git \
make \
wget && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# Install go
ENV GO_VERSION 1.8.3
ENV GO_ARCH amd64
ENV GOPATH /root/go
ENV PATH ${GOPATH}/bin:/usr/local/go/bin:${PATH}
RUN wget https://storage.googleapis.com/golang/go${GO_VERSION}.linux-${GO_ARCH}.tar.gz && \
tar -C /usr/local/ -xf /go${GO_VERSION}.linux-${GO_ARCH}.tar.gz && \
rm /go${GO_VERSION}.linux-${GO_ARCH}.tar.gz && \
# A dummy directory is created under $GOPATH/src/dummy so we are able to use dep
# to install all the packages of our dep lock file
mkdir -p ${GOPATH}/src/dummy

# Install Go dependencies and some tooling
COPY Gopkg.toml ${GOPATH}/src/dummy
COPY Gopkg.lock ${GOPATH}/src/dummy
RUN go get -u github.com/golang/dep/cmd/dep && \
rm -rf ${GOPATH}/src/github.com && \
cd ${GOPATH}/src/dummy && \
dep ensure -vendor-only && \
mv vendor/* ${GOPATH}/src/ && \
rmdir vendor && \
go get -u -v gopkg.in/alecthomas/gometalinter.v1 && \
cd ${GOPATH}/bin && \
ln -s gometalinter.v1 gometalinter && \
gometalinter --install
5 changes: 5 additions & 0 deletions Dockerfile-workflow-controller
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM debian:9.1

COPY dist/workflow-controller /bin/

ENTRYPOINT [ "/bin/workflow-controller" ]
243 changes: 243 additions & 0 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions Gopkg.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
[[constraint]]
branch = "release-1.8"
name = "k8s.io/api"

[[constraint]]
branch = "release-1.8"
name = "k8s.io/apiextensions-apiserver"

[[constraint]]
branch = "release-1.8"
name = "k8s.io/apimachinery"

[[constraint]]
name = "k8s.io/client-go"
branch = "release-5.0"
13 changes: 13 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Copyright 2017 Applatix, Inc.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http:https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License..
Loading

0 comments on commit 3ed1dfe

Please sign in to comment.