Skip to content

Commit

Permalink
Updated to use golang 1.20
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisjbell committed Jul 21, 2023
1 parent a2bd05a commit e81f796
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
6 changes: 0 additions & 6 deletions .final_builds/packages/golang-1.18-linux/index.yml

This file was deleted.

6 changes: 6 additions & 0 deletions .final_builds/packages/golang-1.20-linux/index.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
builds:
b09468ac73cd3350333a35eb09c980c6a06c5465be0e1ba430da62757dc10a04:
version: b09468ac73cd3350333a35eb09c980c6a06c5465be0e1ba430da62757dc10a04
blobstore_id: 75b6b580-93f4-407d-65fa-cce2fdd6a618
sha1: sha256:361aa374cef0980be90de984f909ccc5adc0078ff9a624d0adbf3a74046ee350
format-version: "2"
2 changes: 1 addition & 1 deletion jobs/smoke-tests/spec
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ templates:

packages:
- smoke-tests
- golang-1.18-linux
- golang-1.20-linux
- cf-cli-8-linux
- scheduler-cf-plugin

Expand Down
4 changes: 2 additions & 2 deletions jobs/smoke-tests/templates/run
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

# Prepare PATH with known bin directories.
export PATH=$PATH:/var/vcap/packages/cf-cli-8-linux/bin
export PATH=$PATH:/var/vcap/packages/golang-1.18-linux/bin
export PATH=$PATH:/var/vcap/packages/golang-1.20-linux/bin

echo "==="
echo "Setting up CF CLI environment..."
Expand Down Expand Up @@ -44,7 +44,7 @@ yes | cf install-plugin /var/vcap/packages/scheduler-cf-plugin/bin/scheduler-cf-

echo "==="
echo "Preparing Go runtime environment..."
source /var/vcap/packages/golang-1.18-linux/bosh/runtime.env
source /var/vcap/packages/golang-1.20-linux/bosh/runtime.env
export CGO_ENABLED=0

echo "==="
Expand Down
2 changes: 0 additions & 2 deletions packages/golang-1.18-linux/spec.lock

This file was deleted.

2 changes: 2 additions & 0 deletions packages/golang-1.20-linux/spec.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
name: golang-1.20-linux
fingerprint: b09468ac73cd3350333a35eb09c980c6a06c5465be0e1ba430da62757dc10a04
4 changes: 2 additions & 2 deletions packages/smoke-tests/spec
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
name: smoke-tests

dependencies:
- golang-1.18-linux
- golang-1.20-linux
- cf-cli-8-linux
- scheduler-cf-plugin

files:
- acceptance-tests/**
- vendor/**
- go.mod
- go.sum
- go.sum

0 comments on commit e81f796

Please sign in to comment.