@@ -2,10 +2,9 @@ name: unit-integration-tests
22on :
33 push :
44 branches :
5- - github-action
5+ - develop
66 pull_request :
7- branches :
8- - github-action
7+
98env :
109 MAPPING : |
1110 build_nats_server=src/code.cloudfoundry.org/vendor/github.com/nats-io/nats-server/v2
@@ -35,18 +34,17 @@ jobs:
3534 - name : routing-release-repo
3635 uses : actions/checkout@v4
3736 with :
38- repository : kart2bc /routing-release.git
37+ repository : cloudfoundry /routing-release.git
3938 ref : develop
4039 submodules : recursive
4140 path : repo
4241 - name : Check out wg-appruntime code
4342 uses : actions/checkout@v4
4443 with :
45- repository : kart2bc /wg-app-platform-runtime-ci
44+ repository : cloudfoundry /wg-app-platform-runtime-ci
4645 path : ci
4746 - name : zip repo artifacts
4847 run : |
49- ls -l
5048 tar -czf repo-artifact.tar.gz repo
5149 tar -czf ci-artifact.tar.gz ci
5250 - name : upload artifact
@@ -60,30 +58,35 @@ jobs:
6058 runs-on : ubuntu-latest
6159 needs : repo-clone
6260 container :
63- image : cloudfoundry/tas-runtime-mysql-5.7
61+ image : us-central1-docker.pkg.dev/cf-diego-pivotal/tas-runtime-dockerhub-mirror/cloudfoundry/tas-runtime-build
62+ credentials :
63+ username : _json_key
64+ password : ${{ secrets.GCP_SERVICE_ACCOUNT_TAS_RUNTIME_BUILD_IMAGE_READER }}
6465 steps :
6566 - name : Download artifact
6667 uses : actions/download-artifact@v4
6768 with :
6869 name : repo
69- - run : " tar -xzvf repo-artifact.tar.gz\n tar -xzvf ci-artifact.tar.gz\n ls -lR ${GITHUB_WORKSPACE}/ci/routing-release/helpers/ \ n"
70+ - run : " tar -xzvf repo-artifact.tar.gz\n tar -xzvf ci-artifact.tar.gz\n "
7071 - name : template-tests
7172 run : |
7273 "${GITHUB_WORKSPACE}"/ci/shared/tasks/run-tests-templates/task.bash
7374 test-on-mysql-5-7 :
7475 runs-on : ubuntu-latest
7576 needs : repo-clone
7677 container :
77- image : cloudfoundry/tas-runtime-mysql-5.7
78+ image : us-central1-docker.pkg.dev/cf-diego-pivotal/tas-runtime-dockerhub-mirror/cloudfoundry/tas-runtime-mysql-5.7
79+ credentials :
80+ username : _json_key
81+ password : ${{ secrets.GCP_SERVICE_ACCOUNT_TAS_RUNTIME_BUILD_IMAGE_READER }}
7882 steps :
7983 - name : Download artifact
8084 uses : actions/download-artifact@v4
8185 with :
8286 name : repo
83- - run : " tar -xzvf repo-artifact.tar.gz\n tar -xzvf ci-artifact.tar.gz\n ls -lR ${GITHUB_WORKSPACE}/ci/routing-release/helpers/ \ n"
87+ - run : " tar -xzvf repo-artifact.tar.gz\n tar -xzvf ci-artifact.tar.gz\n "
8488 - name : build binaries
8589 run : |
86- ls -lR
8790 export DEFAULT_PARAMS="${GITHUB_WORKSPACE}/ci/routing-release/default-params/build-binaries/linux.yml"
8891 "${GITHUB_WORKSPACE}"/ci/shared/tasks/build-binaries/task.bash
8992 - name : gorouter-mysql
@@ -108,16 +111,18 @@ jobs:
108111 runs-on : ubuntu-latest
109112 needs : repo-clone
110113 container :
111- image : cloudfoundry/tas-runtime-build
114+ image : us-central1-docker.pkg.dev/cf-diego-pivotal/tas-runtime-dockerhub-mirror/cloudfoundry/tas-runtime-build
115+ credentials :
116+ username : _json_key
117+ password : ${{ secrets.GCP_SERVICE_ACCOUNT_TAS_RUNTIME_BUILD_IMAGE_READER }}
112118 steps :
113119 - name : Download artifact
114120 uses : actions/download-artifact@v4
115121 with :
116122 name : repo
117- - run : " tar -xzvf repo-artifact.tar.gz\n tar -xzvf ci-artifact.tar.gz\n ls -l \ n"
123+ - run : " tar -xzvf repo-artifact.tar.gz\n tar -xzvf ci-artifact.tar.gz\n "
118124 - name : build binaries
119125 run : |
120- ls -lR
121126 export DEFAULT_PARAMS="${GITHUB_WORKSPACE}/ci/routing-release/default-params/build-binaries/linux.yml"
122127 "${GITHUB_WORKSPACE}"/ci/shared/tasks/build-binaries/task.bash
123128 - name : multierror
@@ -142,16 +147,18 @@ jobs:
142147 runs-on : ubuntu-latest
143148 needs : repo-clone
144149 container :
145- image : cloudfoundry/tas-runtime-postgres
150+ image : us-central1-docker.pkg.dev/cf-diego-pivotal/tas-runtime-dockerhub-mirror/cloudfoundry/tas-runtime-postgres
151+ credentials :
152+ username : _json_key
153+ password : ${{ secrets.GCP_SERVICE_ACCOUNT_TAS_RUNTIME_BUILD_IMAGE_READER }}
146154 steps :
147155 - name : Download artifact
148156 uses : actions/download-artifact@v4
149157 with :
150158 name : repo
151- - run : " tar -xzvf repo-artifact.tar.gz\n tar -xzvf ci-artifact.tar.gz\n ls -l \ n"
159+ - run : " tar -xzvf repo-artifact.tar.gz\n tar -xzvf ci-artifact.tar.gz\n "
152160 - name : build binaries
153161 run : |
154- ls -lR
155162 export DEFAULT_PARAMS="${GITHUB_WORKSPACE}/ci/routing-release/default-params/build-binaries/linux.yml"
156163 "${GITHUB_WORKSPACE}"/ci/shared/tasks/build-binaries/task.bash
157164 - name : gorouter-mysql
@@ -176,16 +183,18 @@ jobs:
176183 runs-on : ubuntu-latest
177184 needs : repo-clone
178185 container :
179- image : cloudfoundry/tas-runtime-mysql-8.0
186+ image : us-central1-docker.pkg.dev/cf-diego-pivotal/tas-runtime-dockerhub-mirror/cloudfoundry/tas-runtime-mysql-8.0
187+ credentials :
188+ username : _json_key
189+ password : ${{ secrets.GCP_SERVICE_ACCOUNT_TAS_RUNTIME_BUILD_IMAGE_READER }}
180190 steps :
181191 - name : Download artifact
182192 uses : actions/download-artifact@v4
183193 with :
184194 name : repo
185- - run : " tar -xzvf repo-artifact.tar.gz\n tar -xzvf ci-artifact.tar.gz\n ls -l \ n"
195+ - run : " tar -xzvf repo-artifact.tar.gz\n tar -xzvf ci-artifact.tar.gz\n "
186196 - name : build binaries
187197 run : |
188- ls -lR
189198 export DEFAULT_PARAMS="${GITHUB_WORKSPACE}/ci/routing-release/default-params/build-binaries/linux.yml"
190199 "${GITHUB_WORKSPACE}"/ci/shared/tasks/build-binaries/task.bash
191200 - name : gorouter-mysql
0 commit comments