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 :
8080 SPLUNK_OPERATOR_IMAGE_NAME : splunk/splunk-operator
8181 SPLUNK_OPERATOR_IMAGE_FILENAME : splunk-operator
8282 TEST_FOCUS : " ${{ matrix.test }}"
83- # This regex matches any string not containing integration keyword
84- TEST_TO_SKIP : " ^(?:[^i ]+|i (?:$|[^n]|n (?:$|[^t]|t (?:$|[^e]|e (?:$|[^g]|g(?:$|[^r]|r(?:$|[^a]|a(?:$|[^t]|t(?:$|[^i]|i(?:$|[^o]|o(?:$|[^n])))))) )))))*$"
83+ # This regex matches any string not containing smoke keyword
84+ TEST_TO_SKIP : " ^(?:[^s ]+|s (?:$|[^m]|m (?:$|[^o]|o (?:$|[^k]|k (?:$|[^e] )))))*$"
8585 TEST_CLUSTER_PLATFORM : eks
8686 EKS_VPC_PRIVATE_SUBNET_STRING : ${{ secrets.EKS_VPC_PRIVATE_SUBNET_STRING }}
8787 EKS_VPC_PUBLIC_SUBNET_STRING : ${{ secrets.EKS_VPC_PUBLIC_SUBNET_STRING }}
9595 ARM64 : " true"
9696 GRAVITON_TESTING : " true"
9797 steps :
98- - name : Set Test Cluster Name
99- run : |
100- echo "TEST_CLUSTER_NAME=eks-integration-test-cluster-${{ matrix.test }}-$GITHUB_RUN_ID" >> $GITHUB_ENV
10198 - name : Set Test Cluster Nodes and Parallel Runs
10299 run : >-
103100 if grep -q "appframework" <<< "${{ matrix.test }}"; then
@@ -106,6 +103,17 @@ jobs:
106103 fi
107104 - name : Checkcout code
108105 uses : actions/checkout@v2
106+ - name : Set Test Cluster Name
107+ id : set-cluster-name
108+ uses : ./.github/actions/set-cluster-name
109+ with :
110+ test-type : smoke
111+ platform : arm-rhel
112+ test-name : ${{ matrix.test }}
113+ run-id : ${{ github.run_id }}
114+ - name : Export cluster name to environment
115+ run : |
116+ echo "TEST_CLUSTER_NAME=${{ steps.set-cluster-name.outputs.cluster-name }}" >> $GITHUB_ENV
109117 - name : Dotenv Action
110118 id : dotenv
111119 uses : falti/dotenv-action@d4d12eaa0e1dd06d5bdc3d7af3bf4c8c93cb5359
@@ -181,7 +189,7 @@ jobs:
181189 sudo snap install kustomize
182190 mkdir -p ./bin
183191 cp /snap/bin/kustomize ./bin/kustomize
184- - name : Run Integration test
192+ - name : Run smoke test
185193 run : |
186194 make int-test
187195 - name : Collect Test Logs
0 commit comments