Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
483d8c8
[ci] Remove SonarCloud
DiegoTavares Nov 19, 2026
daa1f7f
[ci] Move Apple Rust builds to the macos-15 runner
DiegoTavares Nov 19, 2026
7271c2f
[rust] Stop the rqd integration tests from hanging
DiegoTavares Nov 19, 2026
fdb130e
[ci] Build integration test images once and fail loudly
DiegoTavares Nov 19, 2026
4469cbf
[ci] Make COMPLETIONSTORM and SOLOFILL report-only in Maestro sim
DiegoTavares Nov 19, 2026
85d0a00
[ci] Fix small workflow defects
DiegoTavares Nov 19, 2026
616c90a
[ci] Bound every job and cancel superseded PR runs
DiegoTavares Nov 19, 2026
493cacc
[rust] Use a single silent process in the monitor timeout test on Win…
DiegoTavares Nov 19, 2026
ec563ee
[ci] Install CueGUI test deps with the interpreter that runs them
DiegoTavares Nov 19, 2026
1f1b496
[cuegui] Mock the Cuebot stub in tests that build wrappers
DiegoTavares Nov 19, 2026
8708f81
[ci] Build integration test images through compose
DiegoTavares Nov 19, 2026
fb1bf56
[ci] Keep Maestro metrics steps from failing the job
DiegoTavares Nov 19, 2026
cb36bab
[ci] Skip interpreter teardown after the CueGUI tests
DiegoTavares Nov 19, 2026
a9becc9
[rust] Retry the flaky rqd restart integration tests
DiegoTavares Nov 19, 2026
133a82f
[ci] Explain the os._exit workaround in run_gui_test.sh
DiegoTavares Nov 19, 2026
7e7d045
[rust] Apply cargo fmt
DiegoTavares Nov 19, 2026
e2bc731
[cueweb] Make the lint and test scripts pass
DiegoTavares Nov 19, 2026
5b13c54
[ci] Map changed paths to PR jobs
DiegoTavares Nov 19, 2026
8a0736d
[ci] Let run_python_lint.sh lint chosen packages
DiegoTavares Nov 19, 2026
60b52f7
[ci] Add reusable workflows for each component
DiegoTavares Nov 19, 2026
5586d90
[ci] Run pull requests through pr.yml and a single pr-gate check
DiegoTavares Nov 19, 2026
229cf74
[ci] Build the PR wheels on the oldest Python they install on
DiegoTavares Nov 20, 2026
d38f19d
[ci] Close three gaps in the PR job planner
DiegoTavares Nov 20, 2026
c4740e3
[ci] Run the integration test on images built with a layer cache
DiegoTavares Nov 20, 2026
db8d19d
[ci] Let master export the web images and Cuebot coverage
DiegoTavares Nov 20, 2026
98d6bf9
[ci] Run the heavy Maestro scenarios weekly instead of nightly
DiegoTavares Nov 20, 2026
7378257
[ci] Move the repository checks into checks.yml
DiegoTavares Nov 20, 2026
66e17b8
[ci] Replace the master pipelines with master.yml
DiegoTavares Nov 20, 2026
c743382
[all] Require Python 3.9 or newer
DiegoTavares Nov 20, 2026
8667582
[ci] Keep the intermediate Cuebot packages artifact for a week
DiegoTavares Nov 20, 2026
1bb2a9f
[ci] Stage master pushes that skip the Maestro scenarios
DiegoTavares Nov 20, 2026
7fc8ed9
[ci] Save the buildx, Rust and uv caches only from master
DiegoTavares Nov 20, 2026
106a6e0
[ci] Check the wheels against the Python floor and the build ID
DiegoTavares Nov 20, 2026
5fd2d94
[docs] State Python 3.9 as the minimum on the remaining pages
DiegoTavares Nov 20, 2026
2f8639a
[ci] Don't import cuegui in the headless install legs
DiegoTavares Nov 20, 2026
8d566ee
[rust] Show the restarted rqd's output when a restart test fails
DiegoTavares Nov 20, 2026
913351c
[rust] Drop exited processes from rqd's Linux process cache
DiegoTavares Nov 20, 2026
f558e12
[rust] Stop retrying the rqd restart integration tests
DiegoTavares Nov 20, 2026
f179179
Merge branch 'ci/phase-0-fixes' into ci/phase-1-pr-tier
DiegoTavares Nov 20, 2026
67749ab
Merge branch 'ci/phase-1-pr-tier' into ci/phase-2-master-tier
DiegoTavares Nov 20, 2026
ba7ac7a
[ci] Install protoc with setup-protoc in the Rust jobs
DiegoTavares Nov 20, 2026
3867662
[ci] Add ci/release.py to promote a green master build
DiegoTavares Nov 20, 2026
e990626
[ci] Release by promoting the master bundle, without rebuilding
DiegoTavares Nov 20, 2026
3499f61
[ci] Say why the CueWeb and REST gateway images are optional
DiegoTavares Nov 20, 2026
a39f867
[ci] Fail the release step when the file list can't be made
DiegoTavares Nov 20, 2026
d35c570
[ci] Harden the release: latest, image indexes, one bundle, draft lookup
DiegoTavares Nov 20, 2026
c076960
[ci] DO NOT MERGE: release dry run with the bundle pinned by ID
DiegoTavares Nov 20, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/build-python-packages/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ runs:
run: chmod uog+rwX packages/*.*

- name: Upload opencue packages
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: opencue_packages
path: packages
102 changes: 102 additions & 0 deletions .github/path-filters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,102 @@
# Changed paths to filters, for dorny/paths-filter in .github/workflows/pr.yml and master.yml.
#
# ci/plan_pr_jobs.py turns the matched filters into the PR jobs that run. master.yml runs
# everything, and uses `scheduler` and `ci` only to decide whether the Maestro scenarios run. A change matched by
# `ci`, the ci:full label, or a changed file no filter below matches turns every job on, so an
# unmapped path runs more, not less. ci/tests/test_plan_pr_jobs.py fails if a tracked file is
# unmapped.
#
# Patterns are picomatch globs. A pattern starting with `!` excludes from its own filter only
# (predicate-quantifier: some-with-excludes).

ci:
- ".github/**"
- "ci/**"
# The shared version of every package.
- "VERSION.in"

proto:
- "proto/**"

cuebot:
- "cuebot/**"

# What the Maestro scheduler depends on, not only what is named after it: its dispatch SQL
# lives in dao/postgres.
scheduler:
- "cuebot/src/main/java/com/imageworks/spcue/dispatcher/**"
- "cuebot/src/main/java/com/imageworks/spcue/dao/postgres/**"
- "cuebot/src/main/resources/opencue.properties"
- "cuebot/src/main/resources/conf/ddl/postgres/migrations/**"
- "sandbox/maestro-sim/**"

# One filter per Python package, named py-<directory>. Dependents are added from each
# package's pyproject.toml, so a pycue change also tests everything built on pycue.
py-pycue:
- "pycue/**"
py-pyoutline:
- "pyoutline/**"
py-cueadmin:
- "cueadmin/**"
py-cueman:
- "cueman/**"
py-cuecmd:
- "cuecmd/**"
py-cuesubmit:
- "cuesubmit/**"
py-cuegui:
- "cuegui/**"
py-cuenimby:
- "cuenimby/**"
py-rqd:
- "rqd/**"

# Wheel builds and the dependency license check.
packaging:
- "**/pyproject.toml"
- "rqd/winps/setup.py"

