Skip to content

Commit

Permalink
fix: generate no-db manifests
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec committed Jan 27, 2020
1 parent a37562a commit ef1c403
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 13 deletions.
10 changes: 3 additions & 7 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -194,16 +194,12 @@ codegen:
go run ./hack/gen-openapi-spec/main.go $(VERSION) > ./api/openapi-spec/swagger.json

.PHONY: verify-codegen
verify-codegen:
verify-codegen: codegen
# Verify generated code
./hack/verify-codegen.sh
./hack/update-openapigen.sh --verify-only
mkdir -p ./dist
go run ./hack/gen-openapi-spec/main.go $(VERSION) > ./dist/swagger.json
diff ./dist/swagger.json ./api/openapi-spec/swagger.json
git diff --exit-code

.PHONY: manifests
manifests: manifests/install.yaml manifests/namespace-install.yaml manifests/quick-start-mysql.yaml manifests/quick-start-postgres.yaml test/e2e/manifests/postgres.yaml test/e2e/manifests/mysql.yaml
manifests: manifests/install.yaml manifests/namespace-install.yaml manifests/quick-start-mysql.yaml manifests/quick-start-postgres.yaml manifests/quick-start-no-db.yaml test/e2e/manifests/postgres.yaml test/e2e/manifests/mysql.yaml test/e2e/manifests/no-db.yaml

# we use a different file to ./VERSION to force updating manifests after a `make clean`
dist/MANIFESTS_VERSION:
Expand Down
2 changes: 1 addition & 1 deletion api/openapi-spec/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"swagger": "2.0",
"info": {
"title": "Argo",
"version": "v2.5.0-rc2"
"version": "release-2.5"
},
"paths": {},
"definitions": {
Expand Down
2 changes: 1 addition & 1 deletion manifests/install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ spec:
- --configmap
- workflow-controller-configmap
- --executor-image
- argoproj/argoexec:v2.5.0-rc2
- argoproj/argoexec:release-2.5
command:
- workflow-controller
image: argoproj/workflow-controller:v2.5.0-rc2
Expand Down
2 changes: 1 addition & 1 deletion manifests/namespace-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ spec:
- --configmap
- workflow-controller-configmap
- --executor-image
- argoproj/argoexec:v2.5.0-rc2
- argoproj/argoexec:release-2.5
- --namespaced
command:
- workflow-controller
Expand Down
2 changes: 1 addition & 1 deletion manifests/quick-start-mysql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ spec:
- --configmap
- workflow-controller-configmap
- --executor-image
- argoproj/argoexec:v2.5.0-rc2
- argoproj/argoexec:release-2.5
- --namespaced
command:
- workflow-controller
Expand Down
2 changes: 1 addition & 1 deletion manifests/quick-start-no-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ spec:
- --configmap
- workflow-controller-configmap
- --executor-image
- argoproj/argoexec:v2.5.0-rc2
- argoproj/argoexec:release-2.5
- --namespaced
command:
- workflow-controller
Expand Down
2 changes: 1 addition & 1 deletion manifests/quick-start-postgres.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ spec:
- --configmap
- workflow-controller-configmap
- --executor-image
- argoproj/argoexec:v2.5.0-rc2
- argoproj/argoexec:release-2.5
- --namespaced
command:
- workflow-controller
Expand Down

0 comments on commit ef1c403

Please sign in to comment.