Skip to content

Commit 5aa4f99

Browse files
author
Myron van Velsen
committed
Update .gitlab-ci.yml file
1 parent ffc7cf6 commit 5aa4f99

File tree

1 file changed

+4
-30
lines changed

1 file changed

+4
-30
lines changed

.gitlab-ci.yml

Lines changed: 4 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -3,28 +3,6 @@ image: node:18-bullseye
33
stages:
44
- mirror
55

6-
variables:
7-
PLAYWRIGHT_BASE_URL: https://hyva-demo.elgentos.io/
8-
PLAYWRIGHT_PRODUCTION_URL: https://hyva-demo.elgentos.io/
9-
PLAYWRIGHT_STAGING_URL: https://hyva-demo.elgentos.io/
10-
11-
MAGENTO_ADMIN_SLUG: $MAGENTO_ADMIN_SLUG
12-
MAGENTO_ADMIN_USERNAME: $MAGENTO_ADMIN_USERNAME
13-
MAGENTO_ADMIN_PASSWORD: $MAGENTO_ADMIN_PASSWORD
14-
15-
MAGENTO_NEW_ACCOUNT_PASSWORD: $MAGENTO_NEW_ACCOUNT_PASSWORD
16-
MAGENTO_EXISTING_ACCOUNT_EMAIL_CHROMIUM: $MAGENTO_EXISTING_ACCOUNT_EMAIL_CHROMIUM
17-
MAGENTO_EXISTING_ACCOUNT_EMAIL_FIREFOX: $MAGENTO_EXISTING_ACCOUNT_EMAIL_FIREFOX
18-
MAGENTO_EXISTING_ACCOUNT_EMAIL_WEBKIT: $MAGENTO_EXISTING_ACCOUNT_EMAIL_WEBKIT
19-
MAGENTO_EXISTING_ACCOUNT_PASSWORD: $MAGENTO_EXISTING_ACCOUNT_EMAIL_PASSWORD
20-
MAGENTO_EXISTING_ACCOUNT_CHANGED_PASSWORD: $MAGENTO_EXISTING_ACCOUNT_CHANGED_PASSWORD
21-
22-
MAGENTO_COUPON_CODE_CHROMIUM: $MAGENTO_COUPON_CODE_CHROMIUM
23-
MAGENTO_COUPON_CODE_FIREFOX: $MAGENTO_COUPON_CODE_FIREFOX
24-
MAGENTO_COUPON_CODE_WEBKIT: $MAGENTO_COUPON_CODE_WEBKIT
25-
26-
CAPTCHA_BYPASS: true
27-
286
mirror_to_github:
297
stage: mirror
308
only:
@@ -34,6 +12,8 @@ mirror_to_github:
3412
- printf "%s\n" "$GIT_SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
3513
- chmod 600 ~/.ssh/id_rsa
3614
- ssh-keyscan github.com >> ~/.ssh/known_hosts
15+
- git config --global user.name "developer-elgentos"
16+
- git config --global user.email "[email protected]"
3717
script:
3818
- git remote add github [email protected]:elgentos/magento2-playwright.git
3919
- git fetch github main
@@ -50,13 +30,7 @@ test_mirror_pipeline:
5030
- printf "%s\n" "$GIT_SSH_PRIVATE_KEY" > ~/.ssh/id_rsa
5131
- chmod 600 ~/.ssh/id_rsa
5232
- ssh-keyscan github.com >> ~/.ssh/known_hosts
53-
script:
5433
- git config --global user.name "developer-elgentos"
5534
- git config --global user.email "[email protected]"
56-
- git remote remove github || true
57-
- git remote add github [email protected]:elgentos/magento2-playwright.git
58-
- git fetch github main
59-
- git fetch origin main
60-
- git checkout -B github-main github/main
61-
- git merge --no-commit --no-ff
62-
- git branch -D github-main
35+
script:
36+
- git ls-remote [email protected]:elgentos/magento2-playwright.git

0 commit comments

Comments
 (0)