api-docs:
- "api_docs/**"

rust:
- "rust/**"

# What the Windows rqd jobs build and run.
rqd:
- "rust/crates/rqd/**"
- "rust/crates/opencue-proto/**"
- "rust/crates/dummy-cuebot/**"
- "rust/Cargo.*"
- "rust/.config/**"

cueweb:
- "cueweb/**"

gateway:
- "rest_gateway/**"

integration:
- "docker-compose.yml"
- ".dockerignore"
- "**/Dockerfile*"
- "**/*.Dockerfile"
- "sandbox/**"
- "!sandbox/maestro-sim/**"
- "ci/run_integration_test.sh"

# Paths no PR job tests. Listed so they don't count as unmapped.
untested:
- "docs/**"
- "tsc/**"
- "images/**"
- "samples/**"
- "*.md"
- "LICENSE"
- "CODEOWNERS"
- ".gitignore"
- ".gitattributes"

# Every changed file, to find the ones no filter above matches.
all:
- "**"
25 changes: 25 additions & 0 deletions .github/workflows/api-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: API docs

# Builds the Sphinx API reference, with warnings as errors.

on:
workflow_call:

jobs:
sphinx:
name: Sphinx build
runs-on: ubuntu-24.04
timeout-minutes: 10
container: aswf/ci-opencue:2024
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
fetch-tags: true
persist-credentials: false

- name: Mark repository as safe
run: git config --global --add safe.directory "${GITHUB_WORKSPACE}"

- name: Run Sphinx build
run: ci/build_sphinx_docs.sh
54 changes: 54 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Checks

# Repository checks that cover the whole tree: changed files, migrations, the version bump,
# the CI scripts' own tests and, optionally, the dependency licenses. The changed-file and
# version-bump checks look at the last commit (for a pull request, its merge commit).

on:
workflow_call:
inputs:
licenses:
description: Also check the licenses of the Python dependencies.
type: boolean
default: false

