Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

Commit

Permalink
ci: add job to build our annotate image
Browse files Browse the repository at this point in the history
Co-authored-by: Mikael Manukyan <mmanukyan@vmware.com>
  • Loading branch information
KauzClay and mike1808 committed Aug 25, 2020
1 parent 8e6bf43 commit f48524c
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions ci/images.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,32 @@
resources:
# Deplab is a tool to annotate Docker images with additional metadata, such
# as SHA of the source code used to build an image, the list of used packages
# in the image, etc.
- name: deplab-task
type: docker-image
icon: docker
source:
repository: dev.registry.pivotal.io/navcon/deplab-task
tag: dev
username: pivotal-cf-networking@pivotal.io
password: ((pivotal_cf_networking_pivnet_password))

- name: gcr-deplab-task
type: docker-image
icon: docker
source:
repository: gcr.io/cf-routing/cf-k8s-networking/gcr-deplab-task
username: _json_key
password: ((shared_gcp_account_creds))

- name: annotate-image
type: docker-image
icon: docker
source:
repository: gcr.io/cf-routing/cf-k8s-networking/annotate
username: _json_key
password: ((shared_gcp_account_creds))

- name: k8s-deploy-image
type: docker-image
icon: docker
Expand Down Expand Up @@ -84,6 +112,30 @@ resources:
password: ((dockerhub_public.password))

jobs:
- name: build-annotate-image
plan:
- in_parallel:
- get: deplab-task
trigger: true
params:
save: true
- get: cf-k8s-networking
- get: cf-k8s-networking-ci
- get: cf-k8s-networking-docker-images
trigger: true
# TODO(ck,mm): this is a hack. We can't figure out how to pull from deplabs
# actual registry, so we copy the image into our own registry first, then
# use the copy as the source for our new annotate image
- put: gcr-deplab-task
params:
tag_as_latest: true
load: deplab-task
- put: annotate-image
params:
build: cf-k8s-networking-docker-images/ci/dockerfiles/annotate
tag_as_latest: true


- name: build-k8s-deploy-image
plan:
- in_parallel:
Expand Down

0 comments on commit f48524c

Please sign in to comment.