Skip to content

Commit 8dbcf6b

Browse files
committed
fix some urls and kubeconfig definition for e2e
Signed-off-by: Chmouel Boudjnah <[email protected]>
1 parent 6564de7 commit 8dbcf6b

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.github/workflows/kind-e2e-tests.yaml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,10 @@ jobs:
3333
REGISTRY_NAME: registry.local
3434
REGISTRY_PORT: 5000
3535
KO_DOCKER_REPO: registry.local:5000/ko
36-
EL_NAME: kind.pac
36+
CONTROLLER_DOMAIN_URL: controller.paac-127-0-0-1.nip.io
3737
TEST_GITHUB_REPO_OWNER_GITHUBAPP: openshift-pipelines/pipelines-as-code-e2e-tests
3838
# TEST_GITHUB_REPO_OWNER_WEBHOOK: pac/pac-test-webhooks
39+
KUBECONFIG: /home/runner/.kube/config.kind
3940

4041
steps:
4142
- uses: actions/setup-go@v2
@@ -58,12 +59,12 @@ jobs:
5859
- name: Install and run gosmee
5960
run: |
6061
go install -v github.com/chmouel/gosmee@latest
61-
nohup gosmee --saveDir /tmp/gosmee-replay ${{ secrets.PYSMEE_URL }} http://${EL_NAME} &
62+
nohup gosmee --saveDir /tmp/gosmee-replay ${{ secrets.PYSMEE_URL }} http://${CONTROLLER_DOMAIN_URL} &
6263
6364
- name: Install ko
6465
run: curl -sfL https://github.com/google/ko/releases/download/v0.9.3/ko_0.9.3_Linux_x86_64.tar.gz -o-|tar xvzf - -C /usr/local/bin ko
6566

66-
- name: Apply config with KO
67+
- name: Start installing cluster
6768
run: |
6869
export PAC_DIR=${PWD}
6970
bash -x ./hack/dev/kind/install.sh
@@ -102,7 +103,7 @@ jobs:
102103
export TEST_GITHUB_TOKEN="${{ secrets.GH_APPS_TOKEN }}"
103104
export TEST_EL_WEBHOOK_SECRET="${{ secrets.WEBHOOK_SECRET }}"
104105
export TEST_GITHUB_REPO_INSTALLATION_ID="${{ secrets.INSTALLATION_ID }}"
105-
export TEST_EL_URL="http://${EL_NAME}"
106+
export TEST_EL_URL="http://${CONTROLLER_DOMAIN_URL}"
106107
export TEST_BITBUCKET_CLOUD_API_URL=https://api.bitbucket.org/2.0
107108
export TEST_BITBUCKET_CLOUD_USER=chmouelb
108109
export TEST_BITBUCKET_CLOUD_E2E_REPOSITORY=chmouelb/pac-e2e-test

0 commit comments

Comments
 (0)