Skip to content

Commit

Permalink
Test 9
Browse files Browse the repository at this point in the history
  • Loading branch information
YisDav committed Nov 5, 2024
1 parent b717600 commit c38065e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/al_aio.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,15 @@ jobs:
id: compute-outputs
run: |
if [ "${{ inputs.SYSTEMS }}" != "null" && "${{ inputs.SYSTEMS }}" != "" ]; then
SYSTEMS_LIST="${{ inputs.SYSTEMS }}"
SYSTEMS_LIST=${{ inputs.SYSTEMS }}
else
SYSTEMS_LIST='["CentOS_8", "AmazonLinux_2", "Ubuntu_22", "RHEL8"]'
fi
echo "Selected systems: "
echo $SYSTEMS_LIST
echo "SYSTEMS_LIST=$SYSTEMS_LIST" >> $GITHUB_OUTPUT
echo "SYSTEMS_JSON=$(echo $SYSTEMS_LIST | jq -c '.')" >> $GITHUB_OUTPUT
outputs:
SYSTEMS_LIST: ${{ steps.compute-outputs.outputs.SYSTEMS_LIST }}
SYSTEMS_JSON: ${{ steps.compute-outputs.outputs.SYSTEMS_JSON }}
start-runner:
name: Start EC2 instance using allocator and run ansible playbook
runs-on: ubuntu-latest
Expand All @@ -61,7 +61,7 @@ jobs:
strategy:
matrix:
# system: ${{ toJson(needs.setup-runner.outputs.SYSTEMS_LIST) }}
system: ${{ toJson(needs.setup-runner.outputs.SYSTEMS_LIST) }}
system: ${{ fromJson(needs.setup-runner.outputs.SYSTEMS_JSON) }}
steps:
- name: Configure AWS credentials (assume role)
uses: aws-actions/configure-aws-credentials@v4
Expand Down

0 comments on commit c38065e

Please sign in to comment.