1- name : ARM RHEL Integration Test WorkFlow
1+ name : ARM RHEL Smoke Test WorkFlow
22permissions :
33 contents : read
44 packages : write
5454 export BASE_IMAGE_VERSION=9.5
5555 export IMG=${{ secrets.ECR_REPOSITORY }}/${{ env.SPLUNK_OPERATOR_IMAGE_NAME }}:$GITHUB_SHA
5656 make docker-buildx PLATFORMS=$PLATFORMS BASE_IMAGE=$BASE_IMAGE BASE_IMAGE_VERSION=$BASE_IMAGE_VERSION IMG=$IMG
57- int -tests-arm-rhel :
57+ smoke -tests-arm-rhel :
5858 strategy :
5959 fail-fast : false
6060 matrix :
7979 SPLUNK_OPERATOR_IMAGE_NAME : splunk/splunk-operator
8080 SPLUNK_OPERATOR_IMAGE_FILENAME : splunk-operator
8181 TEST_FOCUS : " ${{ matrix.test }}"
82- # This regex matches any string not containing integration keyword
83- TEST_TO_SKIP : " ^(?:[^i ]+|i (?:$|[^n]|n (?:$|[^t]|t (?:$|[^e]|e (?:$|[^g]|g(?:$|[^r]|r(?:$|[^a]|a(?:$|[^t]|t(?:$|[^i]|i(?:$|[^o]|o(?:$|[^n])))))) )))))*$"
82+ # This regex matches any string not containing smoke keyword
83+ TEST_TO_SKIP : " ^(?:[^s ]+|s (?:$|[^m]|m (?:$|[^o]|o (?:$|[^k]|k (?:$|[^e] )))))*$"
8484 TEST_CLUSTER_PLATFORM : eks
8585 EKS_VPC_PRIVATE_SUBNET_STRING : ${{ secrets.EKS_VPC_PRIVATE_SUBNET_STRING }}
8686 EKS_VPC_PUBLIC_SUBNET_STRING : ${{ secrets.EKS_VPC_PUBLIC_SUBNET_STRING }}
9494 ARM64 : " true"
9595 GRAVITON_TESTING : " true"
9696 steps :
97- - name : Set Test Cluster Name
98- run : |
99- echo "TEST_CLUSTER_NAME=eks-integration-test-cluster-${{ matrix.test }}-$GITHUB_RUN_ID" >> $GITHUB_ENV
10097 - name : Set Test Cluster Nodes and Parallel Runs
10198 run : >-
10299 if grep -q "appframework" <<< "${{ matrix.test }}"; then
@@ -105,6 +102,17 @@ jobs:
105102 fi
106103 - name : Checkcout code
107104 uses : actions/checkout@v2
105+ - name : Set Test Cluster Name
106+ id : set-cluster-name
107+ uses : ./.github/actions/set-cluster-name
108+ with :
109+ test-type : smoke
110+ platform : arm-rhel
111+ test-name : ${{ matrix.test }}
112+ run-id : ${{ github.run_id }}
113+ - name : Export cluster name to environment
114+ run : |
115+ echo "TEST_CLUSTER_NAME=${{ steps.set-cluster-name.outputs.cluster-name }}" >> $GITHUB_ENV
108116 - name : Dotenv Action
109117 id : dotenv
110118 uses : falti/dotenv-action@d4d12eaa0e1dd06d5bdc3d7af3bf4c8c93cb5359
@@ -180,7 +188,7 @@ jobs:
180188 sudo snap install kustomize
181189 mkdir -p ./bin
182190 cp /snap/bin/kustomize ./bin/kustomize
183- - name : Run Integration test
191+ - name : Run smoke test
184192 run : |
185193 make int-test
186194 - name : Collect Test Logs
0 commit comments