Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable CI on fork #1

Closed
wants to merge 13 commits into from
2 changes: 1 addition & 1 deletion .github/workflows/cleanup_cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
cleanup:
permissions:
actions: write
runs-on: intellabs-01
runs-on: ubuntu-latest
steps:
- name: Cleanup
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ permissions: read-all
jobs:
build_docs:
name: 'Build Docs'
runs-on: intellabs-01
runs-on: ubuntu-latest
container:
image: ghcr.io/sphinx-doc/sphinx:7.1.2
volumes:
Expand All @@ -46,7 +46,7 @@ jobs:
name: 'Deploy to GitHub Pages'
needs: build_docs
if: ${{ (github.event_name == 'push' || github.event_name == 'workflow_dispatch') && github.ref == 'refs/heads/main' }}
runs-on: intellabs-01
runs-on: ubuntu-latest
container:
image: ghcr.io/sphinx-doc/sphinx:7.1.2
environment:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ concurrency:
permissions: read-all
jobs:
build-and-push:
runs-on: intellabs-01
runs-on: ubuntu-latest
permissions:
packages: write
steps:
Expand All @@ -45,11 +45,11 @@ jobs:
context: .
file: .github/workflows/Dockerfile
push: true
tags: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref || steps.extract_branch.outputs.branch }}
tags: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref || steps.extract_branch.outputs.branch }}
build-args: |
ROS_DISTRO=${{ github.ref == 'refs/heads/main' && 'humble' || github.event.pull_request.base.ref == 'main' && 'humble' || github.event.pull_request.base.ref }}
test-devcontainer:
runs-on: intellabs-01
runs-on: ubuntu-latest
permissions:
packages: write
steps:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ permissions: read-all
jobs:
lint:
name: 'Super-linter'
runs-on: intellabs-01
runs-on: ubuntu-latest
container: 'ghcr.io/github/super-linter:v5.0.0'
permissions:
contents: read
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
FILTER_REGEX_EXCLUDE: .*/pull_request_template.md
trivy:
name: Trivy
runs-on: intellabs-01
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
Expand All @@ -52,7 +52,7 @@ jobs:
vuln-type: 'os,library'
bandit:
name: Bandit
runs-on: intellabs-01
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
Expand All @@ -63,7 +63,7 @@ jobs:
bandit -c .github/bandit.yaml -r .
license:
name: License check
runs-on: intellabs-01
runs-on: ubuntu-latest
container:
image: osrf/ros:humble-desktop
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ permissions: read-all
jobs:
analysis:
name: Scorecard analysis
runs-on: intellabs-01
runs-on: ubuntu-latest
permissions:
# Needed to upload the results to code-scanning dashboard.
security-events: write
Expand Down
66 changes: 33 additions & 33 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ permissions: read-all
jobs:
build:
#TODO model dependency to image-workflow. Workaround: retrigger run after image-workflow finished.
runs-on: intellabs-01
runs-on: ubuntu-latest
container:
image: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref }}
image: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -36,9 +36,9 @@ jobs:
key: ${{ runner.os }}-build-${{ github.run_number }}
test-scenario-execution:
needs: [build]
runs-on: intellabs-01
runs-on: ubuntu-latest
container:
image: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref }}
image: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -73,9 +73,9 @@ jobs:
path: ./**/TEST.xml
test-scenario-execution-ros:
needs: [build]
runs-on: intellabs-01
runs-on: ubuntu-latest
container:
image: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref }}
image: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -108,9 +108,9 @@ jobs:
path: ./**/TEST.xml
scenario-files-validation:
needs: [build]
runs-on: intellabs-01
runs-on: ubuntu-latest
container:
image: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref }}
image: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -131,9 +131,9 @@ jobs:
done
test-example-scenario:
needs: [build]
runs-on: intellabs-01
runs-on: ubuntu-latest
container:
image: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref }}
image: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -158,9 +158,9 @@ jobs:
path: test_example_scenario/test.xml
test-example-library:
needs: [build]
runs-on: intellabs-01
runs-on: ubuntu-latest
container:
image: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref }}
image: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -185,9 +185,9 @@ jobs:
path: test_example_library/test.xml
test-example-variation:
needs: [build]
runs-on: intellabs-01
runs-on: ubuntu-latest
container:
image: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref }}
image: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -213,9 +213,9 @@ jobs:
path: test_example_variation/test.xml
test-example-nav2:
needs: [build]
runs-on: intellabs-01
runs-on: ubuntu-latest
container:
image: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref }}
image: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -246,9 +246,9 @@ jobs:
path: test_example_nav2/test.xml
test-example-simulation:
needs: [build]
runs-on: intellabs-01
runs-on: ubuntu-latest
container:
image: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref }}
image: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -279,9 +279,9 @@ jobs:
path: test_example_simulation/test.xml
test-example-multirobot:
needs: [build]
runs-on: intellabs-01
runs-on: ubuntu-latest
container:
image: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref }}
image: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -331,9 +331,9 @@ jobs:
path: test_example_multirobot/**/rosbag*
test-example-external-method:
needs: [build]
runs-on: intellabs-01
runs-on: ubuntu-latest
container:
image: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref }}
image: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -360,9 +360,9 @@ jobs:
path: test_example_external_method/test.xml
test-example-moveit2:
needs: [build]
runs-on: intellabs-01
runs-on: ubuntu-latest
container:
image: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref }}
image: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -393,10 +393,10 @@ jobs:
path: test_example_moveit2/test.xml
test-scenario-execution-gazebo:
needs: [build]
runs-on: intellabs-01
runs-on: ubuntu-latest
timeout-minutes: 30
container:
image: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref }}
image: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -426,10 +426,10 @@ jobs:
path: test_scenario_execution_gazebo/test.xml
test-scenario-execution-nav2:
needs: [build]
runs-on: intellabs-01
runs-on: ubuntu-latest
timeout-minutes: 30
container:
image: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref }}
image: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -472,10 +472,10 @@ jobs:
path: test_scenario_execution_nav2/test_scenario_execution_nav2/example_nav2.mp4
test-scenario-execution-pybullet:
needs: [build]
runs-on: intellabs-01
runs-on: ubuntu-latest
timeout-minutes: 10
container:
image: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref }}
image: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -502,10 +502,10 @@ jobs:
path: test_scenario_execution_pybullet/test.xml
test-scenario-execution-x11:
needs: [build]
runs-on: intellabs-01
runs-on: ubuntu-latest
timeout-minutes: 3
container:
image: ghcr.io/intellabs/scenario-execution:${{ github.event.pull_request.base.ref }}
image: ghcr.io/cps-test-lab/scenario-execution:${{ github.event.pull_request.base.ref }}
credentials:
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
Expand Down Expand Up @@ -554,7 +554,7 @@ jobs:
- test-scenario-execution-nav2
- test-scenario-execution-pybullet
- test-scenario-execution-x11
runs-on: intellabs-01
runs-on: ubuntu-latest
if: ${{ always() }}
permissions:
checks: write
Expand Down
Loading