Skip to content

Commit

Permalink
Enhance the E2E test to be runnable against remote clusters on e.g. A…
Browse files Browse the repository at this point in the history
…WS EKS (#1610)

This contains apparently enough changes to the current E2E test code to make it runnable against remote Kubernetes clusters. I was actually able to make the test passing against my AWS EKS based test clusters with these changes. You still need to trigger it manually from a local checkout of the ARC repo today. But this might be the foundation for automated E2E tests against major cloud providers.
  • Loading branch information
mumoshu authored Jul 7, 2022
1 parent 9f6f962 commit 473295e
Show file tree
Hide file tree
Showing 5 changed files with 206 additions and 92 deletions.
3 changes: 3 additions & 0 deletions acceptance/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ if [ "${tool}" == "helm" ]; then
--set image.tag=${VERSION} \
--set podAnnotations.test-id=${TEST_ID} \
--set githubWebhookServer.podAnnotations.test-id=${TEST_ID} \
--set imagePullSecrets[0].name=${IMAGE_PULL_SECRET} \
--set image.actionsRunnerImagePullSecrets[0].name=${IMAGE_PULL_SECRET} \
--set githubWebhookServer.imagePullSecrets[0].name=${IMAGE_PULL_SECRET} \
-f ${VALUES_FILE}
set +v
# To prevent `CustomResourceDefinition.apiextensions.k8s.io "runners.actions.summerwind.dev" is invalid: metadata.annotations: Too long: must have at most 262144 bytes`
Expand Down
7 changes: 7 additions & 0 deletions acceptance/values.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Set actions-runner-controller settings for testing
logLevel: "-4"
imagePullSecrets:
- name:
image:
actionsRunnerImagePullSecrets:
- name:
githubWebhookServer:
imagePullSecrets:
- name:
logLevel: "-4"
enabled: true
labels: {}
Expand Down
Loading

0 comments on commit 473295e

Please sign in to comment.