Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update apisnoop image build to work with new apisnoop app structure #19234

Merged
merged 2 commits into from
Sep 16, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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