Skip to content

Commit 4e0af59

Browse files
Remove CI mirror stage, GitLab has it built-in now
1 parent df4c790 commit 4e0af59

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

.gitlab-ci.yml

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
stages:
2323
- build
2424
- test
25-
- mirror
2625
- deploy
2726

2827
cache:
@@ -45,19 +44,6 @@ test:
4544
- npm install --quiet
4645
- npm test
4746

48-
mirror:github:
49-
stage: mirror
50-
script:
51-
- git clone --mirror https://git.bitsensor.io/back-end/elastalert.git mirror-github
52-
- cd mirror-github
53-
- git remote add github https://$MIRROR_GITHUB_USER:$MIRROR_GITHUB_PASSWORD@$MIRROR_GITHUB_URL
54-
- git push -u github -q --mirror
55-
- rm -rf mirror-github
56-
when: always
57-
only:
58-
- tags
59-
- develop
60-
6147
deploy:npm:
6248
image: node:latest
6349
stage: deploy
@@ -125,4 +111,4 @@ deploy:docker-hub:snapshot:
125111
only:
126112
- develop
127113
tags:
128-
- docker
114+
- docker

0 commit comments

Comments
 (0)