Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Improve naming in ci image build pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Hill committed Dec 3, 2018
1 parent ff607e5 commit c7955a4
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions docker/pipeline.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
---
resources:
- name: bbr-pipeline-tasks-repo
- name: dockerfile
type: git
source:
uri: https://github.com/pivotal-cf/bbr-pcf-pipeline-tasks.git
branch: master
paths: [docker/Dockerfile]

- name: bbr-pipeline-tasks-image
- name: bbr-pipeline-final
type: docker-image
source:
tag: final
repository: cloudfoundrylondon/bbr-pipeline
username: ((dockerhub-username))
password: ((dockerhub-password))

- name: bbr-pipeline-tasks-image-rc
- name: bbr-pipeline-rc
type: docker-image
source:
tag: release-candidate
Expand All @@ -30,25 +30,25 @@ resources:
tag: xenial

jobs:
- name: build-bbr-pipeline-tasks-image
- name: build-rc
public: true
serial: true
plan:
- get: ubuntu-xenial
trigger: true
- get: bbr-pipeline-tasks-repo
- get: dockerfile
trigger: true
- put: bbr-pipeline-tasks-image-rc
- put: bbr-pipeline-rc
params:
build: bbr-pipeline-tasks-repo/docker
build: dockerfile/docker

- name: test-image
- name: test-rc
serial: true
public: true
plan:
- get: bbr-pipeline-tasks-image-rc
- get: bbr-pipeline-rc
trigger: true
passed: [build-bbr-pipeline-tasks-image]
passed: [build-rc]
params:
skip_download: true
- task: test-for-required-binaries
Expand All @@ -72,13 +72,13 @@ jobs:
which fly
which nc
- name: promote-image
- name: promote-rc
public: true
serial: true
plan:
- get: bbr-pipeline-tasks-image-rc
- get: bbr-pipeline-rc
trigger: true
passed: [test-image]
passed: [test-rc]
params:
save: true
- task: write-tag-file
Expand All @@ -99,7 +99,7 @@ jobs:
set -e
mkdir -p tag_file/
echo "final" > tag_file/tag
- put: bbr-pipeline-tasks-image
- put: bbr-pipeline-final
params:
load: bbr-pipeline-tasks-image-rc
load: bbr-pipeline-rc
tag_file: tag_file/tag

0 comments on commit c7955a4

Please sign in to comment.