Skip to content
This repository was archived by the owner on Nov 16, 2020. It is now read-only.

Commit 31042d7

Browse files
authored
Merge pull request #176 from berndtj/app-mgr-e2e
add application manager images to CI pipelines
2 parents 0490c4e + 14625a6 commit 31042d7

File tree

4 files changed

+56
-29
lines changed

4 files changed

+56
-29
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ darwin: ## build the server binary
8686
GOOS=darwin go build -o bin/api-manager-darwin ./cmd/api-manager
8787
GOOS=darwin go build -o bin/event-manager-darwin ./cmd/event-manager
8888
GOOS=darwin go build -o bin/event-driver-darwin ./cmd/event-driver
89-
GOOS=darwin go build -o bin/application-manager-linux ./cmd/application-manager
89+
GOOS=darwin go build -o bin/application-manager-darwin ./cmd/application-manager
9090
GOOS=darwin go build -o bin/dispatch-darwin ./cmd/dispatch
9191

9292
cli-darwin:

ci/e2e/collect-logs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ run:
5454
kubectl logs deploy/dispatch-secret-store -n ${DISPATCH_NAMESPACE} | sed 's/\\n/\n/g' > dispatch-secret-store.log 2>&1
5555
kubectl logs deploy/dispatch-event-manager -n ${DISPATCH_NAMESPACE} | sed 's/\\n/\n/g' > dispatch-event-manager.log 2>&1
5656
kubectl logs deploy/dispatch-api-manager -n ${DISPATCH_NAMESPACE} | sed 's/\\n/\n/g' > dispatch-api-manager.log 2>&1
57+
kubectl logs deploy/dispatch-application-manager -n ${DISPATCH_NAMESPACE} | sed 's/\\n/\n/g' > dispatch-application-manager.log 2>&1
5758
5859
# Postgres logs
5960
kubectl logs deploy/${POSTGRES_NAME}-postgresql -n ${DISPATCH_NAMESPACE} | sed 's/\\n/\n/g' > ${POSTGRES_NAME}-postgresql.log 2>&1

ci/pipelines/e2e.yml

Lines changed: 41 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -37,58 +37,66 @@ resources:
3737
- name: api-manager-image
3838
type: docker-image
3939
source:
40-
email: ((docker-hub-email))
41-
username: ((docker-hub-username))
42-
password: ((docker-hub-password))
43-
repository: ((docker-hub-org))/dispatch-api-manager
40+
email: ((artifactory-email))
41+
username: ((artifactory-username))
42+
password: ((artifactory-password))
43+
repository: ((artifactory-org))/dispatch-api-manager
4444

4545
- name: event-driver-image
4646
type: docker-image
4747
source:
48-
email: ((docker-hub-email))
49-
username: ((docker-hub-username))
50-
password: ((docker-hub-password))
51-
repository: ((docker-hub-org))/dispatch-event-driver
48+
email: ((artifactory-email))
49+
username: ((artifactory-username))
50+
password: ((artifactory-password))
51+
repository: ((artifactory-org))/dispatch-event-driver
5252

5353
- name: event-manager-image
5454
type: docker-image
5555
source:
56-
email: ((docker-hub-email))
57-
username: ((docker-hub-username))
58-
password: ((docker-hub-password))
59-
repository: ((docker-hub-org))/dispatch-event-manager
56+
email: ((artifactory-email))
57+
username: ((artifactory-username))
58+
password: ((artifactory-password))
59+
repository: ((artifactory-org))/dispatch-event-manager
6060

6161
- name: function-manager-image
6262
type: docker-image
6363
source:
64-
email: ((docker-hub-email))
65-
username: ((docker-hub-username))
66-
password: ((docker-hub-password))
67-
repository: ((docker-hub-org))/dispatch-function-manager
64+
email: ((artifactory-email))
65+
username: ((artifactory-username))
66+
password: ((artifactory-password))
67+
repository: ((artifactory-org))/dispatch-function-manager
6868

6969
- name: identity-manager-image
7070
type: docker-image
7171
source:
72-
email: ((docker-hub-email))
73-
username: ((docker-hub-username))
74-
password: ((docker-hub-password))
75-
repository: ((docker-hub-org))/dispatch-identity-manager
72+
email: ((artifactory-email))
73+
username: ((artifactory-username))
74+
password: ((artifactory-password))
75+
repository: ((artifactory-org))/dispatch-identity-manager
7676

7777
- name: image-manager-image
7878
type: docker-image
7979
source:
80-
email: ((docker-hub-email))
81-
username: ((docker-hub-username))
82-
password: ((docker-hub-password))
83-
repository: ((docker-hub-org))/dispatch-image-manager
80+
email: ((artifactory-email))
81+
username: ((artifactory-username))
82+
password: ((artifactory-password))
83+
repository: ((artifactory-org))/dispatch-image-manager
8484

8585
- name: secret-store-image
8686
type: docker-image
8787
source:
88-
email: ((docker-hub-email))
89-
username: ((docker-hub-username))
90-
password: ((docker-hub-password))
91-
repository: ((docker-hub-org))/dispatch-secret-store
88+
email: ((artifactory-email))
89+
username: ((artifactory-username))
90+
password: ((artifactory-password))
91+
repository: ((artifactory-org))/dispatch-secret-store
92+
93+
- name: application-manager-image
94+
type: docker-image
95+
source:
96+
email: ((artifactory-email))
97+
username: ((artifactory-username))
98+
password: ((artifactory-password))
99+
repository: ((artifactory-org))/dispatch-application-manager
92100

93101
- name: k8s-clusters
94102
type: pool
@@ -155,6 +163,11 @@ jobs:
155163
build: build-context
156164
dockerfile: build-context/secret-store/Dockerfile
157165
tag: build-context/tag
166+
- put: application-manager-image
167+
params:
168+
build: build-context
169+
dockerfile: build-context/application-manager/Dockerfile
170+
tag: build-context/tag
158171

159172
- name: deploy-and-run-tests
160173
public: true

ci/pipelines/release.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,14 @@ resources:
5656
password: ((docker-hub-password))
5757
repository: ((docker-hub-org))/dispatch-secret-store
5858

59+
- name: application-manager-release
60+
type: docker-image
61+
source:
62+
email: ((docker-hub-email))
63+
username: ((docker-hub-username))
64+
password: ((docker-hub-password))
65+
repository: ((docker-hub-org))/dispatch-application-manager
66+
5967
- name: dispatch-master
6068
type: git
6169
source:
@@ -156,6 +164,11 @@ jobs:
156164
build: build-context
157165
dockerfile: build-context/secret-store/Dockerfile
158166
tag: build-context/tag
167+
- put: application-manager-release
168+
params:
169+
build: build-context
170+
dockerfile: build-context/application-manager/Dockerfile
171+
tag: build-context/tag
159172
- task: push-charts
160173
file: dispatch/ci/release/push-charts.yml
161174
params:

0 commit comments

Comments
 (0)