Skip to content

Refactoring Pull Request CI#599

Draft
paul-gerber-svg wants to merge 20 commits into
eclipse-basyx:developfrom
rwth-iat:ref/ci
Draft

Refactoring Pull Request CI#599
paul-gerber-svg wants to merge 20 commits into
eclipse-basyx:developfrom
rwth-iat:ref/ci

Conversation

@paul-gerber-svg

@paul-gerber-svg paul-gerber-svg commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Rename CI File to PR (Pull Request)

  • Implement Changes from CI: Reduce Action runs via trigger fix, concurrency, path filtering, and pip caching #518

    • Reduce Triggers: Pipeline only runs on Pull Requests and urgent pushes (develop, main)
    • Prevent concurrent pipeline runs
    • Add pip caching (excluding jobs: *-package to align with release pipeline
    • Path Filtering not implemented due to correctness concerns. Additionally, no major impact on run count can be expected
  • Fix Schema curl call CI: Fetching schemas via cURL fails #547.

    • Updated URL to aas-specs-metamodel and altered content of 'AAS_SPECS_RELEASE_TAG' to v3.1.2
  • Delete commented server-test

  • Remove sudo apt-get install –y bash gitfrom repository-check-copyright

    • Packages are already installed on ubuntu-latest runner (source)
  • Remove Explicit Shell Defines

  • Restrict jobs to read-only access by default

  • Pin gh-actions with digest

    • Updated versions to Node.js 24
  • Check Python Versions in Dockerfile Expand check-python-versions CI test to include Dockerfiles #480

    • Extended etc/scripts/check_python_versions_coincide.py to also check dockerfiles

Fixes #518, #547, #480

paul-gerber-svg and others added 10 commits July 23, 2026 15:36
Renaming CI definition file to PR (Pull Request) and change trigger
to only run once on pull request. Also prevent concurrent runs.
For testing pip caching, commented out jobs except a sample one.
Previously the pull_request pipeline did only test the docker image
build for the repository server variant.

We introduce a matrix job to run all three variants
 - repository
 - discovery
 - registry
Previously the docker daemon was used to determine if a docker container
is alive. This is a weak criterion as this is already checked by the
"Wait for container and sever initialization" step.

We changed the liveness check to rely on the `/description` endpoint
that all services are required to implement. A status `200 OK` is
interpreted as alive. The `X_API_VERSION` that is necessary for the
path of the curl call, is introduced as environment variable.
paul-gerber-svg and others added 10 commits July 23, 2026 15:45
Previously we checked in the pull_request CI only that all `pyproject.toml`
files requrire a python version that lies in bounds with
`X_PYTHON_MIN_VERSION` and `X_PYTHON_MAX_VERSION`.

We extended the check to also check the `Dockerfile` of the server
directory.
Temporarilly, the version is set in the `pyproject.toml` files.
Test a composite action to reduce duplication
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants