-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#164408493](https://www.pivotaltracker.com/story/show/164408493) Co-authored-by: Danny Berger <dberger@pivotal.io>
- Loading branch information
1 parent
d2012a8
commit ee2dd31
Showing
63 changed files
with
191 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
name: golang-1.12-test-windows | ||
|
||
templates: | ||
run.ps1: bin/run.ps1 | ||
|
||
packages: | ||
- golang-1.12-windows | ||
- golang-1.12-windows-test | ||
|
||
properties: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
try { | ||
Write-Host "Testing compile compatibility" | ||
& "C:\var\vcap\packages\golang-1.12-windows-test\bin\test.exe" | ||
|
||
Write-Host "Testing runtime compatibility" | ||
. C:\var\vcap\packages\golang-1.12-windows\bosh\runtime.ps1 | ||
go run C:\var\vcap\packages\golang-1.12-windows-test\test.go | ||
} catch { | ||
Write-Host "$_.Exception.Message" | ||
Exit 1 | ||
} | ||
|
||
Exit 0 |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: golang-1.12-test | ||
|
||
templates: | ||
run: bin/run | ||
|
||
packages: | ||
- golang-1.12-linux | ||
- golang-1.12-linux-test | ||
- golang-1.12-darwin-test | ||
|
||
properties: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
set -eux | ||
|
||
echo "Testing compile compability" | ||
/var/vcap/packages/golang-1.12-linux-test/bin/test | ||
|
||
echo "Testing runtime compability" | ||
source /var/vcap/packages/golang-1.12-linux/bosh/runtime.env | ||
go run /var/vcap/packages/golang-1.12-linux-test/test.go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
#!/bin/bash | ||
|
||
set -eux | ||
|
||
source /var/vcap/packages/golang-1.12-darwin/bosh/compile.env | ||
|
||
which go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
name: golang-1.12-darwin-test | ||
|
||
dependencies: | ||
- golang-1.12-darwin | ||
|
||
files: | ||
- test.go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
name: golang-1.12-darwin | ||
|
||
files: | ||
- 1.12/compile.env.darwin | ||
- 1.12/compile.env.generic | ||
- go1.12*.darwin-amd64.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
name: golang-1.12-linux-test | ||
|
||
dependencies: | ||
- golang-1.12-linux | ||
|
||
files: | ||
- test.go |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
set -e -x -u | ||
|
||
tar xzf go*.linux-amd64.tar.gz | ||
|
||
cp -R go/* ${BOSH_INSTALL_TARGET} | ||
|
||
mkdir ${BOSH_INSTALL_TARGET}/bosh | ||
cp 1.12/runtime.env.linux ${BOSH_INSTALL_TARGET}/bosh/runtime.env | ||
cp 1.12/compile.env.linux ${BOSH_INSTALL_TARGET}/bosh/compile.env | ||
cp 1.12/compile.env.generic ${BOSH_INSTALL_TARGET}/bosh/compile.env.generic |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
name: golang-1.12-linux | ||
|
||
files: | ||
- 1.12/runtime.env.linux | ||
- 1.12/compile.env.linux | ||
- 1.12/compile.env.generic | ||
- go1.12*.linux-amd64.tar.gz |
Oops, something went wrong.