Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
nithyatsu committed Dec 6, 2024
1 parent 6132035 commit 0e7ba49
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/functional-test-cloud.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ jobs:
fail-fast: true
matrix:
os: [ubuntu-latest-m]
name: [corerp-cloud,ucp-cloud]
name: [corerp-cloud, ucp-cloud]
runs-on: ${{ matrix.os }}
env:
UNIQUE_ID: ${{ needs.build.outputs.UNIQUE_ID }}
Expand Down Expand Up @@ -568,6 +568,7 @@ jobs:
# Populate the following environment variables for Azure workload identity from secrets.
# AZURE_OIDC_ISSUER_PUBLIC_KEY
# AZURE_OIDC_ISSUER_PRIVATE_KEY
# AZURE_OIDC_ISSUER
eval "export $(echo "${{ secrets.FUNCTEST_AZURE_OIDC_JSON }}" | jq -r 'to_entries | map("\(.key)=\(.value)") | @sh')"
AUTHKEY=$(echo -n "${{ github.actor }}:${{ secrets.GH_RAD_CI_BOT_PAT }}" | base64)
Expand Down Expand Up @@ -641,7 +642,6 @@ jobs:
append: true
message: |
:x: Test tool installation for ${{ matrix.name }} failed. Please check [the logs](${{ env.ACTION_LINK }}) for more details
# todo: Install Radius with IRSA enabled
- name: Install Radius
run: |
export PATH=$GITHUB_WORKSPACE/bin:$PATH
Expand Down Expand Up @@ -677,12 +677,8 @@ jobs:
echo "*** Configuring AWS provider ***"
rad env update kind-radius --aws-region ${{ env.AWS_REGION }} --aws-account-id ${{ secrets.FUNCTEST_AWS_ACCOUNT_ID }}
# rad credential register aws irsa \
# --iam-role arn:aws:iam::179022619019:role/radius-role
rad credential register aws irsa \
--iam-role ${{ secrets.FUNC_TEST_RAD_IRSA_ROLE }}
kubectl describe pods -n radius-system ucp
- uses: marocchino/sticky-pull-request-comment@v2
if: failure() && env.PR_NUMBER != ''
Expand Down Expand Up @@ -719,7 +715,6 @@ jobs:
}
}
EOF
- name: Run functional tests
run: |
# Ensure rad cli is in path before running tests.
Expand Down Expand Up @@ -762,7 +757,6 @@ jobs:
result_directory: "dist/functional_test/"

- name: Collect Pod details

if: always()
run: |
POD_STATE_LOG_FILENAME='${{ env.RADIUS_CONTAINER_LOG_BASE }}/${{ matrix.name }}-tests-pod-states.log'
Expand Down

0 comments on commit 0e7ba49

Please sign in to comment.