mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-28 10:46:33 +08:00
ci(container): bump px4-dev to ghcr.io/px4/px4-dev:v1.17.0-rc2
Standardize on the GitHub Container Registry copy of px4-dev:v1.17.0-rc2 across workflows still pulling the old dockerhub v1.16.0-rc1 image, and move the workflows that were already on v1.17.0-beta1 from docker.io to ghcr.io so the whole repo pulls from one registry at the same version. Also modernize the "git ownership workaround" in the touched workflows that still used `git config --global --add safe.directory "$GITHUB_WORKSPACE"` to the `--system --add safe.directory '*'` form already in use by clang-tidy, flash_analysis, failsafe_sim, itcm_check, and docs-orchestrator. Updated workflows: - checks.yml - clang-tidy.yml (was on v1.17.0-beta1, now on rc2) - docs-orchestrator.yml (was on v1.17.0-beta1, two jobs) - ekf_functional_change_indicator.yml - ekf_update_change_indicator.yml - failsafe_sim.yml - flash_analysis.yml - itcm_check.yml - nuttx_env_config.yml Deliberately out of scope for this PR and deferred to focused follow-ups: - fetch-depth: 0 to 1 (firmware builds and flash_analysis base-ref checkout need git history) - PX4_SBOM_DISABLE removal in checks.yml (behavioral change) - fail-fast: false to true (behavioral change) - codecov-action upgrade No other workflows touched. compile_ubuntu.yml, ros_integration_tests.yml, sitl_tests.yml, mavros_*_tests.yml, fuzzing.yml, build_deb_package.yml, dev_container.yml all use different image families or serve different purposes and are not part of this sweep. Signed-off-by: Ramon Roche <mrpollo@gmail.com>
This commit is contained in:
@@ -21,7 +21,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: px4io/px4-dev:v1.16.0-rc1-258-g0369abd556
|
image: ghcr.io/px4/px4-dev:v1.17.0-rc2
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
@@ -50,7 +50,7 @@ jobs:
|
|||||||
PX4_SBOM_DISABLE: 1
|
PX4_SBOM_DISABLE: 1
|
||||||
run: |
|
run: |
|
||||||
cd "$GITHUB_WORKSPACE"
|
cd "$GITHUB_WORKSPACE"
|
||||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
git config --system --add safe.directory '*'
|
||||||
make ${{ matrix.check }}
|
make ${{ matrix.check }}
|
||||||
|
|
||||||
- name: Uploading Coverage to Codecov.io
|
- name: Uploading Coverage to Codecov.io
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ jobs:
|
|||||||
name: Clang-Tidy
|
name: Clang-Tidy
|
||||||
runs-on: [runs-on, runner=16cpu-linux-x64, "run-id=${{ github.run_id }}", "extras=s3-cache"]
|
runs-on: [runs-on, runner=16cpu-linux-x64, "run-id=${{ github.run_id }}", "extras=s3-cache"]
|
||||||
container:
|
container:
|
||||||
image: px4io/px4-dev:v1.17.0-beta1
|
image: ghcr.io/px4/px4-dev:v1.17.0-rc2
|
||||||
steps:
|
steps:
|
||||||
- uses: runs-on/action@v2
|
- uses: runs-on/action@v2
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|||||||
@@ -70,7 +70,7 @@ jobs:
|
|||||||
contents: read
|
contents: read
|
||||||
runs-on: [runs-on,runner=4cpu-linux-x64,image=ubuntu24-full-x64,"run-id=${{ github.run_id }}",spot=false,extras=s3-cache]
|
runs-on: [runs-on,runner=4cpu-linux-x64,image=ubuntu24-full-x64,"run-id=${{ github.run_id }}",spot=false,extras=s3-cache]
|
||||||
container:
|
container:
|
||||||
image: px4io/px4-dev:v1.17.0-beta1
|
image: ghcr.io/px4/px4-dev:v1.17.0-rc2
|
||||||
steps:
|
steps:
|
||||||
- uses: runs-on/action@v1
|
- uses: runs-on/action@v1
|
||||||
|
|
||||||
@@ -132,7 +132,7 @@ jobs:
|
|||||||
contents: write
|
contents: write
|
||||||
runs-on: [runs-on,runner=4cpu-linux-x64,image=ubuntu24-full-x64,"run-id=${{ github.run_id }}",spot=false,extras=s3-cache]
|
runs-on: [runs-on,runner=4cpu-linux-x64,image=ubuntu24-full-x64,"run-id=${{ github.run_id }}",spot=false,extras=s3-cache]
|
||||||
container:
|
container:
|
||||||
image: px4io/px4-dev:v1.17.0-beta1
|
image: ghcr.io/px4/px4-dev:v1.17.0-rc2
|
||||||
steps:
|
steps:
|
||||||
- uses: runs-on/action@v1
|
- uses: runs-on/action@v1
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: px4io/px4-dev:v1.16.0-rc1-258-g0369abd556
|
image: ghcr.io/px4/px4-dev:v1.17.0-rc2
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
- name: main test
|
- name: main test
|
||||||
run: |
|
run: |
|
||||||
cd "$GITHUB_WORKSPACE"
|
cd "$GITHUB_WORKSPACE"
|
||||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
git config --system --add safe.directory '*'
|
||||||
make tests TESTFILTER=EKF
|
make tests TESTFILTER=EKF
|
||||||
|
|
||||||
- name: Check if there is a functional change
|
- name: Check if there is a functional change
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: px4io/px4-dev:v1.16.0-rc1-258-g0369abd556
|
image: ghcr.io/px4/px4-dev:v1.17.0-rc2
|
||||||
|
|
||||||
env:
|
env:
|
||||||
GIT_COMMITTER_EMAIL: bot@px4.io
|
GIT_COMMITTER_EMAIL: bot@px4.io
|
||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
- name: main test
|
- name: main test
|
||||||
run: |
|
run: |
|
||||||
cd "$GITHUB_WORKSPACE"
|
cd "$GITHUB_WORKSPACE"
|
||||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
git config --system --add safe.directory '*'
|
||||||
make tests TESTFILTER=EKF
|
make tests TESTFILTER=EKF
|
||||||
|
|
||||||
- name: Check if there exists diff and save result in variable
|
- name: Check if there exists diff and save result in variable
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ jobs:
|
|||||||
"failsafe_web",
|
"failsafe_web",
|
||||||
]
|
]
|
||||||
container:
|
container:
|
||||||
image: px4io/px4-dev:v1.16.0-rc1-258-g0369abd556
|
image: ghcr.io/px4/px4-dev:v1.17.0-rc2
|
||||||
options: --privileged --ulimit core=-1 --security-opt seccomp=unconfined
|
options: --privileged --ulimit core=-1 --security-opt seccomp=unconfined
|
||||||
steps:
|
steps:
|
||||||
- name: Install Node v20.18.0
|
- name: Install Node v20.18.0
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ jobs:
|
|||||||
name: Analyzing ${{ matrix.target }}
|
name: Analyzing ${{ matrix.target }}
|
||||||
runs-on: [runs-on,runner=4cpu-linux-x64,image=ubuntu24-full-x64,"run-id=${{ github.run_id }}",spot=false]
|
runs-on: [runs-on,runner=4cpu-linux-x64,image=ubuntu24-full-x64,"run-id=${{ github.run_id }}",spot=false]
|
||||||
container:
|
container:
|
||||||
image: px4io/px4-dev:v1.16.0-rc1-258-g0369abd556
|
image: ghcr.io/px4/px4-dev:v1.17.0-rc2
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
target: [px4_fmu-v5x, px4_fmu-v6x]
|
target: [px4_fmu-v5x, px4_fmu-v6x]
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ jobs:
|
|||||||
name: Checking ${{ matrix.target }}
|
name: Checking ${{ matrix.target }}
|
||||||
runs-on: [runs-on,runner=4cpu-linux-x64,image=ubuntu24-full-x64,"run-id=${{ github.run_id }}",spot=false]
|
runs-on: [runs-on,runner=4cpu-linux-x64,image=ubuntu24-full-x64,"run-id=${{ github.run_id }}",spot=false]
|
||||||
container:
|
container:
|
||||||
image: px4io/px4-dev:v1.16.0-rc1-258-g0369abd556
|
image: ghcr.io/px4/px4-dev:v1.17.0-rc2
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
container:
|
container:
|
||||||
image: px4io/px4-dev:v1.16.0-rc1-258-g0369abd556
|
image: ghcr.io/px4/px4-dev:v1.17.0-rc2
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -36,7 +36,7 @@ jobs:
|
|||||||
- name: Build PX4 and Run Test [${{ matrix.config }}]
|
- name: Build PX4 and Run Test [${{ matrix.config }}]
|
||||||
run: |
|
run: |
|
||||||
cd "$GITHUB_WORKSPACE"
|
cd "$GITHUB_WORKSPACE"
|
||||||
git config --global --add safe.directory "$GITHUB_WORKSPACE"
|
git config --system --add safe.directory '*'
|
||||||
export PX4_EXTRA_NUTTX_CONFIG='CONFIG_NSH_LOGIN_PASSWORD="test";CONFIG_NSH_CONSOLE_LOGIN=y'
|
export PX4_EXTRA_NUTTX_CONFIG='CONFIG_NSH_LOGIN_PASSWORD="test";CONFIG_NSH_CONSOLE_LOGIN=y'
|
||||||
echo "PX4_EXTRA_NUTTX_CONFIG: $PX4_EXTRA_NUTTX_CONFIG"
|
echo "PX4_EXTRA_NUTTX_CONFIG: $PX4_EXTRA_NUTTX_CONFIG"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user