Skip to content

Commit e3e9029

Browse files
committed
test: reverting setup-helm, filtering for tests, seeing enforcer logs
1 parent 1105074 commit e3e9029

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

.github/workflows/ci_e2e.yaml

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,9 @@ jobs:
5050
docker build . -t localhost:5001/java-enforcer-sample-site:$SAMPLE_SITE_IMAGE_TAG && \
5151
docker push localhost:5001/java-enforcer-sample-site:$SAMPLE_SITE_IMAGE_TAG
5252
53-
# - uses: azure/setup-helm@v4
54-
# with:
55-
# version: '3.19.0'
56-
57-
- name: Setup helm (temp)
58-
run: |
59-
curl -fsSL https://packages.buildkite.com/helm-linux/helm-debian/gpgkey | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
60-
echo "deb [signed-by=/usr/share/keyrings/helm.gpg] https://packages.buildkite.com/helm-linux/helm-debian/any/ any main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
61-
sudo apt-get update
62-
sudo apt-get install helm
53+
- uses: azure/setup-helm@v4
54+
with:
55+
version: '3.19.0'
6356

6457
- name: Clone helm charts repo - mock-collector
6558
uses: actions/checkout@v5
@@ -150,6 +143,7 @@ jobs:
150143
--set appId=${{ secrets.PX_APP_ID }} \
151144
--set-file enforcerMetadataContent=./px_metadata.json \
152145
--set-file enforcerConfigJsonContent=/tmp/enforcer-config.json \
146+
--set additionalArgs="-k \"(test_vid_extraction_on_first_party_xhr or test_header_based_logger_logs_on_first_party_requests)\"" \
153147
-f ./ci_files/spec-tests-values.yaml \
154148
--wait \
155149
--timeout 60m0s \
@@ -158,3 +152,7 @@ jobs:
158152
- name: get tests results
159153
if: ${{ always() }}
160154
run: kubectl logs job/enforcer-spec-tests
155+
156+
- name: get enforcer logs
157+
if: ${{ always() }}
158+
run: kubectl logs deployment/java-enforcer-sample-site

0 commit comments

Comments
 (0)