Skip to content

Commit

Permalink
graviton int test fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
vivekr-splunk committed Feb 26, 2024
1 parent 83602a4 commit 2ad2e22
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/graviton-int-test-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
licensemanager,
managerdeletecr,
]
runs-on: macos-14
runs-on: ubuntu-latest
needs: build-graviton-operator-image
env:
CLUSTER_NODES: 1
Expand All @@ -86,13 +86,6 @@ jobs:
CLUSTER_WIDE: "true"
DEPLOYMENT_TYPE: ""
steps:
- name: Setup docker (missing on MacOS)
if: runner.os == 'macos'
run: |
brew install docker
brew install colima
colima version
colima start
- name: Set Test Cluster Name
run: |
echo "TEST_CLUSTER_NAME=eks-integration-test-cluster-${{ matrix.test }}-$GITHUB_RUN_ID" >> $GITHUB_ENV
Expand All @@ -119,8 +112,9 @@ jobs:
uses: actions/setup-python@v2
- name: Install AWS CLI
run: |
curl "https://awscli.amazonaws.com/AWSCLIV2.pkg" -o "AWSCLIV2.pkg"
sudo installer -pkg AWSCLIV2.pkg -target /
curl "${{ steps.dotenv.outputs.AWSCLI_URL}}" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install --update
aws --version
- name: Setup Go
uses: actions/setup-go@v2
Expand All @@ -137,7 +131,7 @@ jobs:
DESIRED_VERSION=v3.8.2 bash get_helm.sh
- name: Install EKS CTL
run: |
curl --silent --insecure --location "https://github.com/weaveworks/eksctl/releases/download/${{ steps.dotenv.outputs.EKSCTL_VERSION }}/eksctl_$(uname -s)_arm64.tar.gz" | tar xz -C /tmp
curl --silent --insecure --location "https://github.com/weaveworks/eksctl/releases/download/${{ steps.dotenv.outputs.EKSCTL_VERSION }}/eksctl_$(uname -s)_amd64.tar.gz" | tar xz -C /tmp
sudo mv /tmp/eksctl /usr/local/bin
eksctl version
- name: Set up Docker Buildx
Expand Down Expand Up @@ -195,7 +189,7 @@ jobs:
- name: Run Integration test
run: |
export SPLUNK_OPERATOR_IMAGE_GRAVITON=${{ secrets.ECR_REPOSITORY }}/${{ env.SPLUNK_OPERATOR_IMAGE_NAME }}:$GITHUB_SHA
export SPLUNK_ENTERPRISE_IMAGE_GRAVITON=${{ secrets.ECR_REPOSITORY }}/${{ env.SPLUNK_ENTERPRISE_IMAGE }}
export SPLUNK_ENTERPRISE_IMAGE_GRAVITON=${{ secrets.ECR_REPOSITORY }}/${{ steps.dotenv.outputs.SPLUNK_ENTERPRISE_RELEASE_IMAGE }}
make int-test
- name: Collect Test Logs
if: ${{ always() }}
Expand Down

0 comments on commit 2ad2e22

Please sign in to comment.