diff --git a/.argo-ci/ci.yaml b/.argo-ci/ci.yaml index b92020b4cd02..5ee6ebc2c2de 100644 --- a/.argo-ci/ci.yaml +++ b/.argo-ci/ci.yaml @@ -9,7 +9,7 @@ spec: - name: revision value: master - name: repo - value: https://github.com/argoproj/argo.git + value: https://github.com/CyrusBiotechnology/argo.git templates: - name: argo-ci @@ -39,7 +39,7 @@ spec: - name: cmd artifacts: - name: code - path: /go/src/github.com/argoproj/argo + path: /go/src/github.com/CyrusBiotechnology/argo git: repo: "{{workflow.parameters.repo}}" revision: "{{workflow.parameters.revision}}" @@ -47,7 +47,7 @@ spec: image: argoproj/argo-ci-builder:latest command: [sh, -c] args: ["{{inputs.parameters.cmd}}"] - workingDir: /go/src/github.com/argoproj/argo + workingDir: /go/src/github.com/CyrusBiotechnology/argo - name: ci-dind inputs: @@ -55,7 +55,7 @@ spec: - name: cmd artifacts: - name: code - path: /go/src/github.com/argoproj/argo + path: /go/src/github.com/CyrusBiotechnology/argo git: repo: "{{workflow.parameters.repo}}" revision: "{{workflow.parameters.revision}}" @@ -63,7 +63,7 @@ spec: image: argoproj/argo-ci-builder:latest command: [sh, -c] args: ["until docker ps; do sleep 3; done && {{inputs.parameters.cmd}}"] - workingDir: /go/src/github.com/argoproj/argo + workingDir: /go/src/github.com/CyrusBiotechnology/argo env: - name: DOCKER_HOST value: 127.0.0.1 diff --git a/Branding Assets.md b/Branding Assets.md index ce86e89e7ee6..d2c2bcb09e7b 100644 --- a/Branding Assets.md +++ b/Branding Assets.md @@ -1,3 +1,3 @@ # Argo Branding Assets ## Logo -![Argo Logo](https://github.com/argoproj/argo/blob/master/argo-logo600.png "Argo Logo") +![Argo Logo](https://github.com/CyrusBiotechnology/argo/blob/master/argo-logo600.png "Argo Logo") diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 96f3d7ed5b35..07d5de4b9cba 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -29,8 +29,8 @@ Go to https://groups.google.com/forum/#!forum/argoproj ### Quickstart ``` -$ go get github.com/argoproj/argo -$ cd $(go env GOPATH)/src/github.com/argoproj/argo +$ go get github.com/CyrusBiotechnology/argo +$ cd $(go env GOPATH)/src/github.com/CyrusBiotechnology/argo $ dep ensure -vendor-only $ make ``` diff --git a/Gopkg.lock b/Gopkg.lock index c533e955a2bb..6b124fc64a6e 100644 --- a/Gopkg.lock +++ b/Gopkg.lock @@ -2,39 +2,38 @@ [[projects]] - digest = "1:8b95956b70e181b19025c7ba3578fdfd8efbec4ce916490700488afb9218972c" name = "cloud.google.com/go" - packages = ["compute/metadata"] - pruneopts = "" + packages = [ + "compute/metadata", + "iam", + "internal", + "internal/optional", + "internal/trace", + "internal/version", + "storage" + ] revision = "64a2037ec6be8a4b0c1d1f706ed35b428b989239" version = "v0.26.0" [[projects]] - digest = "1:b9660f5e3522b899d32b1f9bb98056203d6f76f673e1843eaa00869330103ba5" name = "github.com/Knetic/govaluate" packages = ["."] - pruneopts = "" revision = "9aa49832a739dcd78a5542ff189fb82c3e423116" [[projects]] - digest = "1:8e47871087b94913898333f37af26732faaab30cdb41571136cf7aec9921dae7" name = "github.com/PuerkitoBio/purell" packages = ["."] - pruneopts = "" revision = "0bcb03f4b4d0a9428594752bd2a3b9aa0a9d4bd4" version = "v1.1.0" [[projects]] branch = "master" - digest = "1:331a419049c2be691e5ba1d24342fc77c7e767a80c666a18fd8a9f7b82419c1c" name = "github.com/PuerkitoBio/urlesc" packages = ["."] - pruneopts = "" revision = "de5bf2ad457846296e2031421a34e2568e304e35" [[projects]] branch = "master" - digest = "1:0e8f4b1639b80be02aed21595cef2164bab203e660db4485c142e7cebf4f5e95" name = "github.com/argoproj/pkg" packages = [ "errors", @@ -46,59 +45,47 @@ "s3", "stats", "strftime", - "time", + "time" ] - pruneopts = "" revision = "1aa3e0c55668da17703adba5c534fff6930db589" [[projects]] branch = "master" - digest = "1:c0bec5f9b98d0bc872ff5e834fac186b807b656683bd29cb82fb207a1513fabb" name = "github.com/beorn7/perks" packages = ["quantile"] - pruneopts = "" revision = "3a771d992973f24aa725d07868b467d1ddfceafb" [[projects]] - digest = "1:56c130d885a4aacae1dd9c7b71cfe39912c7ebc1ff7d2b46083c8812996dc43b" name = "github.com/davecgh/go-spew" packages = ["spew"] - pruneopts = "" revision = "346938d642f2ec3594ed81d874461961cd0faa76" version = "v1.1.0" [[projects]] branch = "master" - digest = "1:6c48291ff15f3c3b263ed6f7356acea45da69e7fca8d0d76d2c021a075fbd52a" name = "github.com/docker/spdystream" packages = [ ".", - "spdy", + "spdy" ] - pruneopts = "" revision = "bc6354cbbc295e925e4c611ffe90c1f287ee54db" [[projects]] branch = "master" - digest = "1:f1a75a8e00244e5ea77ff274baa9559eb877437b240ee7b278f3fc560d9f08bf" name = "github.com/dustin/go-humanize" packages = ["."] - pruneopts = "" revision = "9f541cc9db5d55bce703bd99987c9d5cb8eea45e" [[projects]] - digest = "1:8a34d7a37b8f07239487752e14a5faafcbbc718fc385ad429a2c4ac6f27a207f" name = "github.com/emicklei/go-restful" packages = [ ".", - "log", + "log" ] - pruneopts = "" revision = "3eb9738c1697594ea6e71a7156a9bb32ed216cf0" version = "v2.8.0" [[projects]] - digest = "1:ba7c75e38d81b9cf3e8601c081567be3b71bccca8c11aee5de98871360aa4d7b" name = "github.com/emirpasic/gods" packages = [ "containers", @@ -106,97 +93,75 @@ "lists/arraylist", "trees", "trees/binaryheap", - "utils", + "utils" ] - pruneopts = "" revision = "f6c17b524822278a87e3b3bd809fec33b51f5b46" version = "v1.9.0" [[projects]] - digest = "1:dcefbadf4534c5ecac8573698fba6e6e601157bfa8f96aafe29df31ae582ef2a" name = "github.com/evanphx/json-patch" packages = ["."] - pruneopts = "" revision = "afac545df32f2287a079e2dfb7ba2745a643747e" version = "v3.0.0" [[projects]] - digest = "1:eb53021a8aa3f599d29c7102e65026242bdedce998a54837dc67f14b6a97c5fd" name = "github.com/fsnotify/fsnotify" packages = ["."] - pruneopts = "" revision = "c2828203cd70a50dcccfb2761f8b1f8ceef9a8e9" version = "v1.4.7" [[projects]] branch = "master" - digest = "1:ac2bf6881c6a96d07773dee3b9b2b369bc209c988505bd6cb283a8d549cb8699" name = "github.com/ghodss/yaml" packages = ["."] - pruneopts = "" revision = "c7ce16629ff4cd059ed96ed06419dd3856fd3577" [[projects]] - digest = "1:858b7fe7b0f4bc7ef9953926828f2816ea52d01a88d72d1c45bc8c108f23c356" name = "github.com/go-ini/ini" packages = ["."] - pruneopts = "" revision = "358ee7663966325963d4e8b2e1fbd570c5195153" version = "v1.38.1" [[projects]] - digest = "1:e116a4866bffeec941056a1fcfd37e520fad1ee60e4e3579719f19a43c392e10" name = "github.com/go-openapi/jsonpointer" packages = ["."] - pruneopts = "" revision = "3a0015ad55fa9873f41605d3e8f28cd279c32ab2" version = "0.15.0" [[projects]] - digest = "1:3830527ef0f4f9b268d9286661c0f52f9115f8aefd9f45ee7352516f93489ac9" name = "github.com/go-openapi/jsonreference" packages = ["."] - pruneopts = "" revision = "3fb327e6747da3043567ee86abd02bb6376b6be2" version = "0.15.0" [[projects]] - digest = "1:6caee195f5da296689270037c5a25c0bc3cc6e54ae5a356e395aa8946356dbc9" name = "github.com/go-openapi/spec" packages = ["."] - pruneopts = "" revision = "bce47c9386f9ecd6b86f450478a80103c3fe1402" version = "0.15.0" [[projects]] - digest = "1:22da48dbccb0539f511efbbbdeba68081866892234e57a9d7c7f9848168ae30c" name = "github.com/go-openapi/swag" packages = ["."] - pruneopts = "" revision = "2b0bd4f193d011c203529df626a65d63cb8a79e8" version = "0.15.0" [[projects]] - digest = "1:6e73003ecd35f4487a5e88270d3ca0a81bc80dc88053ac7e4dcfec5fba30d918" name = "github.com/gogo/protobuf" packages = [ "proto", - "sortkeys", + "sortkeys" ] - pruneopts = "" revision = "636bf0302bc95575d69441b25a2603156ffdddf1" version = "v1.1.1" [[projects]] branch = "master" - digest = "1:107b233e45174dbab5b1324201d092ea9448e58243ab9f039e4c0f332e121e3a" name = "github.com/golang/glog" packages = ["."] - pruneopts = "" revision = "23def4e6c14b4da8ac2ed8007337bc5eb5007998" [[projects]] - digest = "1:f958a1c137db276e52f0b50efee41a1a389dcdded59a69711f3e872757dab34b" name = "github.com/golang/protobuf" packages = [ "proto", @@ -204,18 +169,15 @@ "ptypes", "ptypes/any", "ptypes/duration", - "ptypes/timestamp", + "ptypes/timestamp" ] - pruneopts = "" revision = "b4deda0973fb4c70b50d226b1af49f3da59f5265" version = "v1.1.0" [[projects]] branch = "master" - digest = "1:754f77e9c839b24778a4b64422236d38515301d2baeb63113aa3edc42e6af692" name = "github.com/google/gofuzz" packages = ["."] - pruneopts = "" revision = "24818f796faf91cd76ec7bddd72458fbced7a6c1" [[projects]] @@ -225,106 +187,83 @@ version = "v2.0.0" [[projects]] - digest = "1:16b2837c8b3cf045fa2cdc82af0cf78b19582701394484ae76b2c3bc3c99ad73" name = "github.com/googleapis/gnostic" packages = [ "OpenAPIv2", "compiler", - "extensions", + "extensions" ] - pruneopts = "" revision = "7c663266750e7d82587642f65e60bc4083f1f84e" version = "v0.2.0" [[projects]] - digest = "1:64d212c703a2b94054be0ce470303286b177ad260b2f89a307e3d1bb6c073ef6" name = "github.com/gorilla/websocket" packages = ["."] - pruneopts = "" revision = "ea4d1f681babbce9545c9c5f3d5194a789c89f5b" version = "v1.2.0" [[projects]] branch = "master" - digest = "1:9c776d7d9c54b7ed89f119e449983c3f24c0023e75001d6092442412ebca6b94" name = "github.com/hashicorp/golang-lru" packages = [ ".", - "simplelru", + "simplelru" ] - pruneopts = "" revision = "0fb14efe8c47ae851c0034ed7a448854d3d34cf3" [[projects]] branch = "master" - digest = "1:f81c8d7354cc0c6340f2f7a48724ee6c2b3db3e918ecd441c985b4d2d97dd3e7" name = "github.com/howeyc/gopass" packages = ["."] - pruneopts = "" revision = "bf9dde6d0d2c004a008c27aaee91170c786f6db8" [[projects]] - digest = "1:7ab38c15bd21e056e3115c8b526d201eaf74e0308da9370997c6b3c187115d36" name = "github.com/imdario/mergo" packages = ["."] - pruneopts = "" revision = "9f23e2d6bd2a77f959b2bf6acdbefd708a83a4a4" version = "v0.3.6" [[projects]] - digest = "1:870d441fe217b8e689d7949fef6e43efbc787e50f200cb1e70dbca9204a1d6be" name = "github.com/inconshreveable/mousetrap" packages = ["."] - pruneopts = "" revision = "76626ae9c91c4f2a10f34cad8ce83ea42c93bb75" version = "v1.0" [[projects]] branch = "master" - digest = "1:95abc4eba158a39873bd4fabdee576d0ae13826b550f8b710881d80ae4093a0f" name = "github.com/jbenet/go-context" packages = ["io"] - pruneopts = "" revision = "d14ea06fba99483203c19d92cfcd13ebe73135f4" [[projects]] - digest = "1:b79fc583e4dc7055ed86742e22164ac41bf8c0940722dbcb600f1a3ace1a8cb5" name = "github.com/json-iterator/go" packages = ["."] - pruneopts = "" revision = "1624edc4454b8682399def8740d46db5e4362ba4" version = "1.1.5" [[projects]] - digest = "1:7fe04787f53bb61c1ba9c659b1a90ee3da16b4d6a1c41566bcb5077efbd30f97" name = "github.com/kevinburke/ssh_config" packages = ["."] - pruneopts = "" revision = "9fc7bb800b555d63157c65a904c86a2cc7b4e795" version = "0.4" [[projects]] branch = "master" - digest = "1:e977ed7b0619844e394c4e725d008ade0840f1882c500a66e797b98bde70cf87" name = "github.com/mailru/easyjson" packages = [ "buffer", "jlexer", - "jwriter", + "jwriter" ] - pruneopts = "" revision = "03f2033d19d5860aef995fe360ac7d395cd8ce65" [[projects]] - digest = "1:63722a4b1e1717be7b98fc686e0b30d5e7f734b9e93d7dee86293b6deab7ea28" name = "github.com/matttproud/golang_protobuf_extensions" packages = ["pbutil"] - pruneopts = "" revision = "c12348ce28de40eed0136aa2b644d0ee0650e56c" version = "v1.0.1" [[projects]] - digest = "1:619ff8becfc8080f2cc4532ea21437e804038e0431c88e171c381fde96eb06ae" name = "github.com/minio/minio-go" packages = [ ".", @@ -332,207 +271,162 @@ "pkg/encrypt", "pkg/s3signer", "pkg/s3utils", - "pkg/set", + "pkg/set" ] - pruneopts = "" revision = "70799fe8dae6ecfb6c7d7e9e048fce27f23a1992" version = "v6.0.5" [[projects]] branch = "master" - digest = "1:83854f6b1d2ce047b69657e3a87ba7602f4c5505e8bdfd02ab857db8e983bde1" name = "github.com/mitchellh/go-homedir" packages = ["."] - pruneopts = "" revision = "58046073cbffe2f25d425fe1331102f55cf719de" [[projects]] - digest = "1:0c0ff2a89c1bb0d01887e1dac043ad7efbf3ec77482ef058ac423d13497e16fd" name = "github.com/modern-go/concurrent" packages = ["."] - pruneopts = "" revision = "bacd9c7ef1dd9b15be4a9909b8ac7a4e313eec94" version = "1.0.3" [[projects]] - digest = "1:e32bdbdb7c377a07a9a46378290059822efdce5c8d96fe71940d87cb4f918855" name = "github.com/modern-go/reflect2" packages = ["."] - pruneopts = "" revision = "4b7aa43c6742a2c18fdef89dd197aaae7dac7ccd" version = "1.0.1" [[projects]] - digest = "1:049b5bee78dfdc9628ee0e557219c41f683e5b06c5a5f20eaba0105ccc586689" name = "github.com/pelletier/go-buffruneio" packages = ["."] - pruneopts = "" revision = "c37440a7cf42ac63b919c752ca73a85067e05992" version = "v0.2.0" [[projects]] - digest = "1:7365acd48986e205ccb8652cc746f09c8b7876030d53710ea6ef7d0bd0dcd7ca" name = "github.com/pkg/errors" packages = ["."] - pruneopts = "" revision = "645ef00459ed84a119197bfb8d8205042c6df63d" version = "v0.8.0" [[projects]] - digest = "1:256484dbbcd271f9ecebc6795b2df8cad4c458dd0f5fd82a8c2fa0c29f233411" name = "github.com/pmezard/go-difflib" packages = ["difflib"] - pruneopts = "" revision = "792786c7400a136282c1664665ae0a8db921c6c2" version = "v1.0.0" [[projects]] - digest = "1:4142d94383572e74b42352273652c62afec5b23f325222ed09198f46009022d1" name = "github.com/prometheus/client_golang" packages = [ "prometheus", - "prometheus/promhttp", + "prometheus/promhttp" ] - pruneopts = "" revision = "c5b7fccd204277076155f10851dad72b76a49317" version = "v0.8.0" [[projects]] branch = "master" - digest = "1:185cf55b1f44a1bf243558901c3f06efa5c64ba62cfdcbb1bf7bbe8c3fb68561" name = "github.com/prometheus/client_model" packages = ["go"] - pruneopts = "" revision = "5c3871d89910bfb32f5fcab2aa4b9ec68e65a99f" [[projects]] branch = "master" - digest = "1:f477ef7b65d94fb17574fc6548cef0c99a69c1634ea3b6da248b63a61ebe0498" name = "github.com/prometheus/common" packages = [ "expfmt", "internal/bitbucket.org/ww/goautoneg", - "model", + "model" ] - pruneopts = "" revision = "c7de2306084e37d54b8be01f3541a8464345e9a5" [[projects]] branch = "master" - digest = "1:e04aaa0e8f8da0ed3d6c0700bd77eda52a47f38510063209d72d62f0ef807d5e" name = "github.com/prometheus/procfs" packages = [ ".", "internal/util", "nfs", - "xfs", + "xfs" ] - pruneopts = "" revision = "05ee40e3a273f7245e8777337fc7b46e533a9a92" [[projects]] - digest = "1:3962f553b77bf6c03fc07cd687a22dd3b00fe11aa14d31194f5505f5bb65cdc8" name = "github.com/sergi/go-diff" packages = ["diffmatchpatch"] - pruneopts = "" revision = "1744e2970ca51c86172c8190fadad617561ed6e7" version = "v1.0.0" [[projects]] - digest = "1:3fcbf733a8d810a21265a7f2fe08a3353db2407da052b233f8b204b5afc03d9b" name = "github.com/sirupsen/logrus" packages = ["."] - pruneopts = "" revision = "3e01752db0189b9157070a0e1668a620f9a85da2" version = "v1.0.6" [[projects]] branch = "master" - digest = "1:c8f6919ab9f140506fd4ad3f4a9c9c2af9ee7921e190af0c67b2fca2f903083c" name = "github.com/spf13/cobra" packages = ["."] - pruneopts = "" revision = "7c4570c3ebeb8129a1f7456d0908a8b676b6f9f1" [[projects]] - digest = "1:8e243c568f36b09031ec18dff5f7d2769dcf5ca4d624ea511c8e3197dc3d352d" name = "github.com/spf13/pflag" packages = ["."] - pruneopts = "" revision = "583c0c0531f06d5278b7d917446061adc344b5cd" version = "v1.0.1" [[projects]] - digest = "1:b1861b9a1aa0801b0b62945ed7477c1ab61a4bd03b55dfbc27f6d4f378110c8c" name = "github.com/src-d/gcfg" packages = [ ".", "scanner", "token", - "types", + "types" ] - pruneopts = "" revision = "f187355171c936ac84a82793659ebb4936bc1c23" version = "v1.3.0" [[projects]] - digest = "1:711eebe744c0151a9d09af2315f0bb729b2ec7637ef4c410fa90a18ef74b65b6" name = "github.com/stretchr/objx" packages = ["."] - pruneopts = "" revision = "477a77ecc69700c7cdeb1fa9e129548e1c1c393c" version = "v0.1.1" [[projects]] - digest = "1:c587772fb8ad29ad4db67575dad25ba17a51f072ff18a22b4f0257a4d9c24f75" name = "github.com/stretchr/testify" packages = [ "assert", "mock", "require", - "suite", + "suite" ] - pruneopts = "" revision = "f35b8ab0b5a2cef36673838d662e249dd9c94686" version = "v1.2.2" [[projects]] - digest = "1:3ddca2bd5496c6922a2a9e636530e178a43c2a534ea6634211acdc7d10222794" name = "github.com/tidwall/gjson" packages = ["."] - pruneopts = "" revision = "1e3f6aeaa5bad08d777ea7807b279a07885dd8b2" version = "v1.1.3" [[projects]] branch = "master" - digest = "1:4db4f92bb9cb04cfc4fccb36aba2598b02a988008c4cc0692b241214ad8ac96e" name = "github.com/tidwall/match" packages = ["."] - pruneopts = "" revision = "1731857f09b1f38450e2c12409748407822dc6be" [[projects]] branch = "master" - digest = "1:857a9ecd5cb13379ecc8f798f6e6b6b574c98b9355657d91e068275f1120aaf7" name = "github.com/valyala/bytebufferpool" packages = ["."] - pruneopts = "" revision = "e746df99fe4a3986f4d4f79e13c1e0117ce9c2f7" [[projects]] branch = "master" - digest = "1:bf6f8915c0338e875383cb7fdebd58a4d360a232f461d9a029d7ccb12f90c5d7" name = "github.com/valyala/fasttemplate" packages = ["."] - pruneopts = "" revision = "dcecefd839c4193db0d35b88ec65b4c12d360ab0" [[projects]] - digest = "1:afc0b8068986a01e2d8f449917829753a54f6bd4d1265c2b4ad9cba75560020f" name = "github.com/xanzy/ssh-agent" packages = ["."] - pruneopts = "" revision = "640f0ab560aeb89d523bb6ac322b1244d5c3796c" version = "v0.2.0" @@ -558,7 +452,6 @@ [[projects]] branch = "master" - digest = "1:53c4b75f22ea7757dea07eae380ea42de547ae6865a5e3b41866754a8a8219c9" name = "golang.org/x/crypto" packages = [ "argon2", @@ -579,14 +472,12 @@ "ssh", "ssh/agent", "ssh/knownhosts", - "ssh/terminal", + "ssh/terminal" ] - pruneopts = "" revision = "f027049dab0ad238e394a753dba2d14753473a04" [[projects]] branch = "master" - digest = "1:67c2d940f2d5c017ef88e9847709dca9b38d5fe82f1e33fb42ace515219f22f1" name = "golang.org/x/net" packages = [ "context", @@ -596,40 +487,33 @@ "http2/hpack", "idna", "internal/timeseries", - "lex/httplex", "trace" ] - pruneopts = "" revision = "f9ce57c11b242f0f1599cf25c89d8cb02c45295a" [[projects]] branch = "master" - digest = "1:a8172cf4304ef01f0c7dd634c331880247d10f9e28b041821f2321a8e4bb3b7c" name = "golang.org/x/oauth2" packages = [ ".", "google", "internal", "jws", - "jwt", + "jwt" ] - pruneopts = "" revision = "3d292e4d0cdc3a0113e6d207bb137145ef1de42f" [[projects]] branch = "master" - digest = "1:6d9c86494d97c7fc8bbab029c17fc0ce9dc517aaae92a25d790d01b0e8732832" name = "golang.org/x/sys" packages = [ "cpu", "unix", - "windows", + "windows" ] - pruneopts = "" revision = "904bdc257025c7b3f43c19360ad3ab85783fad78" [[projects]] - digest = "1:5acd3512b047305d49e8763eef7ba423901e85d5dd2fd1e71778a0ea8de10bd4" name = "golang.org/x/text" packages = [ "collate", @@ -646,30 +530,25 @@ "unicode/cldr", "unicode/norm", "unicode/rangetable", - "width", + "width" ] - pruneopts = "" revision = "f21a4dfb5e38f5895301dc265a8def02365cc3d0" version = "v0.3.0" [[projects]] branch = "master" - digest = "1:55a681cb66f28755765fa5fa5104cbd8dc85c55c02d206f9f89566451e3fe1aa" name = "golang.org/x/time" packages = ["rate"] - pruneopts = "" revision = "fbb02b2291d28baffd63558aa44b4b56f178d650" [[projects]] branch = "master" - digest = "1:c73b8c7b4bfb2e69de55a3549d6a8089d7757899cc5b62ff1c180bd76e9ee7f6" name = "golang.org/x/tools" packages = [ "go/ast/astutil", "imports", - "internal/fastwalk", + "internal/fastwalk" ] - pruneopts = "" revision = "ca6481ae56504398949d597084558e50ad07117a" [[projects]] @@ -690,7 +569,6 @@ revision = "44c6748ece026e0fe668793d8f92e521356400a3" [[projects]] - digest = "1:c1771ca6060335f9768dff6558108bc5ef6c58506821ad43377ee23ff059e472" name = "google.golang.org/appengine" packages = [ ".", @@ -702,9 +580,8 @@ "internal/modules", "internal/remote_api", "internal/urlfetch", - "urlfetch", + "urlfetch" ] - pruneopts = "" revision = "b1f26356af11148e710935ed1ac8a7f5702c7612" version = "v1.1.0" @@ -714,6 +591,7 @@ packages = [ "googleapis/api/annotations", "googleapis/iam/v1", + "googleapis/rpc/code", "googleapis/rpc/status" ] revision = "0e822944c569bf5c9afd034adaa56208bd2906ac" @@ -752,29 +630,24 @@ version = "v1.15.0" [[projects]] - digest = "1:75fb3fcfc73a8c723efde7777b40e8e8ff9babf30d8c56160d01beffea8a95a6" name = "gopkg.in/inf.v0" packages = ["."] - pruneopts = "" revision = "d2d2541c53f18d2a059457998ce2876cc8e67cbf" version = "v0.9.1" [[projects]] - digest = "1:6715e0bec216255ab784fe04aa4d5a0a626ae07a3a209080182e469bc142761a" name = "gopkg.in/src-d/go-billy.v4" packages = [ ".", "helper/chroot", "helper/polyfill", "osfs", - "util", + "util" ] - pruneopts = "" revision = "83cf655d40b15b427014d7875d10850f96edba14" version = "v4.2.0" [[projects]] - digest = "1:d014bc54441ee96e8306ea6a767264864d2fd0898962a9dee152e992b2e672da" name = "gopkg.in/src-d/go-git.v4" packages = [ ".", @@ -816,31 +689,25 @@ "utils/merkletrie/filesystem", "utils/merkletrie/index", "utils/merkletrie/internal/frame", - "utils/merkletrie/noder", + "utils/merkletrie/noder" ] - pruneopts = "" revision = "3bd5e82b2512d85becae9677fa06b5a973fd4cfb" version = "v4.5.0" [[projects]] - digest = "1:ceec7e96590fb8168f36df4795fefe17051d4b0c2acc7ec4e260d8138c4dafac" name = "gopkg.in/warnings.v0" packages = ["."] - pruneopts = "" revision = "ec4a0fea49c7b46c2aeb0b51aac55779c607e52b" version = "v0.1.2" [[projects]] - digest = "1:f0620375dd1f6251d9973b5f2596228cc8042e887cd7f827e4220bc1ce8c30e2" name = "gopkg.in/yaml.v2" packages = ["."] - pruneopts = "" revision = "5420a8b6744d3b0345ab293f6fcba19c978f1183" version = "v2.2.1" [[projects]] branch = "release-1.10" - digest = "1:e164e2b731f3e3eaf63220865e6271d27eb7b3e50e2e0b8ff2d6d1cd7a618fc3" name = "k8s.io/api" packages = [ "admissionregistration/v1alpha1", @@ -870,14 +737,12 @@ "settings/v1alpha1", "storage/v1", "storage/v1alpha1", - "storage/v1beta1", + "storage/v1beta1" ] - pruneopts = "" revision = "0f11257a8a25954878633ebdc9841c67d8f83bdb" [[projects]] branch = "release-1.10" - digest = "1:33bcc98ed218289d68aeac0799649844075ee7a2fb1e686040b605b5b5a1523c" name = "k8s.io/apimachinery" packages = [ "pkg/api/errors", @@ -921,14 +786,12 @@ "pkg/version", "pkg/watch", "third_party/forked/golang/netutil", - "third_party/forked/golang/reflect", + "third_party/forked/golang/reflect" ] - pruneopts = "" revision = "e386b2658ed20923da8cc9250e552f082899a1ee" [[projects]] branch = "release-7.0" - digest = "1:e36c8f7f67a233f593e07faa6ccdedbef3de5675f15d139d2069a8cd57e0ac44" name = "k8s.io/client-go" packages = [ "discovery", @@ -1024,14 +887,12 @@ "util/integer", "util/jsonpath", "util/retry", - "util/workqueue", + "util/workqueue" ] - pruneopts = "" revision = "a312bfe35c401f70e5ea0add48b50da283031dc3" [[projects]] branch = "release-1.10" - digest = "1:34b0b3400ffdc2533ed4ea23721956638c2776ba49ca4c5def71dddcf0cdfd9b" name = "k8s.io/code-generator" packages = [ "cmd/client-gen", @@ -1050,14 +911,12 @@ "cmd/lister-gen", "cmd/lister-gen/args", "cmd/lister-gen/generators", - "pkg/util", + "pkg/util" ] - pruneopts = "" revision = "9de8e796a74d16d2a285165727d04c185ebca6dc" [[projects]] branch = "master" - digest = "1:74eb4556b4379d0d76a3a5ada504ff6c5ef76cd85cbf1347cb649e4c1cc8ca9e" name = "k8s.io/gengo" packages = [ "args", @@ -1066,92 +925,19 @@ "generator", "namer", "parser", - "types", + "types" ] - pruneopts = "" revision = "c42f3cdacc394f43077ff17e327d1b351c0304e4" [[projects]] branch = "master" - digest = "1:951bc2047eea6d316a17850244274554f26fd59189360e45f4056b424dadf2c1" name = "k8s.io/kube-openapi" packages = ["pkg/common"] - pruneopts = "" revision = "e3762e86a74c878ffed47484592986685639c2cd" [solve-meta] analyzer-name = "dep" analyzer-version = 1 - input-imports = [ - "github.com/Knetic/govaluate", - "github.com/argoproj/pkg/errors", - "github.com/argoproj/pkg/file", - "github.com/argoproj/pkg/humanize", - "github.com/argoproj/pkg/json", - "github.com/argoproj/pkg/kube/cli", - "github.com/argoproj/pkg/kube/errors", - "github.com/argoproj/pkg/s3", - "github.com/argoproj/pkg/stats", - "github.com/argoproj/pkg/strftime", - "github.com/argoproj/pkg/time", - "github.com/evanphx/json-patch", - "github.com/fsnotify/fsnotify", - "github.com/ghodss/yaml", - "github.com/go-openapi/spec", - "github.com/golang/glog", - "github.com/gorilla/websocket", - "github.com/pkg/errors", - "github.com/prometheus/client_golang/prometheus", - "github.com/prometheus/client_golang/prometheus/promhttp", - "github.com/sirupsen/logrus", - "github.com/spf13/cobra", - "github.com/stretchr/testify/assert", - "github.com/stretchr/testify/mock", - "github.com/stretchr/testify/suite", - "github.com/tidwall/gjson", - "github.com/valyala/fasttemplate", - "golang.org/x/crypto/ssh", - "gopkg.in/src-d/go-git.v4", - "gopkg.in/src-d/go-git.v4/plumbing/transport", - "gopkg.in/src-d/go-git.v4/plumbing/transport/http", - "gopkg.in/src-d/go-git.v4/plumbing/transport/ssh", - "k8s.io/api/core/v1", - "k8s.io/apimachinery/pkg/api/errors", - "k8s.io/apimachinery/pkg/api/resource", - "k8s.io/apimachinery/pkg/apis/meta/v1", - "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured", - "k8s.io/apimachinery/pkg/fields", - "k8s.io/apimachinery/pkg/labels", - "k8s.io/apimachinery/pkg/runtime", - "k8s.io/apimachinery/pkg/runtime/schema", - "k8s.io/apimachinery/pkg/runtime/serializer", - "k8s.io/apimachinery/pkg/selection", - "k8s.io/apimachinery/pkg/types", - "k8s.io/apimachinery/pkg/util/clock", - "k8s.io/apimachinery/pkg/util/runtime", - "k8s.io/apimachinery/pkg/util/validation", - "k8s.io/apimachinery/pkg/util/wait", - "k8s.io/apimachinery/pkg/watch", - "k8s.io/client-go/discovery", - "k8s.io/client-go/discovery/fake", - "k8s.io/client-go/dynamic", - "k8s.io/client-go/informers/internalinterfaces", - "k8s.io/client-go/kubernetes", - "k8s.io/client-go/kubernetes/fake", - "k8s.io/client-go/plugin/pkg/client/auth/gcp", - "k8s.io/client-go/plugin/pkg/client/auth/oidc", - "k8s.io/client-go/rest", - "k8s.io/client-go/testing", - "k8s.io/client-go/tools/cache", - "k8s.io/client-go/tools/clientcmd", - "k8s.io/client-go/tools/remotecommand", - "k8s.io/client-go/util/flowcontrol", - "k8s.io/client-go/util/workqueue", - "k8s.io/code-generator/cmd/client-gen", - "k8s.io/code-generator/cmd/deepcopy-gen", - "k8s.io/code-generator/cmd/informer-gen", - "k8s.io/code-generator/cmd/lister-gen", - "k8s.io/kube-openapi/pkg/common", - ] + inputs-digest = "aa791f727ca547798fb61f90a8c3800c55674ecf2daf0d1818e82a7ed0db9d71" solver-name = "gps-cdcl" solver-version = 1 diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 000000000000..ad217c011a74 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1,107 @@ +#!groovy + +def GIT_BRANCH = '' +def IMAGE_REF = '' +def IMAGE_TAG = '' +def NOTIFIER_IMAGE = 'argo-rest-notifier' +def VERSION = '' +def NAMESPACE = '' + +def runUtilityCommand(buildCommand) { + // Run an arbitrary command inside the docker builder image + sh "docker run --rm " + + "-v ${pwd()}/dist/pkg:/root/go/pkg " + + "-v ${pwd()}:/root/go/src/github.com/CyrusBiotechnology/argo " + + "-w /root/go/src/github.com/CyrusBiotechnology/argo argo-builder ${buildCommand}" +} + +pipeline { + agent any + stages { + stage('Checkout') { + steps { + checkout scm + sh 'git submodule update --init --recursive' + sh 'git rev-parse HEAD > git-sha.txt' + script { + GIT_COMMIT = readFile 'git-sha.txt' + GIT_SHA = git.getCommit() + IMAGE_REF=docker2.imageRef() + IMAGE_TAG=IMAGE_REF.split(':').last() + GIT_BRANCH = env.BRANCH_NAME.replace('/', '').replace('_', '').replace('-', '') + + def baseVersionTag = readFile "VERSION" + baseVersionTag = baseVersionTag.trim(); + VERSION = "${baseVersionTag}-cyrus-${GIT_BRANCH}" + + println "Version tag for this build is ${VERSION}" + } + } + } + + stage('build utility container') { + steps { + sh "docker build -t argo-builder -f Dockerfile-builder ." + } + } + + stage('run tests') { + steps { + runUtilityCommand("go test ./...") + } + } + + stage('build controller') { + steps { + runUtilityCommand("make controller") + sh "docker build -t workflow-controller:${VERSION} -f Dockerfile-workflow-controller ." + } + } + + stage('build executor') { + steps { + runUtilityCommand("make executor") + sh "docker build -t argoexec:${VERSION} -f Dockerfile-argoexec ." + } + } + + stage('build Linux and MacOS CLIs') { + steps { + runUtilityCommand("make cli CGO_ENABLED=0 LDFLAGS='-extldflags \"-static\"' ARGO_CLI_NAME=argo-linux-amd64") + runUtilityCommand("make cli CGO_ENABLED=0 LDFLAGS='-extldflags \"-static\"' ARGO_CLI_NAME=argo-darwin-amd64") + } + } + + stage('push containers to GCR') { + + steps { + script { docker2.push("workflow-controller:${VERSION}", ["workflow-controller:${VERSION}"]) } + script { docker2.push("argoexec:${VERSION}", ["argoexec:${VERSION}"]) } + + } + + } + + stage('push CLI to artifactory') { + steps { + withCredentials([usernamePassword(credentialsId: 'Artifactory', usernameVariable: 'ARTI_NAME', passwordVariable: 'ARTI_PASS')]) { + runUtilityCommand("curl -u ${ARTI_NAME}:${ARTI_PASS} -T /root/go/src/github.com/CyrusBiotechnology/argo/dist/argo-darwin-amd64 https://cyrusbio.jfrog.io/cyrusbio/argo-cli/argo-mac-${VERSION}") + runUtilityCommand("curl -u ${ARTI_NAME}:${ARTI_PASS} -T /root/go/src/github.com/CyrusBiotechnology/argo/dist/argo-linux-amd64 https://cyrusbio.jfrog.io/cyrusbio/argo-cli/argo-linux-${VERSION}") + } + } + } + + stage('Deploy') { + steps { + script { + if (GIT_BRANCH in ['rc', 'release', 'master_engineering']) { + NAMESPACE = k8s.getNamespaceFromBranch(GIT_BRANCH) ?: 'development' + k8s.updateImageTag(NAMESPACE, VERSION, 'gcr.io/cyrus-containers/argoexec', GIT_BRANCH) + k8s.updateImageTag(NAMESPACE, VERSION, 'gcr.io/cyrus-containers/workflow-controller', GIT_BRANCH) + } + } + } + } + + } + } \ No newline at end of file diff --git a/Makefile b/Makefile index 73d2fa25338b..e1d72ee4330b 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -PACKAGE=github.com/argoproj/argo +PACKAGE=github.com/CyrusBiotechnology/argo CURRENT_DIR=$(shell pwd) DIST_DIR=${CURRENT_DIR}/dist ARGO_CLI_NAME=argo diff --git a/README.md b/README.md index d1ad3ed82d70..e53b28a2e283 100644 --- a/README.md +++ b/README.md @@ -22,9 +22,9 @@ Argo is an open source container-native workflow engine for getting work done on * Argo with Kubernetes puts a cloud-scale supercomputer at your fingertips. ## Documentation -* [Get started here](https://github.com/argoproj/argo/blob/master/demo.md) -* [How to write Argo workflow specs](https://github.com/argoproj/argo/blob/master/examples/README.md) -* [How to configure your artifact repository](https://github.com/argoproj/argo/blob/master/ARTIFACT_REPO.md) +* [Get started here](https://github.com/CyrusBiotechnology/argo/blob/master/demo.md) +* [How to write Argo workflow specs](https://github.com/CyrusBiotechnology/argo/blob/master/examples/README.md) +* [How to configure your artifact repository](https://github.com/CyrusBiotechnology/argo/blob/master/ARTIFACT_REPO.md) ## Features * DAG or Steps based declaration of workflows diff --git a/VERSION b/VERSION index c043eea7767e..276cbf9e2858 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.2.1 +2.3.0 diff --git a/cmd/argo/commands/common.go b/cmd/argo/commands/common.go index 364eba970de6..67a8539082a5 100644 --- a/cmd/argo/commands/common.go +++ b/cmd/argo/commands/common.go @@ -7,9 +7,9 @@ import ( "strconv" "strings" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - wfclientset "github.com/argoproj/argo/pkg/client/clientset/versioned" - "github.com/argoproj/argo/pkg/client/clientset/versioned/typed/workflow/v1alpha1" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + wfclientset "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned" + "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned/typed/workflow/v1alpha1" "github.com/spf13/cobra" "k8s.io/client-go/kubernetes" "k8s.io/client-go/rest" diff --git a/cmd/argo/commands/delete.go b/cmd/argo/commands/delete.go index 69544d433c7e..d5707cac15bd 100644 --- a/cmd/argo/commands/delete.go +++ b/cmd/argo/commands/delete.go @@ -10,7 +10,7 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/argoproj/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/workflow/common" ) var ( diff --git a/cmd/argo/commands/get.go b/cmd/argo/commands/get.go index 58b80b2439e6..2fa309e38257 100644 --- a/cmd/argo/commands/get.go +++ b/cmd/argo/commands/get.go @@ -13,7 +13,7 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" ) const onExitSuffix = "onExit" diff --git a/cmd/argo/commands/lint.go b/cmd/argo/commands/lint.go index 1111411128ad..c62b03543129 100644 --- a/cmd/argo/commands/lint.go +++ b/cmd/argo/commands/lint.go @@ -7,8 +7,8 @@ import ( log "github.com/sirupsen/logrus" "github.com/spf13/cobra" - cmdutil "github.com/argoproj/argo/util/cmd" - "github.com/argoproj/argo/workflow/validate" + cmdutil "github.com/CyrusBiotechnology/argo/util/cmd" + "github.com/CyrusBiotechnology/argo/workflow/validate" ) func NewLintCommand() *cobra.Command { diff --git a/cmd/argo/commands/list.go b/cmd/argo/commands/list.go index 1fa2a92b9178..327a693c6907 100644 --- a/cmd/argo/commands/list.go +++ b/cmd/argo/commands/list.go @@ -17,10 +17,10 @@ import ( "k8s.io/apimachinery/pkg/labels" "k8s.io/apimachinery/pkg/selection" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/pkg/client/clientset/versioned/typed/workflow/v1alpha1" - "github.com/argoproj/argo/workflow/common" - "github.com/argoproj/argo/workflow/util" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned/typed/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/workflow/util" ) type listFlags struct { diff --git a/cmd/argo/commands/logs.go b/cmd/argo/commands/logs.go index e17be636efdb..773fe479d109 100644 --- a/cmd/argo/commands/logs.go +++ b/cmd/argo/commands/logs.go @@ -11,9 +11,9 @@ import ( "sync" "time" - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - wfclientset "github.com/argoproj/argo/pkg/client/clientset/versioned" - wfinformers "github.com/argoproj/argo/pkg/client/informers/externalversions" + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + wfclientset "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned" + wfinformers "github.com/CyrusBiotechnology/argo/pkg/client/informers/externalversions" "github.com/argoproj/pkg/errors" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" diff --git a/cmd/argo/commands/resubmit.go b/cmd/argo/commands/resubmit.go index 94437b0b61b3..7962ba8cdef0 100644 --- a/cmd/argo/commands/resubmit.go +++ b/cmd/argo/commands/resubmit.go @@ -3,7 +3,7 @@ package commands import ( "os" - "github.com/argoproj/argo/workflow/util" + "github.com/CyrusBiotechnology/argo/workflow/util" "github.com/argoproj/pkg/errors" "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/cmd/argo/commands/resume.go b/cmd/argo/commands/resume.go index fcfd84a4f5f7..081e86362fa4 100644 --- a/cmd/argo/commands/resume.go +++ b/cmd/argo/commands/resume.go @@ -5,7 +5,7 @@ import ( "log" "os" - "github.com/argoproj/argo/workflow/util" + "github.com/CyrusBiotechnology/argo/workflow/util" "github.com/spf13/cobra" ) diff --git a/cmd/argo/commands/retry.go b/cmd/argo/commands/retry.go index 43002427d9a2..6c5ce2214908 100644 --- a/cmd/argo/commands/retry.go +++ b/cmd/argo/commands/retry.go @@ -7,7 +7,7 @@ import ( "github.com/spf13/cobra" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/argoproj/argo/workflow/util" + "github.com/CyrusBiotechnology/argo/workflow/util" ) func NewRetryCommand() *cobra.Command { diff --git a/cmd/argo/commands/root.go b/cmd/argo/commands/root.go index 3d01d3200675..eb1f47527cb5 100644 --- a/cmd/argo/commands/root.go +++ b/cmd/argo/commands/root.go @@ -3,7 +3,7 @@ package commands import ( "os" - "github.com/argoproj/argo/util/cmd" + "github.com/CyrusBiotechnology/argo/util/cmd" "github.com/spf13/cobra" "k8s.io/client-go/tools/clientcmd" ) diff --git a/cmd/argo/commands/submit.go b/cmd/argo/commands/submit.go index 5a2f04fa87ad..e34233619936 100644 --- a/cmd/argo/commands/submit.go +++ b/cmd/argo/commands/submit.go @@ -10,10 +10,10 @@ import ( "github.com/argoproj/pkg/json" "github.com/spf13/cobra" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - cmdutil "github.com/argoproj/argo/util/cmd" - "github.com/argoproj/argo/workflow/common" - "github.com/argoproj/argo/workflow/util" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + cmdutil "github.com/CyrusBiotechnology/argo/util/cmd" + "github.com/CyrusBiotechnology/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/workflow/util" ) // cliSubmitOpts holds submition options specific to CLI submission (e.g. controlling output) diff --git a/cmd/argo/commands/suspend.go b/cmd/argo/commands/suspend.go index c63142fa404c..555ea68e552c 100644 --- a/cmd/argo/commands/suspend.go +++ b/cmd/argo/commands/suspend.go @@ -5,7 +5,7 @@ import ( "log" "os" - "github.com/argoproj/argo/workflow/util" + "github.com/CyrusBiotechnology/argo/workflow/util" "github.com/spf13/cobra" ) diff --git a/cmd/argo/commands/terminate.go b/cmd/argo/commands/terminate.go index c05c75f0187a..27f038a88b1e 100644 --- a/cmd/argo/commands/terminate.go +++ b/cmd/argo/commands/terminate.go @@ -7,7 +7,7 @@ import ( "github.com/argoproj/pkg/errors" "github.com/spf13/cobra" - "github.com/argoproj/argo/workflow/util" + "github.com/CyrusBiotechnology/argo/workflow/util" ) func NewTerminateCommand() *cobra.Command { diff --git a/cmd/argo/commands/wait.go b/cmd/argo/commands/wait.go index 5fba7decc90a..f1af913984ff 100644 --- a/cmd/argo/commands/wait.go +++ b/cmd/argo/commands/wait.go @@ -5,7 +5,7 @@ import ( "os" "sync" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" "github.com/argoproj/pkg/errors" "github.com/spf13/cobra" apierr "k8s.io/apimachinery/pkg/api/errors" diff --git a/cmd/argo/commands/watch.go b/cmd/argo/commands/watch.go index 133ee033a5ee..49dcab2188b0 100644 --- a/cmd/argo/commands/watch.go +++ b/cmd/argo/commands/watch.go @@ -10,7 +10,7 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/fields" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" ) func NewWatchCommand() *cobra.Command { diff --git a/cmd/argo/main.go b/cmd/argo/main.go index d799b6a42d14..5b37975f0aa7 100644 --- a/cmd/argo/main.go +++ b/cmd/argo/main.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/argoproj/argo/cmd/argo/commands" + "github.com/CyrusBiotechnology/argo/cmd/argo/commands" // load the gcp plugin (required to authenticate against GKE clusters). _ "k8s.io/client-go/plugin/pkg/client/auth/gcp" // load the oidc plugin (required to authenticate with OpenID Connect). diff --git a/cmd/argoexec/commands/resource.go b/cmd/argoexec/commands/resource.go index 240b72cb3664..3ac1f38f399d 100644 --- a/cmd/argoexec/commands/resource.go +++ b/cmd/argoexec/commands/resource.go @@ -3,7 +3,7 @@ package commands import ( "os" - "github.com/argoproj/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/workflow/common" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/cmd/argoexec/commands/root.go b/cmd/argoexec/commands/root.go index 344e7f1ca618..840221a05b5f 100644 --- a/cmd/argoexec/commands/root.go +++ b/cmd/argoexec/commands/root.go @@ -10,12 +10,12 @@ import ( "k8s.io/client-go/kubernetes" "k8s.io/client-go/tools/clientcmd" - "github.com/argoproj/argo" - "github.com/argoproj/argo/util/cmd" - "github.com/argoproj/argo/workflow/common" - "github.com/argoproj/argo/workflow/executor" - "github.com/argoproj/argo/workflow/executor/docker" - "github.com/argoproj/argo/workflow/executor/kubelet" + "github.com/CyrusBiotechnology/argo" + "github.com/CyrusBiotechnology/argo/util/cmd" + "github.com/CyrusBiotechnology/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/workflow/executor" + "github.com/CyrusBiotechnology/argo/workflow/executor/docker" + "github.com/CyrusBiotechnology/argo/workflow/executor/kubelet" ) const ( diff --git a/cmd/argoexec/main.go b/cmd/argoexec/main.go index dbebde6e829f..7b5a9833dcac 100644 --- a/cmd/argoexec/main.go +++ b/cmd/argoexec/main.go @@ -4,7 +4,7 @@ import ( "fmt" "os" - "github.com/argoproj/argo/cmd/argoexec/commands" + "github.com/CyrusBiotechnology/argo/cmd/argoexec/commands" // load the gcp plugin (required to authenticate against GKE clusters). _ "k8s.io/client-go/plugin/pkg/client/auth/gcp" // load the oidc plugin (required to authenticate with OpenID Connect). diff --git a/cmd/workflow-controller/main.go b/cmd/workflow-controller/main.go index a43c1cf2866e..7737e2b6dc4e 100644 --- a/cmd/workflow-controller/main.go +++ b/cmd/workflow-controller/main.go @@ -16,9 +16,9 @@ import ( _ "k8s.io/client-go/plugin/pkg/client/auth/oidc" "k8s.io/client-go/tools/clientcmd" - wfclientset "github.com/argoproj/argo/pkg/client/clientset/versioned" - cmdutil "github.com/argoproj/argo/util/cmd" - "github.com/argoproj/argo/workflow/controller" + wfclientset "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned" + cmdutil "github.com/CyrusBiotechnology/argo/util/cmd" + "github.com/CyrusBiotechnology/argo/workflow/controller" ) const ( @@ -31,6 +31,7 @@ func NewRootCommand() *cobra.Command { var ( clientConfig clientcmd.ClientConfig configMap string // --configmap + configFile string // --config-file executorImage string // --executor-image executorImagePullPolicy string // --executor-image-pull-policy logLevel string // --loglevel @@ -57,6 +58,7 @@ func NewRootCommand() *cobra.Command { if err != nil { return err } + config.Burst = 30 config.QPS = 20.0 @@ -69,7 +71,7 @@ func NewRootCommand() *cobra.Command { wflientset := wfclientset.NewForConfigOrDie(config) // start a controller on instances of our custom resource - wfController := controller.NewWorkflowController(config, kubeclientset, wflientset, namespace, executorImage, executorImagePullPolicy, configMap) + wfController := controller.NewWorkflowController(config, kubeclientset, wflientset, namespace, executorImage, executorImagePullPolicy, configMap, configFile) err = wfController.ResyncConfig() if err != nil { return err @@ -91,6 +93,7 @@ func NewRootCommand() *cobra.Command { clientConfig = cli.AddKubectlFlagsToCmd(&command) command.AddCommand(cmdutil.NewVersionCmd(CLIName)) command.Flags().StringVar(&configMap, "configmap", "workflow-controller-configmap", "Name of K8s configmap to retrieve workflow controller configuration") + command.Flags().StringVar(&configFile, "config-file", "", "Path to a yaml config file. Cannot be specified at the same time as --configmap") command.Flags().StringVar(&executorImage, "executor-image", "", "Executor image to use (overrides value in configmap)") command.Flags().StringVar(&executorImagePullPolicy, "executor-image-pull-policy", "", "Executor imagePullPolicy to use (overrides value in configmap)") command.Flags().StringVar(&logLevel, "loglevel", "info", "Set the logging level. One of: debug|info|warn|error") diff --git a/community/README.md b/community/README.md index 49983f21548f..048abf643117 100644 --- a/community/README.md +++ b/community/README.md @@ -42,8 +42,8 @@ manner. ## Contributing to Argo -Read and abide by the [Argo Code of Conduct](https://github.com/argoproj/argo/blob/master/CODE_OF_CONDUCT.md) : -Before submitting a pull request, please sign the [CLA](https://github.com/argoproj/argo/blob/master/community/Argo%20Individual%20CLA.pdf). This agreement gives us permission to use and redistribute your contributions as part of the project. +Read and abide by the [Argo Code of Conduct](https://github.com/CyrusBiotechnology/argo/blob/master/CODE_OF_CONDUCT.md) : +Before submitting a pull request, please sign the [CLA](https://github.com/CyrusBiotechnology/argo/blob/master/community/Argo%20Individual%20CLA.pdf). This agreement gives us permission to use and redistribute your contributions as part of the project. ## Community Meetings diff --git a/demo.md b/demo.md index b615916b4e05..62b7ae496354 100644 --- a/demo.md +++ b/demo.md @@ -17,7 +17,7 @@ brew install argoproj/tap/argo ``` On Linux: ``` -curl -sSL -o /usr/local/bin/argo https://github.com/argoproj/argo/releases/download/v2.2.1/argo-linux-amd64 +curl -sSL -o /usr/local/bin/argo https://github.com/CyrusBiotechnology/argo/releases/download/v2.2.1/argo-linux-amd64 chmod +x /usr/local/bin/argo ``` @@ -64,13 +64,13 @@ kubectl get po --selector=workflows.argoproj.io/workflow=hello-world-xxx --show- kubectl logs hello-world-yyy -c main ``` -Additional examples are availabe [here](https://github.com/argoproj/argo/blob/master/examples/README.md). +Additional examples are availabe [here](https://github.com/CyrusBiotechnology/argo/blob/master/examples/README.md). ## 5. Install an Artifact Repository Argo supports S3 (AWS, GCS, Minio) as well as Artifactory as artifact repositories. This tutorial uses Minio for the sake of portability. Instructions on how to configure other artifact repositories -are [here](https://github.com/argoproj/argo/blob/master/ARTIFACT_REPO.md). +are [here](https://github.com/CyrusBiotechnology/argo/blob/master/ARTIFACT_REPO.md). ``` brew install kubernetes-helm # mac helm init diff --git a/errors/errors_test.go b/errors/errors_test.go index c787b52b8bc7..fc26ed3bd342 100644 --- a/errors/errors_test.go +++ b/errors/errors_test.go @@ -4,7 +4,7 @@ import ( "fmt" "testing" - "github.com/argoproj/argo/errors" + "github.com/CyrusBiotechnology/argo/errors" pkgerr "github.com/pkg/errors" "github.com/stretchr/testify/assert" ) diff --git a/examples/README.md b/examples/README.md index dd0a8d2d977b..3c184e856cb6 100644 --- a/examples/README.md +++ b/examples/README.md @@ -6,7 +6,7 @@ Argo is an open source project that provides container-native workflows for Kube Argo is implemented as a Kubernetes CRD (Custom Resource Definition). As a result, Argo workflows can be managed using kubectl and natively integrates with other Kubernetes services such as volumes, secrets, and RBAC. The new Argo software is lightweight and installs in under a minute but provides complete workflow features including parameter substitution, artifacts, fixtures, loops and recursive workflows. -Many of the Argo examples used in this walkthrough are available at https://github.com/argoproj/argo/tree/master/examples. If you like this project, please give us a star! +Many of the Argo examples used in this walkthrough are available at https://github.com/CyrusBiotechnology/argo/tree/master/examples. If you like this project, please give us a star! ## Table of Content @@ -37,7 +37,7 @@ Many of the Argo examples used in this walkthrough are available at https://gith In case you want to follow along with this walkthrough, here's a quick overview of the most useful argo CLI commands. -[Install Argo here](https://github.com/argoproj/argo/blob/master/demo.md) +[Install Argo here](https://github.com/CyrusBiotechnology/argo/blob/master/demo.md) ```sh argo submit hello-world.yaml # submit a workflow spec to Kubernetes @@ -300,7 +300,7 @@ The templates called from a dag or steps template can themselves be dag or steps **Note:** You will need to have configured an artifact repository to run this example. -[Configuring an artifact repository here](https://github.com/argoproj/argo/blob/master/ARTIFACT_REPO.md). +[Configuring an artifact repository here](https://github.com/CyrusBiotechnology/argo/blob/master/ARTIFACT_REPO.md). When running workflows, it is very common to have steps that generate or consume artifacts. Often, the output artifacts of one step may be used as input artifacts to a subsequent step. @@ -1086,7 +1086,7 @@ spec: - name: argo-source path: /src git: - repo: https://github.com/argoproj/argo.git + repo: https://github.com/CyrusBiotechnology/argo.git revision: "master" # Download kubectl 1.8.0 and place it at /bin/kubectl - name: kubectl @@ -1194,4 +1194,4 @@ spec: ## Continuous integration example Continuous integration is a popular application for workflows. Currently, Argo does not provide event triggers for automatically kicking off your CI jobs, but we plan to do so in the near future. Until then, you can easily write a cron job that checks for new commits and kicks off the needed workflow, or use your existing Jenkins server to kick off the workflow. -A good example of a CI workflow spec is provided at https://github.com/argoproj/argo/tree/master/examples/influxdb-ci.yaml. Because it just uses the concepts that we've already covered and is somewhat long, we don't go into details here. +A good example of a CI workflow spec is provided at https://github.com/CyrusBiotechnology/argo/tree/master/examples/influxdb-ci.yaml. Because it just uses the concepts that we've already covered and is somewhat long, we don't go into details here. diff --git a/examples/input-artifact-git.yaml b/examples/input-artifact-git.yaml index 8720db459829..ee176b442b21 100644 --- a/examples/input-artifact-git.yaml +++ b/examples/input-artifact-git.yaml @@ -13,14 +13,14 @@ spec: - name: argo-source path: /src git: - repo: https://github.com/argoproj/argo.git + repo: https://github.com/CyrusBiotechnology/argo.git revision: "v2.1.1" # For private repositories, create a k8s secret containing the git credentials and # reference the secret keys in the secret selectors: usernameSecret, passwordSecret, # or sshPrivateKeySecret. # NOTE: when authenticating via sshPrivateKeySecret, the repo URL should supplied in its # SSH format (e.g. git@github.com:argoproj/argo.git). Similarly, when authenticating via - # basic auth, the URL should be in its HTTP form (e.g. https://github.com/argoproj/argo.git) + # basic auth, the URL should be in its HTTP form (e.g. https://github.com/CyrusBiotechnology/argo.git) # usernameSecret: # name: github-creds # key: username diff --git a/hack/gen-openapi-spec/main.go b/hack/gen-openapi-spec/main.go index 8c728cbe36cb..4f24901057a9 100644 --- a/hack/gen-openapi-spec/main.go +++ b/hack/gen-openapi-spec/main.go @@ -7,7 +7,7 @@ import ( "os" "strings" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" "github.com/go-openapi/spec" "k8s.io/kube-openapi/pkg/common" ) @@ -50,11 +50,11 @@ func main() { // swaggify converts the github package // e.g.: -// github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Workflow +// github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Workflow // to: // io.argoproj.workflow.v1alpha1.Workflow func swaggify(name string) string { - name = strings.Replace(name, "github.com/argoproj/argo/pkg/apis", "argoproj.io", -1) + name = strings.Replace(name, "github.com/CyrusBiotechnology/argo/pkg/apis", "argoproj.io", -1) parts := strings.Split(name, "/") hostParts := strings.Split(parts[0], ".") // reverses something like k8s.io to io.k8s diff --git a/hack/update-codegen.sh b/hack/update-codegen.sh index 06b8b8a5682f..db5b6c7b33f6 100755 --- a/hack/update-codegen.sh +++ b/hack/update-codegen.sh @@ -22,6 +22,6 @@ SCRIPT_ROOT=$(dirname ${BASH_SOURCE})/.. CODEGEN_PKG=${CODEGEN_PKG:-$(cd ${SCRIPT_ROOT}; ls -d -1 ./vendor/k8s.io/code-generator 2>/dev/null || echo ../code-generator)} ${CODEGEN_PKG}/generate-groups.sh "deepcopy,client,informer,lister" \ - github.com/argoproj/argo/pkg/client github.com/argoproj/argo/pkg/apis \ + github.com/CyrusBiotechnology/argo/pkg/client github.com/CyrusBiotechnology/argo/pkg/apis \ workflow:v1alpha1 \ --go-header-file ${SCRIPT_ROOT}/hack/custom-boilerplate.go.txt diff --git a/hack/update-openapigen.sh b/hack/update-openapigen.sh index 2244ba3bffc5..8ad6aed1acf9 100755 --- a/hack/update-openapigen.sh +++ b/hack/update-openapigen.sh @@ -10,7 +10,7 @@ VERSION="v1alpha1" go run ${CODEGEN_PKG}/cmd/openapi-gen/main.go \ --go-header-file ${PROJECT_ROOT}/hack/custom-boilerplate.go.txt \ - --input-dirs github.com/argoproj/argo/pkg/apis/workflow/${VERSION} \ - --output-package github.com/argoproj/argo/pkg/apis/workflow/${VERSION} \ + --input-dirs github.com/CyrusBiotechnology/argo/pkg/apis/workflow/${VERSION} \ + --output-package github.com/CyrusBiotechnology/argo/pkg/apis/workflow/${VERSION} \ $@ diff --git a/pkg/apis/workflow/v1alpha1/openapi_generated.go b/pkg/apis/workflow/v1alpha1/openapi_generated.go index 9287c54ec56d..bf886ff17cbe 100644 --- a/pkg/apis/workflow/v1alpha1/openapi_generated.go +++ b/pkg/apis/workflow/v1alpha1/openapi_generated.go @@ -13,40 +13,40 @@ import ( func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition { return map[string]common.OpenAPIDefinition{ - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ArchiveStrategy": schema_pkg_apis_workflow_v1alpha1_ArchiveStrategy(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Arguments": schema_pkg_apis_workflow_v1alpha1_Arguments(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Artifact": schema_pkg_apis_workflow_v1alpha1_Artifact(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ArtifactLocation": schema_pkg_apis_workflow_v1alpha1_ArtifactLocation(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ArtifactoryArtifact": schema_pkg_apis_workflow_v1alpha1_ArtifactoryArtifact(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ArtifactoryAuth": schema_pkg_apis_workflow_v1alpha1_ArtifactoryAuth(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.DAGTask": schema_pkg_apis_workflow_v1alpha1_DAGTask(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.DAGTemplate": schema_pkg_apis_workflow_v1alpha1_DAGTemplate(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.GCSArtifact": schema_pkg_apis_workflow_v1alpha1_GCSArtifact(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.GCSBucket": schema_pkg_apis_workflow_v1alpha1_GCSBucket(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.GitArtifact": schema_pkg_apis_workflow_v1alpha1_GitArtifact(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.HTTPArtifact": schema_pkg_apis_workflow_v1alpha1_HTTPArtifact(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Inputs": schema_pkg_apis_workflow_v1alpha1_Inputs(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Item": schema_pkg_apis_workflow_v1alpha1_Item(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Metadata": schema_pkg_apis_workflow_v1alpha1_Metadata(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.NoneStrategy": schema_pkg_apis_workflow_v1alpha1_NoneStrategy(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Outputs": schema_pkg_apis_workflow_v1alpha1_Outputs(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Parameter": schema_pkg_apis_workflow_v1alpha1_Parameter(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.RawArtifact": schema_pkg_apis_workflow_v1alpha1_RawArtifact(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ResourceTemplate": schema_pkg_apis_workflow_v1alpha1_ResourceTemplate(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.RetryStrategy": schema_pkg_apis_workflow_v1alpha1_RetryStrategy(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.S3Artifact": schema_pkg_apis_workflow_v1alpha1_S3Artifact(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.S3Bucket": schema_pkg_apis_workflow_v1alpha1_S3Bucket(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ScriptTemplate": schema_pkg_apis_workflow_v1alpha1_ScriptTemplate(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Sequence": schema_pkg_apis_workflow_v1alpha1_Sequence(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Sidecar": schema_pkg_apis_workflow_v1alpha1_Sidecar(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.SuspendTemplate": schema_pkg_apis_workflow_v1alpha1_SuspendTemplate(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.TarStrategy": schema_pkg_apis_workflow_v1alpha1_TarStrategy(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Template": schema_pkg_apis_workflow_v1alpha1_Template(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ValueFrom": schema_pkg_apis_workflow_v1alpha1_ValueFrom(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Workflow": schema_pkg_apis_workflow_v1alpha1_Workflow(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.WorkflowList": schema_pkg_apis_workflow_v1alpha1_WorkflowList(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.WorkflowSpec": schema_pkg_apis_workflow_v1alpha1_WorkflowSpec(ref), - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.WorkflowStep": schema_pkg_apis_workflow_v1alpha1_WorkflowStep(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ArchiveStrategy": schema_pkg_apis_workflow_v1alpha1_ArchiveStrategy(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Arguments": schema_pkg_apis_workflow_v1alpha1_Arguments(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Artifact": schema_pkg_apis_workflow_v1alpha1_Artifact(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ArtifactLocation": schema_pkg_apis_workflow_v1alpha1_ArtifactLocation(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ArtifactoryArtifact": schema_pkg_apis_workflow_v1alpha1_ArtifactoryArtifact(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ArtifactoryAuth": schema_pkg_apis_workflow_v1alpha1_ArtifactoryAuth(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.DAGTask": schema_pkg_apis_workflow_v1alpha1_DAGTask(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.DAGTemplate": schema_pkg_apis_workflow_v1alpha1_DAGTemplate(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.GCSArtifact": schema_pkg_apis_workflow_v1alpha1_GCSArtifact(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.GCSBucket": schema_pkg_apis_workflow_v1alpha1_GCSBucket(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.GitArtifact": schema_pkg_apis_workflow_v1alpha1_GitArtifact(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.HTTPArtifact": schema_pkg_apis_workflow_v1alpha1_HTTPArtifact(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Inputs": schema_pkg_apis_workflow_v1alpha1_Inputs(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Item": schema_pkg_apis_workflow_v1alpha1_Item(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Metadata": schema_pkg_apis_workflow_v1alpha1_Metadata(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.NoneStrategy": schema_pkg_apis_workflow_v1alpha1_NoneStrategy(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Outputs": schema_pkg_apis_workflow_v1alpha1_Outputs(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Parameter": schema_pkg_apis_workflow_v1alpha1_Parameter(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.RawArtifact": schema_pkg_apis_workflow_v1alpha1_RawArtifact(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ResourceTemplate": schema_pkg_apis_workflow_v1alpha1_ResourceTemplate(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.RetryStrategy": schema_pkg_apis_workflow_v1alpha1_RetryStrategy(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.S3Artifact": schema_pkg_apis_workflow_v1alpha1_S3Artifact(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.S3Bucket": schema_pkg_apis_workflow_v1alpha1_S3Bucket(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ScriptTemplate": schema_pkg_apis_workflow_v1alpha1_ScriptTemplate(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Sequence": schema_pkg_apis_workflow_v1alpha1_Sequence(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Sidecar": schema_pkg_apis_workflow_v1alpha1_Sidecar(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.SuspendTemplate": schema_pkg_apis_workflow_v1alpha1_SuspendTemplate(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.TarStrategy": schema_pkg_apis_workflow_v1alpha1_TarStrategy(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Template": schema_pkg_apis_workflow_v1alpha1_Template(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ValueFrom": schema_pkg_apis_workflow_v1alpha1_ValueFrom(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Workflow": schema_pkg_apis_workflow_v1alpha1_Workflow(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.WorkflowList": schema_pkg_apis_workflow_v1alpha1_WorkflowList(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.WorkflowSpec": schema_pkg_apis_workflow_v1alpha1_WorkflowSpec(ref), + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.WorkflowStep": schema_pkg_apis_workflow_v1alpha1_WorkflowStep(ref), } } @@ -58,19 +58,19 @@ func schema_pkg_apis_workflow_v1alpha1_ArchiveStrategy(ref common.ReferenceCallb Properties: map[string]spec.Schema{ "tar": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.TarStrategy"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.TarStrategy"), }, }, "none": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.NoneStrategy"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.NoneStrategy"), }, }, }, }, }, Dependencies: []string{ - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.NoneStrategy", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.TarStrategy"}, + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.NoneStrategy", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.TarStrategy"}, } } @@ -87,7 +87,7 @@ func schema_pkg_apis_workflow_v1alpha1_Arguments(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Parameter"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Parameter"), }, }, }, @@ -100,7 +100,7 @@ func schema_pkg_apis_workflow_v1alpha1_Arguments(ref common.ReferenceCallback) c Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Artifact"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Artifact"), }, }, }, @@ -110,7 +110,7 @@ func schema_pkg_apis_workflow_v1alpha1_Arguments(ref common.ReferenceCallback) c }, }, Dependencies: []string{ - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Artifact", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Parameter"}, + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Artifact", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Parameter"}, } } @@ -158,37 +158,37 @@ func schema_pkg_apis_workflow_v1alpha1_Artifact(ref common.ReferenceCallback) co "s3": { SchemaProps: spec.SchemaProps{ Description: "S3 contains S3 artifact location details", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.S3Artifact"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.S3Artifact"), }, }, "git": { SchemaProps: spec.SchemaProps{ Description: "Git contains git artifact location details", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.GitArtifact"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.GitArtifact"), }, }, "http": { SchemaProps: spec.SchemaProps{ Description: "HTTP contains HTTP artifact location details", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.HTTPArtifact"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.HTTPArtifact"), }, }, "artifactory": { SchemaProps: spec.SchemaProps{ Description: "Artifactory contains artifactory artifact location details", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ArtifactoryArtifact"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ArtifactoryArtifact"), }, }, "raw": { SchemaProps: spec.SchemaProps{ Description: "Raw contains raw artifact location details", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.RawArtifact"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.RawArtifact"), }, }, "gcs": { SchemaProps: spec.SchemaProps{ Description: "GCS contains GCS artifact location details", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.GCSArtifact"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.GCSArtifact"), }, }, "globalName": { @@ -201,7 +201,7 @@ func schema_pkg_apis_workflow_v1alpha1_Artifact(ref common.ReferenceCallback) co "archive": { SchemaProps: spec.SchemaProps{ Description: "Archive controls how the artifact will be saved to the artifact repository.", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ArchiveStrategy"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ArchiveStrategy"), }, }, }, @@ -209,7 +209,7 @@ func schema_pkg_apis_workflow_v1alpha1_Artifact(ref common.ReferenceCallback) co }, }, Dependencies: []string{ - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ArchiveStrategy", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ArtifactoryArtifact", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.GCSArtifact", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.GitArtifact", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.HTTPArtifact", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.RawArtifact", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.S3Artifact"}, + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ArchiveStrategy", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ArtifactoryArtifact", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.GCSArtifact", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.GitArtifact", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.HTTPArtifact", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.RawArtifact", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.S3Artifact"}, } } @@ -229,44 +229,44 @@ func schema_pkg_apis_workflow_v1alpha1_ArtifactLocation(ref common.ReferenceCall "s3": { SchemaProps: spec.SchemaProps{ Description: "S3 contains S3 artifact location details", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.S3Artifact"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.S3Artifact"), }, }, "git": { SchemaProps: spec.SchemaProps{ Description: "Git contains git artifact location details", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.GitArtifact"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.GitArtifact"), }, }, "http": { SchemaProps: spec.SchemaProps{ Description: "HTTP contains HTTP artifact location details", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.HTTPArtifact"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.HTTPArtifact"), }, }, "artifactory": { SchemaProps: spec.SchemaProps{ Description: "Artifactory contains artifactory artifact location details", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ArtifactoryArtifact"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ArtifactoryArtifact"), }, }, "raw": { SchemaProps: spec.SchemaProps{ Description: "Raw contains raw artifact location details", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.RawArtifact"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.RawArtifact"), }, }, "gcs": { SchemaProps: spec.SchemaProps{ Description: "GCS contains GCS artifact location details", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.GCSArtifact"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.GCSArtifact"), }, }, }, }, }, Dependencies: []string{ - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ArtifactoryArtifact", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.GCSArtifact", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.GitArtifact", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.HTTPArtifact", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.RawArtifact", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.S3Artifact"}, + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ArtifactoryArtifact", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.GCSArtifact", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.GitArtifact", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.HTTPArtifact", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.RawArtifact", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.S3Artifact"}, } } @@ -353,7 +353,7 @@ func schema_pkg_apis_workflow_v1alpha1_DAGTask(ref common.ReferenceCallback) com "arguments": { SchemaProps: spec.SchemaProps{ Description: "Arguments are the parameter and artifact arguments to the template", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Arguments"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Arguments"), }, }, "dependencies": { @@ -377,7 +377,7 @@ func schema_pkg_apis_workflow_v1alpha1_DAGTask(ref common.ReferenceCallback) com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Item"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Item"), }, }, }, @@ -393,7 +393,7 @@ func schema_pkg_apis_workflow_v1alpha1_DAGTask(ref common.ReferenceCallback) com "withSequence": { SchemaProps: spec.SchemaProps{ Description: "WithSequence expands a task into a numeric sequence", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Sequence"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Sequence"), }, }, "when": { @@ -408,7 +408,7 @@ func schema_pkg_apis_workflow_v1alpha1_DAGTask(ref common.ReferenceCallback) com }, }, Dependencies: []string{ - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Arguments", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Item", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Sequence"}, + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Arguments", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Item", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Sequence"}, } } @@ -432,7 +432,7 @@ func schema_pkg_apis_workflow_v1alpha1_DAGTemplate(ref common.ReferenceCallback) Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.DAGTask"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.DAGTask"), }, }, }, @@ -443,7 +443,7 @@ func schema_pkg_apis_workflow_v1alpha1_DAGTemplate(ref common.ReferenceCallback) }, }, Dependencies: []string{ - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.DAGTask"}, + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.DAGTask"}, } } @@ -574,7 +574,7 @@ func schema_pkg_apis_workflow_v1alpha1_Inputs(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Parameter"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Parameter"), }, }, }, @@ -587,7 +587,7 @@ func schema_pkg_apis_workflow_v1alpha1_Inputs(ref common.ReferenceCallback) comm Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Artifact"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Artifact"), }, }, }, @@ -597,7 +597,7 @@ func schema_pkg_apis_workflow_v1alpha1_Inputs(ref common.ReferenceCallback) comm }, }, Dependencies: []string{ - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Artifact", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Parameter"}, + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Artifact", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Parameter"}, } } @@ -677,7 +677,7 @@ func schema_pkg_apis_workflow_v1alpha1_Outputs(ref common.ReferenceCallback) com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Parameter"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Parameter"), }, }, }, @@ -690,7 +690,7 @@ func schema_pkg_apis_workflow_v1alpha1_Outputs(ref common.ReferenceCallback) com Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Artifact"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Artifact"), }, }, }, @@ -707,7 +707,7 @@ func schema_pkg_apis_workflow_v1alpha1_Outputs(ref common.ReferenceCallback) com }, }, Dependencies: []string{ - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Artifact", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Parameter"}, + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Artifact", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Parameter"}, } } @@ -741,7 +741,7 @@ func schema_pkg_apis_workflow_v1alpha1_Parameter(ref common.ReferenceCallback) c "valueFrom": { SchemaProps: spec.SchemaProps{ Description: "ValueFrom is the source for the output parameter's value", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ValueFrom"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ValueFrom"), }, }, "globalName": { @@ -756,7 +756,7 @@ func schema_pkg_apis_workflow_v1alpha1_Parameter(ref common.ReferenceCallback) c }, }, Dependencies: []string{ - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ValueFrom"}, + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ValueFrom"}, } } @@ -1505,13 +1505,13 @@ func schema_pkg_apis_workflow_v1alpha1_Template(ref common.ReferenceCallback) co "inputs": { SchemaProps: spec.SchemaProps{ Description: "Inputs describe what inputs parameters and artifacts are supplied to this template", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Inputs"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Inputs"), }, }, "outputs": { SchemaProps: spec.SchemaProps{ Description: "Outputs describe the parameters and artifacts that this template produces", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Outputs"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Outputs"), }, }, "nodeSelector": { @@ -1537,7 +1537,7 @@ func schema_pkg_apis_workflow_v1alpha1_Template(ref common.ReferenceCallback) co "metadata": { SchemaProps: spec.SchemaProps{ Description: "Metdata sets the pods's metadata, i.e. annotations and labels", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Metadata"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Metadata"), }, }, "daemon": { @@ -1558,7 +1558,7 @@ func schema_pkg_apis_workflow_v1alpha1_Template(ref common.ReferenceCallback) co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.WorkflowStep"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.WorkflowStep"), }, }, }, @@ -1576,25 +1576,25 @@ func schema_pkg_apis_workflow_v1alpha1_Template(ref common.ReferenceCallback) co "script": { SchemaProps: spec.SchemaProps{ Description: "Script runs a portion of code against an interpreter", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ScriptTemplate"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ScriptTemplate"), }, }, "resource": { SchemaProps: spec.SchemaProps{ Description: "Resource template subtype which can run k8s resources", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ResourceTemplate"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ResourceTemplate"), }, }, "dag": { SchemaProps: spec.SchemaProps{ Description: "DAG template subtype which runs a DAG", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.DAGTemplate"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.DAGTemplate"), }, }, "suspend": { SchemaProps: spec.SchemaProps{ Description: "Suspend template subtype which can suspend a workflow when reaching the step", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.SuspendTemplate"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.SuspendTemplate"), }, }, "sidecars": { @@ -1604,7 +1604,7 @@ func schema_pkg_apis_workflow_v1alpha1_Template(ref common.ReferenceCallback) co Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Sidecar"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Sidecar"), }, }, }, @@ -1613,7 +1613,7 @@ func schema_pkg_apis_workflow_v1alpha1_Template(ref common.ReferenceCallback) co "archiveLocation": { SchemaProps: spec.SchemaProps{ Description: "Location in which all files related to the step will be stored (logs, artifacts, etc...). Can be overridden by individual items in Outputs. If omitted, will use the default artifact repository location configured in the controller, appended with the / in the key.", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ArtifactLocation"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ArtifactLocation"), }, }, "activeDeadlineSeconds": { @@ -1626,7 +1626,7 @@ func schema_pkg_apis_workflow_v1alpha1_Template(ref common.ReferenceCallback) co "retryStrategy": { SchemaProps: spec.SchemaProps{ Description: "RetryStrategy describes how to retry a template when it fails", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.RetryStrategy"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.RetryStrategy"), }, }, "parallelism": { @@ -1654,7 +1654,7 @@ func schema_pkg_apis_workflow_v1alpha1_Template(ref common.ReferenceCallback) co }, }, Dependencies: []string{ - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ArtifactLocation", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.DAGTemplate", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Inputs", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Metadata", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Outputs", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ResourceTemplate", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.RetryStrategy", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.ScriptTemplate", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Sidecar", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.SuspendTemplate", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.WorkflowStep", "k8s.io/api/core/v1.Affinity", "k8s.io/api/core/v1.Container", "k8s.io/api/core/v1.Toleration"}, + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ArtifactLocation", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.DAGTemplate", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Inputs", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Metadata", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Outputs", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ResourceTemplate", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.RetryStrategy", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.ScriptTemplate", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Sidecar", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.SuspendTemplate", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.WorkflowStep", "k8s.io/api/core/v1.Affinity", "k8s.io/api/core/v1.Container", "k8s.io/api/core/v1.Toleration"}, } } @@ -1726,12 +1726,12 @@ func schema_pkg_apis_workflow_v1alpha1_Workflow(ref common.ReferenceCallback) co }, "spec": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.WorkflowSpec"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.WorkflowSpec"), }, }, "status": { SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.WorkflowStatus"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.WorkflowStatus"), }, }, }, @@ -1739,7 +1739,7 @@ func schema_pkg_apis_workflow_v1alpha1_Workflow(ref common.ReferenceCallback) co }, }, Dependencies: []string{ - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.WorkflowSpec", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.WorkflowStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.WorkflowSpec", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.WorkflowStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"}, } } @@ -1774,7 +1774,7 @@ func schema_pkg_apis_workflow_v1alpha1_WorkflowList(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Workflow"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Workflow"), }, }, }, @@ -1785,7 +1785,7 @@ func schema_pkg_apis_workflow_v1alpha1_WorkflowList(ref common.ReferenceCallback }, }, Dependencies: []string{ - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Workflow", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Workflow", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"}, } } @@ -1802,7 +1802,7 @@ func schema_pkg_apis_workflow_v1alpha1_WorkflowSpec(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Template"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Template"), }, }, }, @@ -1818,7 +1818,7 @@ func schema_pkg_apis_workflow_v1alpha1_WorkflowSpec(ref common.ReferenceCallback "arguments": { SchemaProps: spec.SchemaProps{ Description: "Arguments contain the parameters and artifacts sent to the workflow entrypoint Parameters are referencable globally using the 'workflow' variable prefix. e.g. {{workflow.parameters.myparam}}", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Arguments"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Arguments"), }, }, "serviceAccountName": { @@ -1940,7 +1940,7 @@ func schema_pkg_apis_workflow_v1alpha1_WorkflowSpec(ref common.ReferenceCallback }, }, Dependencies: []string{ - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Arguments", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Template", "k8s.io/api/core/v1.Affinity", "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.PersistentVolumeClaim", "k8s.io/api/core/v1.Toleration", "k8s.io/api/core/v1.Volume"}, + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Arguments", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Template", "k8s.io/api/core/v1.Affinity", "k8s.io/api/core/v1.LocalObjectReference", "k8s.io/api/core/v1.PersistentVolumeClaim", "k8s.io/api/core/v1.Toleration", "k8s.io/api/core/v1.Volume"}, } } @@ -1967,7 +1967,7 @@ func schema_pkg_apis_workflow_v1alpha1_WorkflowStep(ref common.ReferenceCallback "arguments": { SchemaProps: spec.SchemaProps{ Description: "Arguments hold arguments to the template", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Arguments"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Arguments"), }, }, "withItems": { @@ -1977,7 +1977,7 @@ func schema_pkg_apis_workflow_v1alpha1_WorkflowStep(ref common.ReferenceCallback Items: &spec.SchemaOrArray{ Schema: &spec.Schema{ SchemaProps: spec.SchemaProps{ - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Item"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Item"), }, }, }, @@ -1993,7 +1993,7 @@ func schema_pkg_apis_workflow_v1alpha1_WorkflowStep(ref common.ReferenceCallback "withSequence": { SchemaProps: spec.SchemaProps{ Description: "WithSequence expands a step into a numeric sequence", - Ref: ref("github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Sequence"), + Ref: ref("github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Sequence"), }, }, "when": { @@ -2007,6 +2007,6 @@ func schema_pkg_apis_workflow_v1alpha1_WorkflowStep(ref common.ReferenceCallback }, }, Dependencies: []string{ - "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Arguments", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Item", "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1.Sequence"}, + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Arguments", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Item", "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1.Sequence"}, } } diff --git a/pkg/apis/workflow/v1alpha1/register.go b/pkg/apis/workflow/v1alpha1/register.go index 7ee48cdfc525..dc8c62d7ec4c 100644 --- a/pkg/apis/workflow/v1alpha1/register.go +++ b/pkg/apis/workflow/v1alpha1/register.go @@ -1,7 +1,7 @@ package v1alpha1 import ( - "github.com/argoproj/argo/pkg/apis/workflow" + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/runtime" diff --git a/pkg/client/clientset/versioned/clientset.go b/pkg/client/clientset/versioned/clientset.go index f39d47d21a50..950465391f27 100644 --- a/pkg/client/clientset/versioned/clientset.go +++ b/pkg/client/clientset/versioned/clientset.go @@ -3,7 +3,7 @@ package versioned import ( - argoprojv1alpha1 "github.com/argoproj/argo/pkg/client/clientset/versioned/typed/workflow/v1alpha1" + argoprojv1alpha1 "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned/typed/workflow/v1alpha1" glog "github.com/golang/glog" discovery "k8s.io/client-go/discovery" rest "k8s.io/client-go/rest" diff --git a/pkg/client/clientset/versioned/fake/clientset_generated.go b/pkg/client/clientset/versioned/fake/clientset_generated.go index 9f7881309f06..9b781cf4d68b 100644 --- a/pkg/client/clientset/versioned/fake/clientset_generated.go +++ b/pkg/client/clientset/versioned/fake/clientset_generated.go @@ -3,9 +3,9 @@ package fake import ( - clientset "github.com/argoproj/argo/pkg/client/clientset/versioned" - argoprojv1alpha1 "github.com/argoproj/argo/pkg/client/clientset/versioned/typed/workflow/v1alpha1" - fakeargoprojv1alpha1 "github.com/argoproj/argo/pkg/client/clientset/versioned/typed/workflow/v1alpha1/fake" + clientset "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned" + argoprojv1alpha1 "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned/typed/workflow/v1alpha1" + fakeargoprojv1alpha1 "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned/typed/workflow/v1alpha1/fake" "k8s.io/apimachinery/pkg/runtime" "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/discovery" diff --git a/pkg/client/clientset/versioned/fake/register.go b/pkg/client/clientset/versioned/fake/register.go index be2cfddc45f5..d93c5ea55da1 100644 --- a/pkg/client/clientset/versioned/fake/register.go +++ b/pkg/client/clientset/versioned/fake/register.go @@ -3,7 +3,7 @@ package fake import ( - argoprojv1alpha1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + argoprojv1alpha1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/client/clientset/versioned/scheme/register.go b/pkg/client/clientset/versioned/scheme/register.go index 4a000d537b23..d4517b4d6e86 100644 --- a/pkg/client/clientset/versioned/scheme/register.go +++ b/pkg/client/clientset/versioned/scheme/register.go @@ -3,7 +3,7 @@ package scheme import ( - argoprojv1alpha1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + argoprojv1alpha1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/client/clientset/versioned/typed/workflow/v1alpha1/fake/fake_workflow.go b/pkg/client/clientset/versioned/typed/workflow/v1alpha1/fake/fake_workflow.go index 0fb0224efef3..393f3be4516d 100644 --- a/pkg/client/clientset/versioned/typed/workflow/v1alpha1/fake/fake_workflow.go +++ b/pkg/client/clientset/versioned/typed/workflow/v1alpha1/fake/fake_workflow.go @@ -3,7 +3,7 @@ package fake import ( - v1alpha1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + v1alpha1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" labels "k8s.io/apimachinery/pkg/labels" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/client/clientset/versioned/typed/workflow/v1alpha1/fake/fake_workflow_client.go b/pkg/client/clientset/versioned/typed/workflow/v1alpha1/fake/fake_workflow_client.go index 5c3db6508c01..82deca58e4ac 100644 --- a/pkg/client/clientset/versioned/typed/workflow/v1alpha1/fake/fake_workflow_client.go +++ b/pkg/client/clientset/versioned/typed/workflow/v1alpha1/fake/fake_workflow_client.go @@ -3,7 +3,7 @@ package fake import ( - v1alpha1 "github.com/argoproj/argo/pkg/client/clientset/versioned/typed/workflow/v1alpha1" + v1alpha1 "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned/typed/workflow/v1alpha1" rest "k8s.io/client-go/rest" testing "k8s.io/client-go/testing" ) diff --git a/pkg/client/clientset/versioned/typed/workflow/v1alpha1/workflow.go b/pkg/client/clientset/versioned/typed/workflow/v1alpha1/workflow.go index 8cd0b2d77102..22a8413d5a0a 100644 --- a/pkg/client/clientset/versioned/typed/workflow/v1alpha1/workflow.go +++ b/pkg/client/clientset/versioned/typed/workflow/v1alpha1/workflow.go @@ -3,8 +3,8 @@ package v1alpha1 import ( - v1alpha1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - scheme "github.com/argoproj/argo/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + scheme "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned/scheme" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" types "k8s.io/apimachinery/pkg/types" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/clientset/versioned/typed/workflow/v1alpha1/workflow_client.go b/pkg/client/clientset/versioned/typed/workflow/v1alpha1/workflow_client.go index 0250af28aa13..f05443b60de7 100644 --- a/pkg/client/clientset/versioned/typed/workflow/v1alpha1/workflow_client.go +++ b/pkg/client/clientset/versioned/typed/workflow/v1alpha1/workflow_client.go @@ -3,8 +3,8 @@ package v1alpha1 import ( - v1alpha1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/pkg/client/clientset/versioned/scheme" + v1alpha1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned/scheme" serializer "k8s.io/apimachinery/pkg/runtime/serializer" rest "k8s.io/client-go/rest" ) diff --git a/pkg/client/informers/externalversions/factory.go b/pkg/client/informers/externalversions/factory.go index 0ac90bb7c174..e8d971956c6d 100644 --- a/pkg/client/informers/externalversions/factory.go +++ b/pkg/client/informers/externalversions/factory.go @@ -7,9 +7,9 @@ import ( sync "sync" time "time" - versioned "github.com/argoproj/argo/pkg/client/clientset/versioned" - internalinterfaces "github.com/argoproj/argo/pkg/client/informers/externalversions/internalinterfaces" - workflow "github.com/argoproj/argo/pkg/client/informers/externalversions/workflow" + versioned "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned" + internalinterfaces "github.com/CyrusBiotechnology/argo/pkg/client/informers/externalversions/internalinterfaces" + workflow "github.com/CyrusBiotechnology/argo/pkg/client/informers/externalversions/workflow" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" schema "k8s.io/apimachinery/pkg/runtime/schema" diff --git a/pkg/client/informers/externalversions/generic.go b/pkg/client/informers/externalversions/generic.go index 91f10b389128..2938f04e9d2c 100644 --- a/pkg/client/informers/externalversions/generic.go +++ b/pkg/client/informers/externalversions/generic.go @@ -5,7 +5,7 @@ package externalversions import ( "fmt" - v1alpha1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + v1alpha1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" schema "k8s.io/apimachinery/pkg/runtime/schema" cache "k8s.io/client-go/tools/cache" ) diff --git a/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go b/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go index 6a21272fa0d8..494a7b762fe6 100644 --- a/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go +++ b/pkg/client/informers/externalversions/internalinterfaces/factory_interfaces.go @@ -5,7 +5,7 @@ package internalinterfaces import ( time "time" - versioned "github.com/argoproj/argo/pkg/client/clientset/versioned" + versioned "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" cache "k8s.io/client-go/tools/cache" diff --git a/pkg/client/informers/externalversions/workflow/interface.go b/pkg/client/informers/externalversions/workflow/interface.go index d49d769f4b22..e83decb3b0e0 100644 --- a/pkg/client/informers/externalversions/workflow/interface.go +++ b/pkg/client/informers/externalversions/workflow/interface.go @@ -3,8 +3,8 @@ package argoproj import ( - internalinterfaces "github.com/argoproj/argo/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/argoproj/argo/pkg/client/informers/externalversions/workflow/v1alpha1" + internalinterfaces "github.com/CyrusBiotechnology/argo/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/CyrusBiotechnology/argo/pkg/client/informers/externalversions/workflow/v1alpha1" ) // Interface provides access to each of this group's versions. diff --git a/pkg/client/informers/externalversions/workflow/v1alpha1/interface.go b/pkg/client/informers/externalversions/workflow/v1alpha1/interface.go index ea59def400ca..68e99cdf39cb 100644 --- a/pkg/client/informers/externalversions/workflow/v1alpha1/interface.go +++ b/pkg/client/informers/externalversions/workflow/v1alpha1/interface.go @@ -3,7 +3,7 @@ package v1alpha1 import ( - internalinterfaces "github.com/argoproj/argo/pkg/client/informers/externalversions/internalinterfaces" + internalinterfaces "github.com/CyrusBiotechnology/argo/pkg/client/informers/externalversions/internalinterfaces" ) // Interface provides access to all the informers in this group version. diff --git a/pkg/client/informers/externalversions/workflow/v1alpha1/workflow.go b/pkg/client/informers/externalversions/workflow/v1alpha1/workflow.go index b86cce4c66a3..7ac8e51ddd40 100644 --- a/pkg/client/informers/externalversions/workflow/v1alpha1/workflow.go +++ b/pkg/client/informers/externalversions/workflow/v1alpha1/workflow.go @@ -5,10 +5,10 @@ package v1alpha1 import ( time "time" - workflowv1alpha1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - versioned "github.com/argoproj/argo/pkg/client/clientset/versioned" - internalinterfaces "github.com/argoproj/argo/pkg/client/informers/externalversions/internalinterfaces" - v1alpha1 "github.com/argoproj/argo/pkg/client/listers/workflow/v1alpha1" + workflowv1alpha1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + versioned "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned" + internalinterfaces "github.com/CyrusBiotechnology/argo/pkg/client/informers/externalversions/internalinterfaces" + v1alpha1 "github.com/CyrusBiotechnology/argo/pkg/client/listers/workflow/v1alpha1" v1 "k8s.io/apimachinery/pkg/apis/meta/v1" runtime "k8s.io/apimachinery/pkg/runtime" watch "k8s.io/apimachinery/pkg/watch" diff --git a/pkg/client/listers/workflow/v1alpha1/workflow.go b/pkg/client/listers/workflow/v1alpha1/workflow.go index f54d24dde7e6..3b2882cec30a 100644 --- a/pkg/client/listers/workflow/v1alpha1/workflow.go +++ b/pkg/client/listers/workflow/v1alpha1/workflow.go @@ -3,7 +3,7 @@ package v1alpha1 import ( - v1alpha1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + v1alpha1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/labels" "k8s.io/client-go/tools/cache" diff --git a/test/e2e/functional/git-clone-test.yaml b/test/e2e/functional/git-clone-test.yaml index 044259bf0fcb..5f202b185f1f 100644 --- a/test/e2e/functional/git-clone-test.yaml +++ b/test/e2e/functional/git-clone-test.yaml @@ -30,7 +30,7 @@ spec: - name: argo-source path: /src git: - repo: https://github.com/argoproj/argo.git + repo: https://github.com/CyrusBiotechnology/argo.git revision: "{{inputs.parameters.revision}}" container: image: golang:1.8 diff --git a/test/e2e/wait_test.go b/test/e2e/wait_test.go index e375957e7cd0..4f0b387916e0 100644 --- a/test/e2e/wait_test.go +++ b/test/e2e/wait_test.go @@ -7,7 +7,7 @@ import ( "os" "testing" - "github.com/argoproj/argo/cmd/argo/commands" + "github.com/CyrusBiotechnology/argo/cmd/argo/commands" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/suite" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" diff --git a/test/e2e/workflow_test.go b/test/e2e/workflow_test.go index 4f3292a70f84..8d95f3a74d05 100644 --- a/test/e2e/workflow_test.go +++ b/test/e2e/workflow_test.go @@ -8,7 +8,7 @@ import ( "testing" "time" - "github.com/argoproj/argo/cmd/argo/commands" + "github.com/CyrusBiotechnology/argo/cmd/argo/commands" "github.com/stretchr/testify/suite" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/test/test.go b/test/test.go index 7796bdfc0e9d..7272217f971c 100644 --- a/test/test.go +++ b/test/test.go @@ -5,7 +5,7 @@ import ( "path/filepath" "runtime" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" "github.com/ghodss/yaml" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" ) diff --git a/ui/README.md b/ui/README.md index 1a4cc30425f9..74ce911a495e 100644 --- a/ui/README.md +++ b/ui/README.md @@ -1,3 +1,3 @@ # Argo UI -Moved to https://github.com/argoproj/argo-ui +Moved to https://github.com/CyrusBiotechnology/argo-ui diff --git a/util/cmd/cmd.go b/util/cmd/cmd.go index b2adc8b108c6..bcef72358844 100644 --- a/util/cmd/cmd.go +++ b/util/cmd/cmd.go @@ -9,7 +9,7 @@ import ( "os/user" "strings" - "github.com/argoproj/argo" + "github.com/CyrusBiotechnology/argo" log "github.com/sirupsen/logrus" "github.com/spf13/cobra" ) diff --git a/util/retry/retry.go b/util/retry/retry.go index d968c4b974c8..2a3180f91a95 100644 --- a/util/retry/retry.go +++ b/util/retry/retry.go @@ -6,7 +6,7 @@ import ( "strings" "time" - argoerrs "github.com/argoproj/argo/errors" + argoerrs "github.com/CyrusBiotechnology/argo/errors" apierr "k8s.io/apimachinery/pkg/api/errors" "k8s.io/apimachinery/pkg/util/wait" ) diff --git a/workflow/artifacts/artifactory/artifactory.go b/workflow/artifacts/artifactory/artifactory.go index e5c626f632cb..b5983f94f9e0 100644 --- a/workflow/artifacts/artifactory/artifactory.go +++ b/workflow/artifacts/artifactory/artifactory.go @@ -5,8 +5,8 @@ import ( "net/http" "os" - "github.com/argoproj/argo/errors" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/errors" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" ) type ArtifactoryArtifactDriver struct { diff --git a/workflow/artifacts/artifactory/artifactory_test.go b/workflow/artifacts/artifactory/artifactory_test.go index d2f6198dbca3..af17da2f00fc 100644 --- a/workflow/artifacts/artifactory/artifactory_test.go +++ b/workflow/artifacts/artifactory/artifactory_test.go @@ -6,8 +6,8 @@ import ( "testing" "time" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - art "github.com/argoproj/argo/workflow/artifacts/artifactory" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + art "github.com/CyrusBiotechnology/argo/workflow/artifacts/artifactory" "github.com/stretchr/testify/assert" ) diff --git a/workflow/artifacts/artifacts.go b/workflow/artifacts/artifacts.go index f8ba81e7a6d9..7a89618a59a5 100644 --- a/workflow/artifacts/artifacts.go +++ b/workflow/artifacts/artifacts.go @@ -1,7 +1,7 @@ package executor import ( - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" ) // ArtifactDriver is the interface for loading and saving of artifacts diff --git a/workflow/artifacts/gcs/gcs.go b/workflow/artifacts/gcs/gcs.go index 587d6adb2936..c5b07ed7b2b1 100644 --- a/workflow/artifacts/gcs/gcs.go +++ b/workflow/artifacts/gcs/gcs.go @@ -4,8 +4,8 @@ import ( "cloud.google.com/go/storage" "context" "errors" - argoErrors "github.com/argoproj/argo/errors" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + argoErrors "github.com/CyrusBiotechnology/argo/errors" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" log "github.com/sirupsen/logrus" "io" "os" diff --git a/workflow/artifacts/git/git.go b/workflow/artifacts/git/git.go index 2d70ea4ada74..6039c1c406b8 100644 --- a/workflow/artifacts/git/git.go +++ b/workflow/artifacts/git/git.go @@ -11,8 +11,8 @@ import ( "gopkg.in/src-d/go-git.v4/plumbing/transport/http" ssh2 "gopkg.in/src-d/go-git.v4/plumbing/transport/ssh" - "github.com/argoproj/argo/errors" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/errors" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" ) // GitArtifactDriver is the artifact driver for a git repo diff --git a/workflow/artifacts/http/http.go b/workflow/artifacts/http/http.go index 10f12ff4a666..b50a4a301d7f 100644 --- a/workflow/artifacts/http/http.go +++ b/workflow/artifacts/http/http.go @@ -1,9 +1,9 @@ package http import ( - "github.com/argoproj/argo/errors" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/errors" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/workflow/common" ) // HTTPArtifactDriver is the artifact driver for a HTTP URL diff --git a/workflow/artifacts/raw/raw.go b/workflow/artifacts/raw/raw.go index f40d5e985732..d3ea228f26ab 100644 --- a/workflow/artifacts/raw/raw.go +++ b/workflow/artifacts/raw/raw.go @@ -1,8 +1,8 @@ package raw import ( - "github.com/argoproj/argo/errors" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/errors" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" "os" ) diff --git a/workflow/artifacts/raw/raw_test.go b/workflow/artifacts/raw/raw_test.go index a846d7633124..96c2da270a64 100644 --- a/workflow/artifacts/raw/raw_test.go +++ b/workflow/artifacts/raw/raw_test.go @@ -1,8 +1,8 @@ package raw_test import ( - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/workflow/artifacts/raw" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/workflow/artifacts/raw" "github.com/stretchr/testify/assert" "io/ioutil" "os" diff --git a/workflow/artifacts/s3/s3.go b/workflow/artifacts/s3/s3.go index 9ea6e4ac68c7..af4154d0738f 100644 --- a/workflow/artifacts/s3/s3.go +++ b/workflow/artifacts/s3/s3.go @@ -5,7 +5,7 @@ import ( argos3 "github.com/argoproj/pkg/s3" log "github.com/sirupsen/logrus" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" ) // S3ArtifactDriver is a driver for AWS S3 diff --git a/workflow/common/common.go b/workflow/common/common.go index 88e4be4722ad..db880681511e 100644 --- a/workflow/common/common.go +++ b/workflow/common/common.go @@ -4,7 +4,7 @@ import ( "os" "time" - "github.com/argoproj/argo/pkg/apis/workflow" + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow" ) const ( diff --git a/workflow/common/util.go b/workflow/common/util.go index 97ece971eab7..141abaa38d9c 100644 --- a/workflow/common/util.go +++ b/workflow/common/util.go @@ -11,9 +11,9 @@ import ( "strings" "time" - "github.com/argoproj/argo/errors" - "github.com/argoproj/argo/pkg/apis/workflow" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/errors" + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" "github.com/ghodss/yaml" log "github.com/sirupsen/logrus" "github.com/valyala/fasttemplate" diff --git a/workflow/controller/config.go b/workflow/controller/config.go index 0caa9141fb4e..911afce724ea 100644 --- a/workflow/controller/config.go +++ b/workflow/controller/config.go @@ -3,6 +3,7 @@ package controller import ( "context" "fmt" + "io/ioutil" apiv1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" @@ -11,10 +12,10 @@ import ( "k8s.io/apimachinery/pkg/watch" "k8s.io/client-go/tools/cache" - "github.com/argoproj/argo/errors" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/workflow/common" - "github.com/argoproj/argo/workflow/metrics" + "github.com/CyrusBiotechnology/argo/errors" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/workflow/metrics" "github.com/ghodss/yaml" log "github.com/sirupsen/logrus" ) @@ -94,28 +95,50 @@ type GCSArtifactRepository struct { wfv1.GCSBucket `json:",inline"` } -// ResyncConfig reloads the controller config from the configmap +// ResyncConfig reloads the controller config from the configmap or configFile func (wfc *WorkflowController) ResyncConfig() error { - cmClient := wfc.kubeclientset.CoreV1().ConfigMaps(wfc.namespace) - cm, err := cmClient.Get(wfc.configMap, metav1.GetOptions{}) - if err != nil { - return errors.InternalWrapError(err) + + if wfc.configFile != "" { + log.Infof("Loading configfile from %s", wfc.configFile) + return wfc.updateConfigFromFile(wfc.configFile) + } else { + cmClient := wfc.kubeclientset.CoreV1().ConfigMaps(wfc.namespace) + cm, err := cmClient.Get(wfc.configMap, metav1.GetOptions{}) + if err != nil { + return errors.InternalWrapError(err) + } + return wfc.updateConfigFromConfigMap(cm) } - return wfc.updateConfig(cm) } -func (wfc *WorkflowController) updateConfig(cm *apiv1.ConfigMap) error { - configStr, ok := cm.Data[common.WorkflowControllerConfigMapKey] +func (wfc *WorkflowController) updateConfigFromConfigMap(cm *apiv1.ConfigMap) error { + configString, ok := cm.Data[common.WorkflowControllerConfigMapKey] if !ok { log.Warnf("ConfigMap '%s' does not have key '%s'", wfc.configMap, common.WorkflowControllerConfigMapKey) return nil } + + return wfc.updateConfig(configString) +} + +func (wfc *WorkflowController) updateConfigFromFile(filePath string) error { + fileData, err := ioutil.ReadFile(filePath) + if err != nil { + log.Errorf("Error reading config file %s", filePath) + return err + } + return wfc.updateConfig(string(fileData)) + +} + +func (wfc *WorkflowController) updateConfig(configString string) error { + var config WorkflowControllerConfig - err := yaml.Unmarshal([]byte(configStr), &config) + err := yaml.Unmarshal([]byte(configString), &config) if err != nil { return errors.InternalWrapError(err) } - log.Printf("workflow controller configuration from %s:\n%s", wfc.configMap, configStr) + log.Printf("workflow controller configuration from %s:\n%s", wfc.configMap, configString) if wfc.cliExecutorImage == "" && config.ExecutorImage == "" { return errors.Errorf(errors.CodeBadRequest, "ConfigMap '%s' does not have executorImage", wfc.configMap) } @@ -152,7 +175,7 @@ func (wfc *WorkflowController) watchControllerConfigMap(ctx context.Context) (ca AddFunc: func(obj interface{}) { if cm, ok := obj.(*apiv1.ConfigMap); ok { log.Infof("Detected ConfigMap update. Updating the controller config.") - err := wfc.updateConfig(cm) + err := wfc.updateConfigFromConfigMap(cm) if err != nil { log.Errorf("Update of config failed due to: %v", err) } @@ -166,7 +189,7 @@ func (wfc *WorkflowController) watchControllerConfigMap(ctx context.Context) (ca } if newCm, ok := new.(*apiv1.ConfigMap); ok { log.Infof("Detected ConfigMap update. Updating the controller config.") - err := wfc.updateConfig(newCm) + err := wfc.updateConfigFromConfigMap(newCm) if err != nil { log.Errorf("Update of config failed due to: %v", err) } diff --git a/workflow/controller/controller.go b/workflow/controller/controller.go index 4d45fb1d7807..501ebd0782da 100644 --- a/workflow/controller/controller.go +++ b/workflow/controller/controller.go @@ -22,12 +22,12 @@ import ( "k8s.io/client-go/tools/cache" "k8s.io/client-go/util/workqueue" - "github.com/argoproj/argo" - wfclientset "github.com/argoproj/argo/pkg/client/clientset/versioned" - "github.com/argoproj/argo/workflow/common" - "github.com/argoproj/argo/workflow/metrics" - "github.com/argoproj/argo/workflow/ttlcontroller" - "github.com/argoproj/argo/workflow/util" + "github.com/CyrusBiotechnology/argo" + wfclientset "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned" + "github.com/CyrusBiotechnology/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/workflow/metrics" + "github.com/CyrusBiotechnology/argo/workflow/ttlcontroller" + "github.com/CyrusBiotechnology/argo/workflow/util" ) // WorkflowController is the controller for workflow resources @@ -36,6 +36,8 @@ type WorkflowController struct { namespace string // configMap is the name of the config map in which to derive configuration of the controller from configMap string + // configFile is the path to a configuration file + configFile string // Config is the workflow controller's configuration Config WorkflowControllerConfig @@ -73,12 +75,15 @@ func NewWorkflowController( executorImage, executorImagePullPolicy, configMap string, + configFile string, ) *WorkflowController { + wfc := WorkflowController{ restConfig: restConfig, kubeclientset: kubeclientset, wfclientset: wfclientset, configMap: configMap, + configFile: configFile, namespace: namespace, cliExecutorImage: executorImage, cliExecutorImagePullPolicy: executorImagePullPolicy, @@ -128,11 +133,16 @@ func (wfc *WorkflowController) Run(ctx context.Context, wfWorkers, podWorkers in log.Infof("Workflow Controller (version: %s) starting", argo.GetVersion()) log.Infof("Workers: workflow: %d, pod: %d", wfWorkers, podWorkers) - log.Info("Watch Workflow controller config map updates") - _, err := wfc.watchControllerConfigMap(ctx) - if err != nil { - log.Errorf("Failed to register watch for controller config map: %v", err) - return + + if wfc.configFile != "" { + log.Info("A config file was specified. Ignoring the k8s configmap resource") + } else { + log.Info("Watch Workflow controller config map updates") + _, err := wfc.watchControllerConfigMap(ctx) + if err != nil { + log.Errorf("Failed to register watch for controller config map: %v", err) + return + } } wfc.wfInformer = util.NewWorkflowInformer(wfc.restConfig, wfc.Config.Namespace, workflowResyncPeriod, wfc.tweakWorkflowlist) diff --git a/workflow/controller/controller_test.go b/workflow/controller/controller_test.go index 4144fb10f9f2..b75310eeb5e3 100644 --- a/workflow/controller/controller_test.go +++ b/workflow/controller/controller_test.go @@ -7,8 +7,8 @@ import ( "io/ioutil" "testing" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - fakewfclientset "github.com/argoproj/argo/pkg/client/clientset/versioned/fake" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + fakewfclientset "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned/fake" "github.com/ghodss/yaml" "github.com/stretchr/testify/assert" apiv1 "k8s.io/api/core/v1" diff --git a/workflow/controller/dag.go b/workflow/controller/dag.go index dcd9c263209a..ae5202f466b5 100644 --- a/workflow/controller/dag.go +++ b/workflow/controller/dag.go @@ -5,9 +5,9 @@ import ( "fmt" "strings" - "github.com/argoproj/argo/errors" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/errors" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/workflow/common" "github.com/valyala/fasttemplate" ) diff --git a/workflow/controller/dag_test.go b/workflow/controller/dag_test.go index 3bb18102e8f7..dac8d4d3ff7f 100644 --- a/workflow/controller/dag_test.go +++ b/workflow/controller/dag_test.go @@ -5,8 +5,8 @@ import ( "github.com/stretchr/testify/assert" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/test" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/test" ) // TestDagXfail verifies a DAG can fail properly diff --git a/workflow/controller/exec_control.go b/workflow/controller/exec_control.go index 3f332d36f485..94d16eb4bda2 100644 --- a/workflow/controller/exec_control.go +++ b/workflow/controller/exec_control.go @@ -8,9 +8,9 @@ import ( apiv1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" - "github.com/argoproj/argo/errors" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/errors" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/workflow/common" ) // applyExecutionControl will ensure a pod's execution control annotation is up-to-date diff --git a/workflow/controller/operator.go b/workflow/controller/operator.go index ad7379cc34b9..c2206c22877d 100644 --- a/workflow/controller/operator.go +++ b/workflow/controller/operator.go @@ -21,13 +21,13 @@ import ( metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/client-go/tools/cache" - "github.com/argoproj/argo/errors" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/pkg/client/clientset/versioned/typed/workflow/v1alpha1" - "github.com/argoproj/argo/util/retry" - "github.com/argoproj/argo/workflow/common" - "github.com/argoproj/argo/workflow/util" - "github.com/argoproj/argo/workflow/validate" + "github.com/CyrusBiotechnology/argo/errors" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned/typed/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/util/retry" + "github.com/CyrusBiotechnology/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/workflow/util" + "github.com/CyrusBiotechnology/argo/workflow/validate" ) // wfOperationCtx is the context for evaluation and operation of a single workflow @@ -305,7 +305,7 @@ func (woc *wfOperationCtx) persistUpdates() { } // persistWorkflowSizeLimitErr will fail a the workflow with an error when we hit the resource size limit -// See https://github.com/argoproj/argo/issues/913 +// See https://github.com/CyrusBiotechnology/argo/issues/913 func (woc *wfOperationCtx) persistWorkflowSizeLimitErr(wfClient v1alpha1.WorkflowInterface, err error) { woc.wf = woc.orig.DeepCopy() woc.markWorkflowError(err, true) diff --git a/workflow/controller/operator_test.go b/workflow/controller/operator_test.go index e320535da3db..a4ac95107684 100644 --- a/workflow/controller/operator_test.go +++ b/workflow/controller/operator_test.go @@ -4,9 +4,9 @@ import ( "fmt" "testing" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/test" - "github.com/argoproj/argo/workflow/util" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/test" + "github.com/CyrusBiotechnology/argo/workflow/util" "github.com/stretchr/testify/assert" apiv1 "k8s.io/api/core/v1" "k8s.io/apimachinery/pkg/api/resource" diff --git a/workflow/controller/scope.go b/workflow/controller/scope.go index 2d1783acade5..b6e2fc1cdaec 100644 --- a/workflow/controller/scope.go +++ b/workflow/controller/scope.go @@ -3,8 +3,8 @@ package controller import ( "strings" - "github.com/argoproj/argo/errors" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/errors" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" ) // wfScope contains the current scope of variables available when executing a template diff --git a/workflow/controller/steps.go b/workflow/controller/steps.go index c1803f333349..60ca1067760c 100644 --- a/workflow/controller/steps.go +++ b/workflow/controller/steps.go @@ -6,9 +6,9 @@ import ( "strings" "github.com/Knetic/govaluate" - "github.com/argoproj/argo/errors" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/errors" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/workflow/common" "github.com/valyala/fasttemplate" ) diff --git a/workflow/controller/suspend.go b/workflow/controller/suspend.go index 7a60bdc9eded..7f7d2e50a738 100644 --- a/workflow/controller/suspend.go +++ b/workflow/controller/suspend.go @@ -1,7 +1,7 @@ package controller import ( - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" ) func (woc *wfOperationCtx) executeSuspend(nodeName string, tmpl *wfv1.Template, boundaryID string) *wfv1.NodeStatus { diff --git a/workflow/controller/workflowpod.go b/workflow/controller/workflowpod.go index e41610f60991..b492466969a5 100644 --- a/workflow/controller/workflowpod.go +++ b/workflow/controller/workflowpod.go @@ -7,9 +7,9 @@ import ( "path" "strconv" - "github.com/argoproj/argo/errors" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/errors" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/workflow/common" log "github.com/sirupsen/logrus" "github.com/valyala/fasttemplate" apiv1 "k8s.io/api/core/v1" diff --git a/workflow/controller/workflowpod_test.go b/workflow/controller/workflowpod_test.go index 5039994e0c9d..2563fb9d4532 100644 --- a/workflow/controller/workflowpod_test.go +++ b/workflow/controller/workflowpod_test.go @@ -3,7 +3,7 @@ package controller import ( "testing" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" "github.com/ghodss/yaml" "github.com/stretchr/testify/assert" apiv1 "k8s.io/api/core/v1" diff --git a/workflow/executor/docker/docker.go b/workflow/executor/docker/docker.go index 64ed6c87f734..39ae21de1083 100644 --- a/workflow/executor/docker/docker.go +++ b/workflow/executor/docker/docker.go @@ -7,10 +7,10 @@ import ( "strings" "time" - "github.com/argoproj/argo/util" + "github.com/CyrusBiotechnology/argo/util" - "github.com/argoproj/argo/errors" - "github.com/argoproj/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/errors" + "github.com/CyrusBiotechnology/argo/workflow/common" log "github.com/sirupsen/logrus" ) diff --git a/workflow/executor/executor.go b/workflow/executor/executor.go index a545e7ef58aa..fd4f9c202c55 100644 --- a/workflow/executor/executor.go +++ b/workflow/executor/executor.go @@ -19,17 +19,17 @@ import ( "syscall" "time" - "github.com/argoproj/argo/errors" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/util/retry" - artifact "github.com/argoproj/argo/workflow/artifacts" - "github.com/argoproj/argo/workflow/artifacts/artifactory" - "github.com/argoproj/argo/workflow/artifacts/gcs" - "github.com/argoproj/argo/workflow/artifacts/git" - "github.com/argoproj/argo/workflow/artifacts/http" - "github.com/argoproj/argo/workflow/artifacts/raw" - "github.com/argoproj/argo/workflow/artifacts/s3" - "github.com/argoproj/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/errors" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/util/retry" + artifact "github.com/CyrusBiotechnology/argo/workflow/artifacts" + "github.com/CyrusBiotechnology/argo/workflow/artifacts/artifactory" + "github.com/CyrusBiotechnology/argo/workflow/artifacts/gcs" + "github.com/CyrusBiotechnology/argo/workflow/artifacts/git" + "github.com/CyrusBiotechnology/argo/workflow/artifacts/http" + "github.com/CyrusBiotechnology/argo/workflow/artifacts/raw" + "github.com/CyrusBiotechnology/argo/workflow/artifacts/s3" + "github.com/CyrusBiotechnology/argo/workflow/common" argofile "github.com/argoproj/pkg/file" "github.com/fsnotify/fsnotify" log "github.com/sirupsen/logrus" diff --git a/workflow/executor/executor_test.go b/workflow/executor/executor_test.go index b6c7350c6265..2d2c1f00e9df 100644 --- a/workflow/executor/executor_test.go +++ b/workflow/executor/executor_test.go @@ -3,8 +3,8 @@ package executor import ( "testing" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/workflow/executor/mocks" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/workflow/executor/mocks" "github.com/stretchr/testify/assert" "k8s.io/client-go/kubernetes/fake" ) diff --git a/workflow/executor/kubelet/client.go b/workflow/executor/kubelet/client.go index 0d4332e3ca09..da107bc5a7dd 100644 --- a/workflow/executor/kubelet/client.go +++ b/workflow/executor/kubelet/client.go @@ -16,10 +16,10 @@ import ( "syscall" "time" - "github.com/argoproj/argo/util" + "github.com/CyrusBiotechnology/argo/util" - "github.com/argoproj/argo/errors" - "github.com/argoproj/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/errors" + "github.com/CyrusBiotechnology/argo/workflow/common" "github.com/gorilla/websocket" log "github.com/sirupsen/logrus" "k8s.io/api/core/v1" diff --git a/workflow/executor/kubelet/kubelet.go b/workflow/executor/kubelet/kubelet.go index 638cf8c078b8..3e943c7ec6f0 100644 --- a/workflow/executor/kubelet/kubelet.go +++ b/workflow/executor/kubelet/kubelet.go @@ -6,7 +6,7 @@ import ( "syscall" "time" - "github.com/argoproj/argo/errors" + "github.com/CyrusBiotechnology/argo/errors" log "github.com/sirupsen/logrus" ) diff --git a/workflow/executor/resource.go b/workflow/executor/resource.go index 086834509f70..e0de5ad92186 100644 --- a/workflow/executor/resource.go +++ b/workflow/executor/resource.go @@ -8,7 +8,7 @@ import ( "strings" "time" - "github.com/argoproj/argo/errors" + "github.com/CyrusBiotechnology/argo/errors" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "k8s.io/apimachinery/pkg/labels" diff --git a/workflow/metrics/collector.go b/workflow/metrics/collector.go index 960074d73cc4..142dabdd2014 100644 --- a/workflow/metrics/collector.go +++ b/workflow/metrics/collector.go @@ -7,8 +7,8 @@ import ( "github.com/prometheus/client_golang/prometheus" "k8s.io/client-go/tools/cache" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/workflow/util" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/workflow/util" ) var ( diff --git a/workflow/ttlcontroller/ttlcontroller.go b/workflow/ttlcontroller/ttlcontroller.go index 91d2b992bd52..2807d36505b8 100644 --- a/workflow/ttlcontroller/ttlcontroller.go +++ b/workflow/ttlcontroller/ttlcontroller.go @@ -17,10 +17,10 @@ import ( "k8s.io/client-go/tools/cache" "k8s.io/client-go/util/workqueue" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - wfclientset "github.com/argoproj/argo/pkg/client/clientset/versioned" - "github.com/argoproj/argo/workflow/common" - "github.com/argoproj/argo/workflow/util" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + wfclientset "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned" + "github.com/CyrusBiotechnology/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/workflow/util" ) const ( diff --git a/workflow/ttlcontroller/ttlcontroller_test.go b/workflow/ttlcontroller/ttlcontroller_test.go index 03d13ed3b2c2..001ba236fb66 100644 --- a/workflow/ttlcontroller/ttlcontroller_test.go +++ b/workflow/ttlcontroller/ttlcontroller_test.go @@ -4,9 +4,9 @@ import ( "testing" "time" - fakewfclientset "github.com/argoproj/argo/pkg/client/clientset/versioned/fake" - "github.com/argoproj/argo/test" - "github.com/argoproj/argo/workflow/util" + fakewfclientset "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned/fake" + "github.com/CyrusBiotechnology/argo/test" + "github.com/CyrusBiotechnology/argo/workflow/util" "github.com/stretchr/testify/assert" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "k8s.io/apimachinery/pkg/apis/meta/v1/unstructured" diff --git a/workflow/util/util.go b/workflow/util/util.go index cfc9e4cff82d..20c97df42185 100644 --- a/workflow/util/util.go +++ b/workflow/util/util.go @@ -26,15 +26,15 @@ import ( "k8s.io/client-go/rest" "k8s.io/client-go/tools/cache" - "github.com/argoproj/argo/errors" - "github.com/argoproj/argo/pkg/apis/workflow" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/pkg/client/clientset/versioned/typed/workflow/v1alpha1" - cmdutil "github.com/argoproj/argo/util/cmd" - "github.com/argoproj/argo/util/retry" - unstructutil "github.com/argoproj/argo/util/unstructured" - "github.com/argoproj/argo/workflow/common" - "github.com/argoproj/argo/workflow/validate" + "github.com/CyrusBiotechnology/argo/errors" + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/pkg/client/clientset/versioned/typed/workflow/v1alpha1" + cmdutil "github.com/CyrusBiotechnology/argo/util/cmd" + "github.com/CyrusBiotechnology/argo/util/retry" + unstructutil "github.com/CyrusBiotechnology/argo/util/unstructured" + "github.com/CyrusBiotechnology/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/workflow/validate" ) func NewDynamicWorkflowClient(config *rest.Config) (dynamic.Interface, error) { @@ -46,7 +46,7 @@ func NewDynamicWorkflowClient(config *rest.Config) (dynamic.Interface, error) { // a custom built UnstructuredInformer which is in actuality returning unstructured.Unstructured // objects. We no longer return WorkflowInformer due to: // https://github.com/kubernetes/kubernetes/issues/57705 -// https://github.com/argoproj/argo/issues/632 +// https://github.com/CyrusBiotechnology/argo/issues/632 func NewWorkflowInformer(cfg *rest.Config, ns string, resyncPeriod time.Duration, tweakListOptions internalinterfaces.TweakListOptionsFunc) cache.SharedIndexInformer { dclient, err := NewDynamicWorkflowClient(cfg) if err != nil { diff --git a/workflow/util/util_test.go b/workflow/util/util_test.go index 550affc03af2..e0eefd9056d7 100644 --- a/workflow/util/util_test.go +++ b/workflow/util/util_test.go @@ -3,7 +3,7 @@ package util import ( "testing" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" "github.com/stretchr/testify/assert" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" ) diff --git a/workflow/validate/lint.go b/workflow/validate/lint.go index e14414e6cce6..3498db372d5d 100644 --- a/workflow/validate/lint.go +++ b/workflow/validate/lint.go @@ -5,10 +5,10 @@ import ( "os" "path/filepath" - "github.com/argoproj/argo/errors" - "github.com/argoproj/argo/pkg/apis/workflow" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/errors" + "github.com/CyrusBiotechnology/argo/pkg/apis/workflow" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/workflow/common" "github.com/argoproj/pkg/json" ) diff --git a/workflow/validate/validate.go b/workflow/validate/validate.go index c9dca2a47bd4..b0f5a07d43a2 100644 --- a/workflow/validate/validate.go +++ b/workflow/validate/validate.go @@ -8,9 +8,9 @@ import ( "regexp" "strings" - "github.com/argoproj/argo/errors" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/workflow/common" + "github.com/CyrusBiotechnology/argo/errors" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/workflow/common" "github.com/valyala/fasttemplate" apivalidation "k8s.io/apimachinery/pkg/util/validation" ) diff --git a/workflow/validate/validate_test.go b/workflow/validate/validate_test.go index 235c92b5faad..f93f87111923 100644 --- a/workflow/validate/validate_test.go +++ b/workflow/validate/validate_test.go @@ -3,8 +3,8 @@ package validate import ( "testing" - wfv1 "github.com/argoproj/argo/pkg/apis/workflow/v1alpha1" - "github.com/argoproj/argo/test" + wfv1 "github.com/CyrusBiotechnology/argo/pkg/apis/workflow/v1alpha1" + "github.com/CyrusBiotechnology/argo/test" "github.com/ghodss/yaml" "github.com/stretchr/testify/assert" ) @@ -738,7 +738,7 @@ spec: - name: argo-source path: /src git: - repo: https://github.com/argoproj/argo.git + repo: https://github.com/CyrusBiotechnology/argo.git container: image: alpine:latest command: [sh, -c]