Skip to content

Commit

Permalink
Merge pull request #19234 from zachmandeville/apisnoop-image-build
Browse files Browse the repository at this point in the history
update apisnoop image build to work with new apisnoop app structure
  • Loading branch information
k8s-ci-robot authored Sep 16, 2020
2 parents 6ba6d17 + 8aca67b commit 336f809
Showing 1 changed file with 5 additions and 49 deletions.
54 changes: 5 additions & 49 deletions config/jobs/image-pushing/k8s-staging-apisnoop.yaml
Original file line number Diff line number Diff line change
@@ -1,27 +1,5 @@
postsubmits:
cncf/apisnoop:
- name: apisnoop-push-webapp-images
cluster: k8s-infra-prow-build-trusted
annotations:
testgrid-dashboards: conformance-apisnoop
testgrid-tab-name: apisnoop-webapp-image
testgrid-alert-email: apisnoop@ii.coop
description: Builds the webapp image for APISnoop deployments
decorate: true
branches:
- ^master$
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-testimages/image-builder:v20200901-ab141a0
command:
- /run.sh
args:
# this is the project GCB will run in, which is the same as the GCR images are pushed to.
- --project=k8s-staging-apisnoop
- --scratch-bucket=gs://k8s-staging-apisnoop-gcb
- --env-passthrough=PULL_BASE_REF
- apps/webapp/app
- name: apisnoop-push-auditlogger-images
cluster: k8s-infra-prow-build-trusted
annotations:
Expand All @@ -43,36 +21,14 @@ postsubmits:
- --project=k8s-staging-apisnoop
- --scratch-bucket=gs://k8s-staging-apisnoop-gcb
- --env-passthrough=PULL_BASE_REF
- apps/auditlogger/app
- name: apisnoop-push-postgres-images
cluster: k8s-infra-prow-build-trusted
annotations:
testgrid-dashboards: conformance-apisnoop
testgrid-tab-name: apisnoop-postgres-image
testgrid-alert-email: apisnoop@ii.coop
description: Builds the postgres image for APISnoop deployments
decorate: true
branches:
- ^master$
spec:
serviceAccountName: gcb-builder
containers:
- image: gcr.io/k8s-testimages/image-builder:v20200901-ab141a0
command:
- /run.sh
args:
# this is the project GCB will run in, which is the same as the GCR images are pushed to.
- --project=k8s-staging-apisnoop
- --scratch-bucket=gs://k8s-staging-apisnoop-gcb
- --env-passthrough=PULL_BASE_REF
- apps/postgres/app
- name: apisnoop-push-hasura-images
- apps/auditlogger
- name: apisnoop-push-snoopdb-images
cluster: k8s-infra-prow-build-trusted
annotations:
testgrid-dashboards: conformance-apisnoop
testgrid-tab-name: apisnoop-hasura-image
testgrid-tab-name: apisnoop-snoopdb-image
testgrid-alert-email: apisnoop@ii.coop
description: Builds the hasura image for APISnoop deployments
description: Builds the snoopdb image for APISnoop deployments
decorate: true
branches:
- ^master$
Expand All @@ -87,4 +43,4 @@ postsubmits:
- --project=k8s-staging-apisnoop
- --scratch-bucket=gs://k8s-staging-apisnoop-gcb
- --env-passthrough=PULL_BASE_REF
- apps/hasura/app
- apps/snoopdb

0 comments on commit 336f809

Please sign in to comment.