blob: cdccc791cc6b5f809d8af8dad3245b34e6b00f33 [file] [edit]
name: CI - RBE
on:
pull_request:
paths-ignore:
- 'docs/decisions/**'
push:
branches:
- trunk
schedule:
- cron: "0 2 * * *"
workflow_dispatch:
inputs:
disable_test_cache:
description: 'Force re-run of tests (disable test cache)'
required: false
default: false
type: boolean
workflow_call:
concurrency:
group: ci-rbe-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
permissions:
contents: read
packages: read
jobs:
test:
name: Test
if: github.event.repository.fork == false
uses: ./.github/workflows/bazel.yml
with:
name: All RBE tests
rerun-with-debug: true
ruby-version: jruby-10.1.0.0
run: SKIP_RELEASE_ARTIFACTS=${{ startsWith(github.head_ref, 'release-preparation-') }} ./scripts/github-actions/ci-build.sh ${{ github.event_name == 'schedule' || github.event.inputs.disable_test_cache }}
# Warm stamped build cache prior to release
prepare-release:
name: Prepare Release
if: github.event.repository.fork == false && (github.ref == 'refs/heads/trunk' || startsWith(github.head_ref, 'release-preparation-'))
uses: ./.github/workflows/bazel.yml
with:
name: Prepare Release
ruby-version: jruby-10.1.0.0
run: ./scripts/github-actions/prepare-release.sh