Skip to content

Commit

Permalink
Use bosh golang-release for golang
Browse files Browse the repository at this point in the history
Most bosh-related pipelines already use bosh/golang-release to make the
right version of golang available. This makes the BPM docker image
consistent with the rest of the ecosystem.

Additionally, there was a create-release task that used golang as its
image. However, it does not appear to be used anywhere, and thus is
deleted.
  • Loading branch information
ystros committed Mar 13, 2024
1 parent dfbe8fa commit e8c4483
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 32 deletions.
2 changes: 1 addition & 1 deletion ci/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM golang:latest
FROM bosh/golang-release
MAINTAINER CF BPM <[email protected]>

RUN apt-get update && apt-get -y install \
Expand Down
16 changes: 0 additions & 16 deletions ci/create-release.yml

This file was deleted.

8 changes: 4 additions & 4 deletions ci/pipelines/bpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -105,10 +105,10 @@ resources:
username: ((bpm-docker.username))
password: ((bpm-docker.password))

- name: golang-image
- name: bosh-golang-release-image
type: docker-image
source:
repository: golang
repository: bosh/golang-release

- name: daily
type: time
Expand Down Expand Up @@ -427,7 +427,7 @@ jobs:
- get: bpm-ci
trigger: true
attempts: 3
- get: golang-image
- get: bosh-golang-release-image
trigger: true
attempts: 3
params: {save: true}
Expand All @@ -443,6 +443,6 @@ jobs:
- put: bpm-ci-image
attempts: 3
params:
load_base: golang-image
load_base: bosh-golang-release-image
build: .
dockerfile: bpm-ci/ci/Dockerfile
11 changes: 0 additions & 11 deletions ci/scripts/create-release

This file was deleted.

0 comments on commit e8c4483

Please sign in to comment.