jobs:
checks:
name: Version, migration and changed-file checks
runs-on: ubuntu-24.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 2
persist-credentials: false

- name: Check changed files
run: |
readarray -t changed_files < <(git diff --name-status HEAD^1 HEAD | grep '^M' | awk '{print $2}')
ci/check_changed_files.py "${changed_files[@]}"

- name: Check database migration files
run: ci/check_database_migrations.py

- name: Check for version bump
run: |
readarray -t changed_files < <(git diff --name-status HEAD^1 HEAD | awk '{print $2}')
ci/check_version_bump.py "${changed_files[@]}"

- name: Test CI scripts and path filters
run: python3 -m unittest discover -s ci/tests -v

licenses:
name: Check Licenses of OpenCue Dependencies
if: inputs.licenses
runs-on: ubuntu-24.04
timeout-minutes: 10
container: python:3.9
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false

- name: Run license check
run: ci/check_licenses.sh
39 changes: 39 additions & 0 deletions .github/workflows/cuebot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Cuebot

# Builds Cuebot and runs its unit tests.

on:
workflow_call:
inputs:
coverage:
description: Also write the JaCoCo coverage report and upload it as cuebot-coverage.
type: boolean
default: false

jobs:
build:
name: Build and test
runs-on: ubuntu-24.04
timeout-minutes: 15
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false

- uses: actions/setup-java@v6
with:
java-version: "17"
distribution: temurin

- uses: gradle/actions/setup-gradle@8da46b539cd8fe6ab27ca75128919a18d757604c # v6.4.1

- name: Build with Gradle
working-directory: cuebot
run: ./gradlew build ${{ inputs.coverage && 'jacocoTestReport' || '' }} --stacktrace

- name: Upload coverage report
if: inputs.coverage
uses: actions/upload-artifact@v7
with:
name: cuebot-coverage
path: cuebot/build/reports/jacoco/
88 changes: 88 additions & 0 deletions .github/workflows/cueweb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
name: CueWeb

# Lints and tests CueWeb, then builds its image.

on:
workflow_call:
inputs:
build-id:
description: >-
Tag the image opencuebuild/cueweb:<build-id> and upload it as the image-cueweb artifact.
type: string
default: ""
outputs:
image-id:
description: Image ID of the built image.
value: ${{ jobs.image.outputs.image-id }}

jobs:
test:
name: Lint and test
runs-on: ubuntu-24.04
timeout-minutes: 10
defaults:
run:
working-directory: cueweb
env:
SENTRYCLI_SKIP_DOWNLOAD: 1
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false

- uses: actions/setup-node@v7
with:
node-version: "24"
cache: npm
cache-dependency-path: cueweb/package-lock.json

- name: Install dependencies
run: npm ci --no-audit --no-fund

- name: Lint
run: npm run lint

- name: Test
run: npm test -- --ci

image:
name: Build image
runs-on: ubuntu-24.04
outputs:
image-id: ${{ steps.build.outputs.imageid }}
timeout-minutes: 15
steps:
- uses: actions/checkout@v7
with:
persist-credentials: false

- uses: docker/setup-buildx-action@f87e5991a6d7451dcb8d9637bfbc97413f497069 # v4.4.1

# The About dialog shows the short SHA.
- name: Get short SHA
id: sha
run: echo "short=${GITHUB_SHA::7}" >> "${GITHUB_OUTPUT}"

- name: Build CueWeb image
id: build
uses: docker/build-push-action@c3c9e263c25d99ce0380d002d59b67737d91b0dc # v7.4.0
with:
context: cueweb
build-contexts: project_root=.
build-args: NEXT_PUBLIC_GIT_SHA=${{ steps.sha.outputs.short }}
tags: opencuebuild/cueweb:${{ inputs.build-id || 'ci' }}
outputs: ${{ inputs.build-id != '' && format('type=docker,dest={0}/cueweb.tar', runner.temp) || '' }}
cache-from: type=gha,scope=cueweb
# Only master writes the cache, which every pull request can read.
cache-to: ${{ github.ref == 'refs/heads/master' && 'type=gha,scope=cueweb,mode=max' || '' }}

- name: Upload image
if: inputs.build-id != ''
uses: actions/upload-artifact@v7
with:
name: image-cueweb
path: ${{ runner.temp }}/cueweb.tar
compression-level: 1
retention-days: 7
if-no-files-found: error
overwrite: true
2 changes: 2 additions & 0 deletions .github/workflows/docs-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ jobs:
# Build job
build:
runs-on: ubuntu-24.04
timeout-minutes: 10
strategy:
matrix:
include:
Expand Down Expand Up @@ -184,6 +185,7 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-24.04
timeout-minutes: 5
needs: build
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/main'
steps:
Expand Down
Loading
Loading