Browse code

ci: remove repository mirroring

It's now done by Gitlab itself using kwant-bot's account on
Github.

Joseph Weston authored on 20/08/2018 16:45:18
Showing 1 changed files
... ...
@@ -7,18 +7,3 @@ test:
7 7
   artifacts:
8 8
     paths:
9 9
       - htmlcov
10
-
11
-mirror repository:
12
-  allow_failure: true
13
-  variables:
14
-    REPO: "git@github.com:python-adaptive/adaptive.git"
15
-  before_script:
16
-    - mkdir ~/.ssh && chmod 700 ~/.ssh
17
-    - ssh-keyscan -t rsa github.com >> ~/.ssh/known_hosts
18
-    - echo "$DEPLOY_KEY" > ~/.ssh/id_rsa && chmod 600 ~/.ssh/id_rsa
19
-  after_script:
20
-    - rm -rf ~/.ssh
21
-  script:
22
-    - ORIGIN_URL=$(git config --get remote.origin.url)
23
-    - cd $(mktemp -d); git clone --bare $ORIGIN_URL .
24
-    - git push --mirror $REPO