Skip to content

Refactoring Pull Request CI - #599

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

Refactoring Pull Request CI#599
paul-gerber-svg wants to merge 26 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
  • 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
  • Improve Docker Image building and testing Improve Docker image testing #479

    • Introduce composite actions to standardize docker image building .github/actions/build-server/action.yml
    • Use this action to test all three server profiles repository, discovery , registry in pull request pipeline
    • Change liveness check to rely on 200 OK response on /description endpoint
    • Add testing for ARM64 architecture running only in pull requests to main branch (.github/workflows/main.yml)
    • Also use composite action for releasing docker images
  • Minor Changes

    • 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 all third-party actions with digest
      • Updated versions to Node.js 24

Fixes #518, #547, #480, #479

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
paul-gerber-svg marked this pull request as ready for review July 27, 2026 08:11
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