Skip to content

Commit c019343

Browse files
peanballramonskie
andcommitted
ci: Update test environment to Go latest
Replaces the cryogenics image with the `cloudfoundry` image, which is actually built from the Dockerfile. Co-authored-by: Ramon Makkelie <[email protected]>
1 parent a40f82f commit c019343

File tree

10 files changed

+13
-24
lines changed

10 files changed

+13
-24
lines changed

ci/dockerfiles/deployment/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.20
1+
FROM golang:latest
22
LABEL maintainer="https://github.com/cloudfoundry/bosh-bootloader"
33

44
ARG GITHUB_TOKEN
@@ -98,4 +98,4 @@ RUN curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2
9898
unzip awscliv2.zip && ./aws/install
9999

100100
RUN chown -R testuser:testuser /usr/local/go/pkg
101-
RUN chown -R testuser:testuser /go
101+
RUN chown -R testuser:testuser /go

ci/tasks/acceptance/task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ platform: linux
44
image_resource:
55
type: docker-image
66
source:
7-
repository: cryogenics/bbl-deployment
7+
repository: cloudfoundry/bbl-deployment
88

99
inputs:
1010
- name: bbl-ci

ci/tasks/build-release/task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ platform: linux
44
image_resource:
55
type: docker-image
66
source:
7-
repository: cryogenics/bbl-deployment
7+
repository: cloudfoundry/bbl-deployment
88

99
inputs:
1010
- name: bbl-ci

ci/tasks/bump-brew-tap/task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ platform: linux
44
image_resource:
55
type: docker-image
66
source:
7-
repository: cryogenics/bbl-deployment
7+
repository: cloudfoundry/bbl-deployment
88

99
inputs:
1010
- name: bbl-ci

ci/tasks/create-bosh-deployment-source-file/task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ platform: linux
44
image_resource:
55
type: docker-image
66
source:
7-
repository: cryogenics/bbl-deployment
7+
repository: cloudfoundry/bbl-deployment
88

99
inputs:
1010
- name: bbl-ci

ci/tasks/generate-version-from-sha/task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ platform: linux
44
image_resource:
55
type: docker-image
66
source:
7-
repository: cryogenics/bbl-deployment
7+
repository: cloudfoundry/bbl-deployment
88

99
inputs:
1010
- name: bbl-ci

ci/tasks/get-concourse-test-vars/task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ platform: linux
44
image_resource:
55
type: docker-image
66
source:
7-
repository: cryogenics/bbl-deployment
7+
repository: cloudfoundry/bbl-deployment
88

99
inputs:
1010
- name: bbl-ci

ci/tasks/setup-github-release/task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ platform: linux
44
image_resource:
55
type: docker-image
66
source:
7-
repository: cryogenics/bbl-deployment
7+
repository: cloudfoundry/bbl-deployment
88

99
inputs:
1010
- name: bbl-ci

ci/tasks/test-bosh-bootloader/task

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
11
#!/bin/bash -exu
22

3-
ROOT="${PWD}"
4-
5-
function main() {
6-
mkdir -p "${GOPATH}/src/github.com/cloudfoundry"
7-
8-
pushd "${GOPATH}/src/github.com/cloudfoundry" > /dev/null
9-
ln -s "${ROOT}/bosh-bootloader"
10-
local username="testuser"
11-
chown -R ${username}:${username} ${ROOT}/bosh-bootloader
12-
chpst -u ${username}:${username} env HOME=/home/${username} ./bosh-bootloader/scripts/test
13-
popd > /dev/null
14-
}
15-
16-
main
3+
username="testuser"
4+
chown -R ${username}:${username} ${PWD}/bosh-bootloader
5+
chpst -u ${username}:${username} env HOME=/home/${username} ${PWD}/bosh-bootloader/scripts/test

ci/tasks/test-bosh-bootloader/task.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ platform: linux
44
image_resource:
55
type: docker-image
66
source:
7-
repository: cryogenics/bbl-deployment
7+
repository: cloudfoundry/bbl-deployment
88

99
inputs:
1010
- name: bbl-ci

0 commit comments

Comments
 (0)