Skip to content
Merged
Show file tree
Hide file tree
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
12 changes: 12 additions & 0 deletions ci/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,15 @@ resources:
access_token: ((ard_wg_gitbot_token))
tag_filter: 'v(8\.[^v].*)'

- name: gh-cli-github-release
type: github-release
icon: github
source:
user: cli
repository: cli
access_token: ((ard_wg_gitbot_token))
tag_filter: 'v(.*)'

- name: credhub-cli-github-release
type: github-release
icon: github
Expand Down Expand Up @@ -127,6 +136,8 @@ jobs:
trigger: true
- get: cf-cli-github-release
trigger: true
- get: gh-cli-github-release
trigger: true
- get: cf-deployment-concourse-tasks-dockerfile
trigger: true
- get: credhub-cli-github-release
Expand All @@ -143,6 +154,7 @@ jobs:
file: cf-deployment-concourse-tasks-dockerfile/ci/tasks/update-cf-d-ct-dockerfile-versions/task.yml
input_mapping:
cf-cli: cf-cli-github-release
gh-cli: gh-cli-github-release
cf-deployment-concourse-tasks: cf-deployment-concourse-tasks-dockerfile
- put: cf-deployment-concourse-tasks-pipeline-image
params:
Expand Down
1 change: 1 addition & 0 deletions ci/tasks/update-cf-d-ct-dockerfile-versions/task
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ dockerfile="cf-deployment-concourse-tasks/dockerfiles/cf-deployment-concourse-ta
sed -i "s/ENV bbl_version.*$/ENV bbl_version $(cat bbl-github-release/version)/" $dockerfile
sed -i "s/ENV bosh_cli_version.*$/ENV bosh_cli_version $(cat bosh-cli-github-release/version)/" $dockerfile
sed -i "s/ENV cf_cli_version.*$/ENV cf_cli_version $(cat cf-cli/version)/" $dockerfile
sed -i "s/ENV gh_cli_version.*$/ENV gh_cli_version $(cat gh-cli/version)/" $dockerfile
sed -i "s/ENV credhub_cli_version.*$/ENV credhub_cli_version $(cat credhub-cli-github-release/version)/" $dockerfile
sed -i "s/ENV log_cache_cli_version.*$/ENV log_cache_cli_version $(cat log-cache-cli-github-release/version)/" $dockerfile
sed -i "s/ENV terraform_version.*$/ENV terraform_version $(cat terraform-github-release/version)/" $dockerfile
Expand Down
1 change: 1 addition & 0 deletions ci/tasks/update-cf-d-ct-dockerfile-versions/task.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ inputs:
- name: bbl-github-release
- name: bosh-cli-github-release
- name: cf-cli
- name: gh-cli
- name: cf-deployment-concourse-tasks
- name: credhub-cli-github-release
- name: log-cache-cli-github-release
Expand Down
12 changes: 12 additions & 0 deletions dockerfiles/cf-deployment-concourse-tasks/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM golang:1.26.4-bookworm
ENV bbl_version 9.0.45
ENV bosh_cli_version 7.10.6
ENV cf_cli_version 8.18.4
ENV gh_cli_version 2.76.1
ENV credhub_cli_version 2.9.58
ENV log_cache_cli_version 6.2.1
ENV terraform_version 1.15.8
Expand Down Expand Up @@ -61,6 +62,17 @@ RUN set -eux; \
cf version; \
rm -rf /tmp/cf

# gh
RUN set -eux; \
mkdir -p /tmp/gh; \
url="https://github.com/cli/cli/releases/download/v${gh_cli_version}/gh_${gh_cli_version}_linux_amd64.tar.gz"; \
wget "${url}" -O /tmp/gh/gh.tar.gz; \
tar -xzf /tmp/gh/gh.tar.gz -C /tmp/gh; \
mv /tmp/gh/gh_${gh_cli_version}_linux_amd64/bin/gh /usr/local/bin/gh; \
chmod +x /usr/local/bin/gh; \
gh --version; \
rm -rf /tmp/gh

# credhub
RUN set -eux; \
mkdir -p /tmp/credhub; \
Expand Down