@@ -2,7 +2,7 @@ name: unit-integration-tests
2
2
on :
3
3
pull_request_target :
4
4
branches :
5
- - develop
5
+ - test-gh-1
6
6
types :
7
7
- opened
8
8
- reopened
36
36
- name : routing-release-repo
37
37
uses : actions/checkout@v4
38
38
with :
39
- repository : cloudfoundry/routing-release.git
40
- ref : develop
39
+ repository : ${{ github.event.pull_request.head.repo.full_name }}
40
+ ref : ${{ github.event.pull_request.head.ref }}
41
41
submodules : recursive
42
42
path : repo
43
43
- name : Check out wg-appruntime code
69
69
uses : actions/download-artifact@v4
70
70
with :
71
71
name : repo
72
- - run : " tar -xzvf repo-artifact.tar.gz\n tar -xzvf ci-artifact.tar.gz\n "
72
+ - run : |
73
+ tar -xzvf repo-artifact.tar.gz
74
+ tar -xzvf ci-artifact.tar.gz
73
75
- name : template-tests
74
76
run : |
75
77
"${GITHUB_WORKSPACE}"/ci/shared/tasks/run-tests-templates/task.bash
86
88
uses : actions/download-artifact@v4
87
89
with :
88
90
name : repo
89
- - run : " tar -xzvf repo-artifact.tar.gz\n tar -xzvf ci-artifact.tar.gz\n "
91
+ - run : " tar -xzvf repo-artifact.tar.gz\n tar -xzvf ci-artifact.tar.gz \n "
90
92
- name : build binaries
91
93
run : |
92
94
export DEFAULT_PARAMS="${GITHUB_WORKSPACE}/ci/routing-release/default-params/build-binaries/linux.yml"
@@ -96,18 +98,21 @@ jobs:
96
98
DIR : src/code.cloudfoundry.org/gorouter
97
99
DB : mysql
98
100
run : |
101
+ "${GITHUB_WORKSPACE}"/ci/routing-release/helpers/configure-binaries.bash
99
102
"${GITHUB_WORKSPACE}"/ci/shared/tasks/run-bin-test/task.bash --keep-going --trace -r --fail-on-pending --randomize-all --nodes=7 --race --timeout 30m --flake-attempts 2
100
103
- name : cf-tcp-router-mysql
101
104
env :
102
105
DIR : src/code.cloudfoundry.org/cf-tcp-router
103
106
DB : mysql
104
107
run : |
108
+ "${GITHUB_WORKSPACE}"/ci/routing-release/helpers/configure-binaries.bash
105
109
"${GITHUB_WORKSPACE}"/ci/shared/tasks/run-bin-test/task.bash --keep-going --trace -r --fail-on-pending --randomize-all --nodes=7 --race --timeout 30m --flake-attempts 2
106
110
- name : routing-api-mysql
107
111
env :
108
112
DIR : src/code.cloudfoundry.org/routing-api
109
113
DB : mysql
110
114
run : |
115
+ "${GITHUB_WORKSPACE}"/ci/routing-release/helpers/configure-binaries.bash
111
116
"${GITHUB_WORKSPACE}"/ci/shared/tasks/run-bin-test/task.bash --keep-going --trace -r --fail-on-pending --randomize-all --nodes=7 --race --timeout 30m --flake-attempts 2
112
117
test-repos-withoutdb :
113
118
runs-on : ubuntu-latest
@@ -122,7 +127,9 @@ jobs:
122
127
uses : actions/download-artifact@v4
123
128
with :
124
129
name : repo
125
- - run : " tar -xzvf repo-artifact.tar.gz\n tar -xzvf ci-artifact.tar.gz\n "
130
+ - run : |
131
+ tar -xzvf repo-artifact.tar.gz
132
+ tar -xzvf ci-artifact.tar.gz
126
133
- name : build binaries
127
134
run : |
128
135
export DEFAULT_PARAMS="${GITHUB_WORKSPACE}/ci/routing-release/default-params/build-binaries/linux.yml"
@@ -158,7 +165,9 @@ jobs:
158
165
uses : actions/download-artifact@v4
159
166
with :
160
167
name : repo
161
- - run : " tar -xzvf repo-artifact.tar.gz\n tar -xzvf ci-artifact.tar.gz\n "
168
+ - run : |
169
+ tar -xzvf repo-artifact.tar.gz
170
+ tar -xzvf ci-artifact.tar.gz
162
171
- name : build binaries
163
172
run : |
164
173
export DEFAULT_PARAMS="${GITHUB_WORKSPACE}/ci/routing-release/default-params/build-binaries/linux.yml"
@@ -194,7 +203,9 @@ jobs:
194
203
uses : actions/download-artifact@v4
195
204
with :
196
205
name : repo
197
- - run : " tar -xzvf repo-artifact.tar.gz\n tar -xzvf ci-artifact.tar.gz\n "
206
+ - run : |
207
+ tar -xzvf repo-artifact.tar.gz
208
+ tar -xzvf ci-artifact.tar.gz
198
209
- name : build binaries
199
210
run : |
200
211
export DEFAULT_PARAMS="${GITHUB_WORKSPACE}/ci/routing-release/default-params/build-binaries/linux.yml"
0 commit comments