@@ -168,190 +168,6 @@ jobs:
168168 echo "🔨 Building Linux AMD64 FIPS..."
169169 sleep 3
170170 echo "✅ Linux AMD64 FIPS build passed!"
171- unit_tests :
172- runs-on : ubuntu-latest
173- timeout-minutes : 5
174- steps :
175- - uses : actions/checkout@v4
176- with :
177- ref : ${{ github.event.pull_request.head.sha || github.ref }}
178- - name : compute metadata
179- run : echo GITHUB_ACTIONS_BRANCH=${{ github.event.pull_request.number || github.ref_name}} >> "$GITHUB_ENV"
180- - name : flaky test simulation
181- uses : ./.github/actions/flaky-test-sim
182- with :
183- failure-rate : ${{ env.FLAKY_FAILURE_RATE }}
184- test-name : " unit tests"
185- - name : dummy unit tests
186- run : |
187- echo "🧪 Running unit tests..."
188- sleep 3
189- echo "✅ Unit tests passed!"name: GitHub Actions Essential CI (Master-gmq)
190- on :
191- merge_group :
192- pull_request :
193- types : [opened, reopened, synchronize]
194- branches :
195- - " master-gmq"
196- push :
197- branches :
198- - " master-gmq"
199- - " staging"
200- - " trying"
201- - " gmq-merge/**" # Support push-triggered mode for gmq Merge Queue
202- workflow_dispatch :
203- concurrency :
204- group : ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
205- cancel-in-progress : true
206-
207- env :
208- FLAKY_FAILURE_RATE : 10 # 10% chance of failure for non-stable branches
209- jobs :
210- acceptance :
211- runs-on : ubuntu-latest
212- timeout-minutes : 5
213- steps :
214- - uses : actions/checkout@v4
215- with :
216- ref : ${{ github.event.pull_request.head.sha || github.ref }}
217- - name : compute metadata
218- run : echo GITHUB_ACTIONS_BRANCH=${{ github.event.pull_request.number || github.ref_name}} >> "$GITHUB_ENV"
219- - name : flaky test simulation
220- uses : ./.github/actions/flaky-test-sim
221- with :
222- failure-rate : ${{ env.FLAKY_FAILURE_RATE }}
223- test-name : " acceptance tests"
224- - name : dummy acceptance tests
225- run : |
226- echo "🧪 Running acceptance tests..."
227- sleep 3
228- echo "✅ Acceptance tests passed!"
229- check_generated_code :
230- runs-on : ubuntu-latest
231- timeout-minutes : 5
232- steps :
233- - uses : actions/checkout@v4
234- with :
235- ref : ${{ github.event.pull_request.head.sha || github.ref }}
236- - name : compute metadata
237- run : echo GITHUB_ACTIONS_BRANCH=${{ github.event.pull_request.number || github.ref_name}} >> "$GITHUB_ENV"
238- - name : flaky test simulation
239- uses : ./.github/actions/flaky-test-sim
240- with :
241- failure-rate : ${{ env.FLAKY_FAILURE_RATE }}
242- test-name : " generated code check"
243- - name : dummy check generated code
244- run : |
245- echo "🔍 Checking generated code..."
246- sleep 3
247- echo "✅ Generated code check passed!"
248- docker_image_amd64 :
249- runs-on : ubuntu-latest
250- timeout-minutes : 5
251- steps :
252- - uses : actions/checkout@v4
253- with :
254- ref : ${{ github.event.pull_request.head.sha || github.ref }}
255- - name : compute metadata
256- run : echo GITHUB_ACTIONS_BRANCH=${{ github.event.pull_request.number || github.ref_name}} >> "$GITHUB_ENV"
257- - name : flaky test simulation
258- uses : ./.github/actions/flaky-test-sim
259- with :
260- failure-rate : ${{ env.FLAKY_FAILURE_RATE }}
261- test-name : " docker tests"
262- - name : dummy docker tests
263- run : |
264- echo "🐳 Running docker tests..."
265- sleep 3
266- echo "✅ Docker tests passed!"
267- examples_orms :
268- runs-on : ubuntu-latest
269- timeout-minutes : 5
270- steps :
271- - uses : actions/checkout@v4
272- with :
273- path : cockroach
274- ref : ${{ github.event.pull_request.head.sha || github.ref }}
275- - name : compute metadata
276- run : echo GITHUB_ACTIONS_BRANCH=${{ github.event.pull_request.number || github.ref_name}} >> "$GITHUB_ENV"
277- - name : dummy ORM tests
278- run : |
279- echo "🔗 Running ORM examples tests..."
280- sleep 3
281- echo "✅ ORM tests passed!"
282- lint :
283- runs-on : ubuntu-latest
284- timeout-minutes : 5
285- steps :
286- - uses : actions/checkout@v4
287- with :
288- ref : ${{ github.event.pull_request.head.sha || github.ref }}
289- submodules : true
290- - name : compute metadata
291- run : echo GITHUB_ACTIONS_BRANCH=${{ github.event.pull_request.number || github.ref_name}} >> "$GITHUB_ENV"
292- - name : dummy lint tests
293- run : |
294- echo "🧹 Running lint tests..."
295- sleep 3
296- echo "✅ Lint tests passed!"
297- local_roachtest :
298- runs-on : ubuntu-latest
299- timeout-minutes : 5
300- steps :
301- - uses : actions/checkout@v4
302- with :
303- ref : ${{ github.event.pull_request.head.sha || github.ref }}
304- submodules : true
305- - name : compute metadata
306- run : echo GITHUB_ACTIONS_BRANCH=${{ github.event.pull_request.number || github.ref_name}} >> "$GITHUB_ENV"
307- - name : dummy local roachtests
308- run : |
309- echo "🚀 Running local roachtests..."
310- sleep 3
311- echo "✅ Local roachtests passed!"
312- local_roachtest_fips :
313- runs-on : ubuntu-latest
314- timeout-minutes : 5
315- steps :
316- - uses : actions/checkout@v4
317- with :
318- ref : ${{ github.event.pull_request.head.sha || github.ref }}
319- submodules : true
320- - name : compute metadata
321- run : echo GITHUB_ACTIONS_BRANCH=${{ github.event.pull_request.number || github.ref_name}} >> "$GITHUB_ENV"
322- - name : dummy FIPS roachtests
323- run : |
324- echo "🔒 Running FIPS roachtests..."
325- sleep 3
326- echo "✅ FIPS roachtests passed!"
327- linux_amd64_build :
328- runs-on : ubuntu-latest
329- timeout-minutes : 5
330- steps :
331- - uses : actions/checkout@v4
332- with :
333- ref : ${{ github.event.pull_request.head.sha || github.ref }}
334- - name : compute metadata
335- run : echo GITHUB_ACTIONS_BRANCH=${{ github.event.pull_request.number || github.ref_name}} >> "$GITHUB_ENV"
336- - name : dummy build
337- run : |
338- echo "🔨 Building Linux AMD64..."
339- sleep 3
340- echo "✅ Linux AMD64 build passed!"
341- linux_amd64_fips_build :
342- runs-on : ubuntu-latest
343- timeout-minutes : 5
344- steps :
345- - uses : actions/checkout@v4
346- with :
347- ref : ${{ github.event.pull_request.head.sha || github.ref }}
348- - name : compute metadata
349- run : echo GITHUB_ACTIONS_BRANCH=${{ github.event.pull_request.number || github.ref_name}} >> "$GITHUB_ENV"
350- - name : dummy FIPS build
351- run : |
352- echo "🔨 Building Linux AMD64 FIPS..."
353- sleep 3
354- echo "✅ Linux AMD64 FIPS build passed!"
355171 unit_tests :
356172 runs-on : ubuntu-latest
357173 timeout-minutes : 5
0 commit comments