From 1e45f5bd36cd36e13e832d5bb52c8dca1f64cb25 Mon Sep 17 00:00:00 2001 From: Benedikt Haas Date: Tue, 28 May 2024 15:04:28 +0200 Subject: [PATCH] fix demo --- .github/actions/deploy-environment/action.yml | 2 -- .github/composite/simulation-testing/action.yml | 6 ++++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/actions/deploy-environment/action.yml b/.github/actions/deploy-environment/action.yml index d3208a9..122a452 100644 --- a/.github/actions/deploy-environment/action.yml +++ b/.github/actions/deploy-environment/action.yml @@ -29,8 +29,6 @@ runs: - name: Render Composefile shell: bash run: ${GITHUB_ACTION_PATH}/scripts/render-composefile.sh ${{ inputs.remote-path }}${{ inputs.remote-composefile }} ${{ inputs.composefile-path }} - env: - RENDERCOMPOSE_OUTFILE: ${{ inputs.composefile-path }} - name: Upload rendered Composefile uses: actions/upload-artifact@v4 with: diff --git a/.github/composite/simulation-testing/action.yml b/.github/composite/simulation-testing/action.yml index 343d834..cb7abd0 100644 --- a/.github/composite/simulation-testing/action.yml +++ b/.github/composite/simulation-testing/action.yml @@ -12,6 +12,9 @@ inputs: description: Deploy token that will be used to access the remote repository remote-composefile: description: Path to the Composefile(s) from the remote repository which should be downloaded + startup-delay: + description: Time to wait before scenarios should run so environment can start up properly + default: 5000 # Scenario exec scenario-runner-image: description: 'Image of the CARLA scenario runner' @@ -43,6 +46,9 @@ runs: remote-deploytoken: ${{ inputs.remote-deploytoken }} remote-composefile: ${{ inputs.remote-composefile }} remote-path: ./rendercompose-remote/ + - name: Wait for environment startup + shell: bash + run: sleep ${{ inputs.startup-delay }} - name: Run scenario uses: ./.github/actions/run-scenario with: