Skip to content

Commit

Permalink
ci: use haproxy testflight image in the pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
mtekel committed Nov 22, 2024
1 parent c15c53a commit b14cfbb
Showing 1 changed file with 14 additions and 56 deletions.
70 changes: 14 additions & 56 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,11 @@ jobs:
- do:
- get: git
trigger: true
- get: haproxy-boshrelease-testflight
- task: lint
image: haproxy-boshrelease-testflight
config:
platform: linux
image_resource:
type: docker-image
source:
repository: cf-routing.common.repositories.cloud.sap/haproxy-boshrelease-testflight
tag: latest
username: ((docker.username))
password: ((docker.password))
inputs:
- { name: git }
caches:
Expand All @@ -44,15 +39,9 @@ jobs:
params:
REPO_ROOT: git
- task: unit-tests
image: haproxy-boshrelease-testflight
config:
platform: linux
image_resource:
type: docker-image
source:
repository: cf-routing.common.repositories.cloud.sap/haproxy-boshrelease-testflight
tag: latest
username: ((docker.username))
password: ((docker.password))
inputs:
- { name: git }
caches:
Expand All @@ -77,21 +66,16 @@ jobs:
plan:
- do:
- { get: git-pull-requests, trigger: true, version: every }
- get: haproxy-boshrelease-testflight
- put: git-pull-requests
params:
path: git-pull-requests
status: pending
context: unit-tests
- task: lint
image: haproxy-boshrelease-testflight
config:
platform: linux
image_resource:
type: docker-image
source:
repository: cf-routing.common.repositories.cloud.sap/haproxy-boshrelease-testflight
tag: latest
username: ((docker.username))
password: ((docker.password))
inputs:
- { name: git-pull-requests }
caches:
Expand All @@ -103,15 +87,9 @@ jobs:
params:
REPO_ROOT: git-pull-requests
- task: unit-tests
image: haproxy-boshrelease-testflight
config:
platform: linux
image_resource:
type: docker-image
source:
repository: cf-routing.common.repositories.cloud.sap/haproxy-boshrelease-testflight
tag: latest
username: ((docker.username))
password: ((docker.password))
inputs:
- { name: git-pull-requests }
caches:
Expand Down Expand Up @@ -145,17 +123,12 @@ jobs:
- { get: stemcell }
- { get: stemcell-bionic }
- { get: bpm }
- get: haproxy-boshrelease-testflight
- task: acceptance-tests
privileged: true
image: haproxy-boshrelease-testflight
config:
platform: linux
image_resource:
type: docker-image
source:
repository: cf-routing.common.repositories.cloud.sap/haproxy-boshrelease-testflight
tag: latest
username: ((docker.username))
password: ((docker.password))
inputs:
- { name: git }
- { name: stemcell }
Expand Down Expand Up @@ -183,6 +156,7 @@ jobs:
- { get: stemcell }
- { get: stemcell-bionic }
- { get: bpm }
- get: haproxy-boshrelease-testflight
- put: git-pull-requests
params:
path: git-pull-requests
Expand All @@ -192,15 +166,9 @@ jobs:
list_changed_files: true
- task: acceptance-tests
privileged: true
image: haproxy-boshrelease-testflight
config:
platform: linux
image_resource:
type: docker-image
source:
repository: cf-routing.common.repositories.cloud.sap/haproxy-boshrelease-testflight
tag: latest
username: ((docker.username))
password: ((docker.password))
inputs:
- { name: git-pull-requests }
- { name: stemcell }
Expand Down Expand Up @@ -291,16 +259,11 @@ jobs:
- in_parallel:
- { get: version, passed: [rc], params: {bump: final} }
- { get: git, passed: [rc] }
- get: haproxy-boshrelease-testflight
- task: release
image: haproxy-boshrelease-testflight
config:
platform: linux
image_resource:
type: docker-image
source:
repository: cf-routing.common.repositories.cloud.sap/haproxy-boshrelease-testflight
tag: latest
username: ((docker.username))
password: ((docker.password))
inputs:
- name: version
- name: git
Expand Down Expand Up @@ -357,18 +320,13 @@ jobs:
- get: daily
trigger: true
- get: git
- get: haproxy-boshrelease-testflight
- task: autobump-dependencies
image: haproxy-boshrelease-testflight
config:
inputs:
- name: git
platform: linux
image_resource:
type: docker-image
source:
repository: cf-routing.common.repositories.cloud.sap/haproxy-boshrelease-testflight
tag: latest
username: ((docker.username))
password: ((docker.password))
run:
dir: git
path: /usr/bin/python3
Expand Down

0 comments on commit b14cfbb

Please sign in to comment.