Skip to content

fix wrong path

fix wrong path #10

Workflow file for this run

name: testing-workflow
on: push
jobs:
deploy-environment:
runs-on: [self-hosted, i2100038]
name: deploy environment
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/deploy-environment
with:
composefile-path: temp-composefile.yml
remote-repository: BenediktHaas96/testing
remote-deploytoken: ${{ secrets.SSH_PRIVKEY }}
remote-composefile: "myfolder/myfile.yml"
remote-path: ./deploy-env/
check-rendered-composefile:
needs: deploy-environment
runs-on: [self-hosted, i2100038]
name: check rendered composefile
steps:
- uses: actions/download-artifact@v4
with:
name: rendered-composefile
- shell: bash
run: cat temp-composefile.yml
generate-scenario-job-matrix:
needs: check-rendered-composefile
runs-on: [self-hosted, i2100038]
name: generate scenario job matrix
outputs:
matrix: ${{ steps.generate.outputs.matrix }}
steps:
- id: generate
uses: ./.github/actions/generate-job-matrix
with:
starting-point: ./tmpfolder
query-string: '*.xosc'
exclude-string: '*/catalogs/*'
run-scenarios:
needs: generate-scenario-job-matrix
runs-on: [self-hosted, i2100038]
name: Run ${{ matrix.filename }}
strategy:
fail-fast: false
matrix: ${{ fromJson(needs.generate-scenario-job-matrix.outputs.matrix) }}
steps:
- uses: ./.github/actions/run-scenario
with:
scenario-folder-path: ${{ matrix.filedir }}
scenario-file-name: ${{ matrix.filename }}
carla-hostname: carla-simulator
docker-network: tempcompose_default
destroy-environment:
needs: run-scenarios
runs-on: [self-hosted, i2100038]
name: destroy environment
steps:
- uses: actions/download-artifact@v4
with:
name: rendered-composefile
- shell: bash
run: |
docker compose -f temp-composefile.yml kill
docker compose -f temp-composefile.yml down