.gitlab-ci.yml 1.8 KB
Newer Older
Robert Ricci's avatar
Robert Ricci committed
1
image: gitlab.flux.utah.edu:4567/emulab/testbed-manual:latest
Robert Ricci's avatar
Robert Ricci committed
2

3 4 5 6
stages:
  - build
  - deploy

Robert Ricci's avatar
Robert Ricci committed
7
apt:
Robert Ricci's avatar
Robert Ricci committed
8
  stage: build
Robert Ricci's avatar
Robert Ricci committed
9
  script: "((cd geni-lib && hg pull && hg update 0.9-EMULAB && cd ..) || hg clone https://bitbucket.org/emulab/geni-lib && cd geni-lib && hg update 0.9-EMULAB && cd ../) && env PYTHONPATH=geni-lib/ make apt"
10 11 12
  artifacts:
      paths:
          - apt-manual/
Robert Ricci's avatar
Robert Ricci committed
13 14

cloudlab:
Robert Ricci's avatar
Robert Ricci committed
15
  stage: build
Robert Ricci's avatar
Robert Ricci committed
16
  script: "((cd geni-lib && hg pull && hg update 0.9-EMULAB && cd ..) || hg clone https://bitbucket.org/emulab/geni-lib && cd geni-lib && hg update 0.9-EMULAB && cd ..) && env PYTHONPATH=geni-lib/ make cloudlab"
17 18 19
  artifacts:
      paths:
          - cloudlab-manual/
20 21

emulab:
Robert Ricci's avatar
Robert Ricci committed
22
  stage: build
Robert Ricci's avatar
Robert Ricci committed
23
  script: "((cd geni-lib && hg pull && hg update 0.9-EMULAB && cd ..) || hg clone https://bitbucket.org/emulab/geni-lib && cd geni-lib && hg update 0.9-EMULAB && cd ..) && env PYTHONPATH=geni-lib/ make emulab"
24 25 26
  artifacts:
      paths:
          - emulab-manual/
27 28

phantomnet:
Robert Ricci's avatar
Robert Ricci committed
29
  stage: build
Robert Ricci's avatar
Robert Ricci committed
30
  script: "((cd geni-lib && hg pull && hg update 0.9-EMULAB && cd ..) || hg clone https://bitbucket.org/emulab/geni-lib && cd geni-lib && hg update 0.9-EMULAB && cd .. ) && env PYTHONPATH=geni-lib/ make phantomnet"
31 32 33
  artifacts:
      paths:
          - phantomnet-manual/
34

Robert Ricci's avatar
Robert Ricci committed
35 36 37 38 39 40 41
powder:
  stage: build
  script: "((cd geni-lib && hg pull && hg update 0.9-EMULAB && cd ..) || hg clone https://bitbucket.org/emulab/geni-lib && cd geni-lib && hg update 0.9-EMULAB && cd .. ) && env PYTHONPATH=geni-lib/ make powder"
  artifacts:
      paths:
          - powder-manual/

42
pages:
Robert Ricci's avatar
Robert Ricci committed
43
  stage: deploy
44 45 46 47 48
  dependencies:
    - apt
    - cloudlab
    - emulab
    - phantomnet
Robert Ricci's avatar
Robert Ricci committed
49 50
    - powder
  script: "mkdir public/; cp -r apt-manual  cloudlab-manual  emulab-manual phantomnet-manual powder-manual public/; cp toplevel-toc.html public/index.html"
51 52
  artifacts:
    paths:
53
        - public/