Skip to content

Commit 8ce32f3

Browse files
committed
fix: Set up e2e test environment variables
- Set up environment variables for e2e testing - Added new variables for gitea, GitHub, and GitLab - Added missing variables, improving test environment consistency Signed-off-by: Chmouel Boudjnah <[email protected]>
1 parent 516cd15 commit 8ce32f3

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

.github/workflows/e2e.yaml

+17-3
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,26 @@ jobs:
4040
CONTROLLER_DOMAIN_URL: controller.paac-127-0-0-1.nip.io
4141
TEST_GITHUB_REPO_OWNER_GITHUBAPP: openshift-pipelines/pipelines-as-code-e2e-tests
4242
KUBECONFIG: /home/runner/.kube/config.kind
43-
# [Rest of the environment variables remain the same as in the original workflow]
4443
TEST_BITBUCKET_CLOUD_API_URL: https://api.bitbucket.org/2.0
4544
TEST_BITBUCKET_CLOUD_E2E_REPOSITORY: cboudjna/pac-e2e-tests
4645
TEST_BITBUCKET_CLOUD_USER: cboudjna
47-
# ... [other environment variables from the original workflow]
48-
46+
TEST_EL_URL: http://controller.paac-127-0-0-1.nip.io
47+
TEST_GITEA_API_URL: http://localhost:3000
48+
TEST_GITEA_USERNAME: pac
49+
TEST_GITEA_PASSWORD: pac
50+
TEST_GITEA_REPO_OWNER: pac/pac
51+
TEST_GITHUB_API_URL: api.github.com
52+
TEST_GITHUB_REPO_OWNER_WEBHOOK: openshift-pipelines/pipelines-as-code-e2e-tests-webhook
53+
TEST_GITHUB_PRIVATE_TASK_URL: https://github.com/openshift-pipelines/pipelines-as-code-e2e-tests-private/blob/main/remote_task.yaml
54+
TEST_GITHUB_PRIVATE_TASK_NAME: task-remote
55+
TEST_GITHUB_SECOND_API_URL: ghe.pipelinesascode.com
56+
TEST_GITHUB_SECOND_EL_URL: http://ghe.paac-127-0-0-1.nip.io
57+
TEST_GITHUB_SECOND_REPO_OWNER_GITHUBAPP: pipelines-as-code/e2e
58+
TEST_GITHUB_SECOND_REPO_INSTALLATION_ID: 1
59+
TEST_GITLAB_API_URL: https://gitlab.com
60+
TEST_GITLAB_PROJECT_ID: 34405323
61+
TEST_BITBUCKET_SERVER_USER: pipelines
62+
TEST_BITBUCKET_SERVER_E2E_REPOSITORY: PAC/pac-e2e-tests
4963
steps:
5064
- uses: actions/checkout@v4
5165
with:

0 commit comments

Comments
 (0)