File tree Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Expand file tree Collapse file tree 4 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1111 file : git-ci/ci/tasks/build.yml
1212 params :
1313 APP_NAME : (( grab meta.name ))
14+ MODULE : (( grab meta.go.module ))
1415 - put : build
1516 params :
1617 file : build/*.tar.gz
Original file line number Diff line number Diff line change 1313 - task : test
1414 file : git-ci/ci/tasks/test.yml
1515 params :
16- APP_NAME : (( grab meta.name ))
16+ APP_NAME : (( grab meta.name ))
17+ MODULE : (( grab meta.go.module ))
1718 AWS_ACCESS_KEY : (( grab meta.aws.access_key ))
1819 AWS_SECRET_KEY : (( grab meta.aws.secret_key ))
1920 BOSH_ENVIRONMENT : (( grab meta.bosh.target ))
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ bail() {
1616exit 2
1717}
1818test -n " ${APP_NAME:- } " || bail " APP_NAME must be set to the name of this package."
19- # test -n "${MODULE:-}" || bail "MODULE must be set to the Go Module path of this package."
19+ test -n " ${MODULE:- } " || bail " MODULE must be set to the Go Module path of this package."
2020test -n " ${GOPATH:- } " || bail " Expecting GOPATH to be set -- make sure correct image is specified."
2121
2222test -f " ${VERSION_FROM} " || bail " Version file (${VERSION_FROM} ) not found."
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ bail() {
1717exit 2
1818}
1919test -n " ${APP_NAME:- } " || bail " APP_NAME must be set to the name of this package."
20- # test -n "${MODULE:-}" || bail "MODULE must be set to the Go Module path of this package."
20+ test -n " ${MODULE:- } " || bail " MODULE must be set to the Go Module path of this package."
2121test -n " ${GOPATH:- } " || bail " Expecting GOPATH to be set -- make sure correct image is specified."
2222
2323test -f " ${VERSION_FROM} " || bail " Version file (${VERSION_FROM} ) not found."
You can’t perform that action at this time.
0 commit comments