.gitlab-ci.yml 2.05 KB
Newer Older
Amandine  PERRIN's avatar
Amandine PERRIN committed
1
2
3
4
5
6
image: docker:latest

services:
  - docker:dind

variables:
7
    CI_REGISTRY_IMAGE: "registry-gitlab.pasteur.fr/aperrin/pipeline_annotation"
Amandine  PERRIN's avatar
Amandine PERRIN committed
8
9
10
11

before_script:
  - docker login -u gitlab-ci-token -p "$CI_BUILD_TOKEN" registry-gitlab.pasteur.fr

12
# build-test-image:
Amandine  PERRIN's avatar
Amandine PERRIN committed
13
14
15
16
17
18
#   only:
#     - docker
#   stage: build
#   script:
#     - apk update ; apk add git
#     - git checkout master -- requirements.txt
19
20
#     - docker build --pull -t "$CI_REGISTRY_IMAGE/testing-ubuntu" for_tests
#     - docker push "$CI_REGISTRY_IMAGE/testing-ubuntu"
21

22
# build-install-barrnap:
23
24
25
26
27
28
#   only:
#     - docker
#   stage: build
#   script:
#     - apk update ; apk add git
#     - git checkout master -- requirements.txt
29
30
31
32
33
34
35
36
37
38
39
40
#     - docker build --pull -t "$CI_REGISTRY_IMAGE/install-ubuntu-barrnaponly" for_build/barrnap_only
#     - docker push "$CI_REGISTRY_IMAGE/install-ubuntu-barrnaponly"

build-install-annote-and-fastme:
  only:
    - docker
  stage: build
  script:
    - apk update ; apk add git
    - git checkout master -- requirements.txt
    - docker build --pull -t "$CI_REGISTRY_IMAGE/install-ubuntu-annote-fastme" for_build/annote_and_1tree
    - docker push "$CI_REGISTRY_IMAGE/install-ubuntu-annote-fastme"
41

42
43
44
45
46
47
48
49
50
# build-ubuntu:
#   only:
#     - docker
#   stage: build
#   script:
#     - apk update ; apk add git
#     - git checkout master -- requirements.txt
#     - docker build --pull -t "$CI_REGISTRY_IMAGE/install-ubuntu" for_build/ubuntu
#     - docker push "$CI_REGISTRY_IMAGE/install-ubuntu"
51
52

# build-mafft:
Amandine  PERRIN's avatar
Amandine PERRIN committed
53
54
55
56
57
58
#   only:
#     - docker
#   stage: build
#   script:
#     - apk update ; apk add git
#     - git checkout master -- requirements.txt
59
60
#     - docker build --pull -t "$CI_REGISTRY_IMAGE/install-mafft" for_build/mafft
#     - docker push "$CI_REGISTRY_IMAGE/install-mafft"
Amandine  PERRIN's avatar
Amandine PERRIN committed
61

62
# build-mmseqs_and_fastme:
Amandine  PERRIN's avatar
Amandine PERRIN committed
63
64
65
66
67
68
#   only:
#     - docker
#   stage: build
#   script:
#     - apk update ; apk add git
#     - git checkout master -- requirements.txt
69
70
#     - docker build --pull -t "$CI_REGISTRY_IMAGE/install-mmseqs-fastme" for_build/mmseqs_and_fastme
#     - docker push "$CI_REGISTRY_IMAGE/install-mmseqs-fastme"