Skip to content

Commit

Permalink
Test update SG, role policy updated
Browse files Browse the repository at this point in the history
  • Loading branch information
fcaffieri committed Dec 24, 2024
1 parent ae127d6 commit 8d6b3ae
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/offline-installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,14 +180,14 @@ jobs:
-e "install_pip_deps=$INSTALL_PIP_DEPS" \
"$VERBOSITY"
#- name: Get instance-id
# run: |
# INSTANCE_ID=$(aws ec2 describe-instances --query 'Reservations[0].Instances[0].InstanceId' --filters "Name=tag:Name,Values=gha_${{ github.#run_id }}_assistant_test" --output text)
# echo "INSTANCE_ID=$INSTANCE_ID" >> $GITHUB_ENV
#
#- name: Change security group
# run: |
# aws ec2 modify-instance-attribute --instance-id ${{ env.INSTANCE_ID }} --groups sg-03c53339089a65829
- name: Get instance-id
run: |
INSTANCE_ID=$(aws ec2 describe-instances --query 'Reservations[0].Instances[0].InstanceId' --filters "Name=tag:Name,Values=gha_${{ github.run_id }}_assistant_test" --output text)
echo "INSTANCE_ID=$INSTANCE_ID" >> $GITHUB_ENV
- name: Change security group
run: |
aws ec2 modify-instance-attribute --instance-id ${{ env.INSTANCE_ID }} --groups sg-03c53339089a65829
- name: Execute offline installation playbook
run: |
Expand Down

0 comments on commit 8d6b3ae

Please sign in to comment.