.gitlab-ci.yml 1.38 KB
Newer Older
1
2
3
4
image: stretch_website

before_script:
  - export LANG=en_US.UTF-8
5
  - echo "deb http://security.debian.org/debian-security stretch/updates main contrib non-free" >> /etc/apt/sources.list
6
  - echo "deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free" >> /etc/apt/sources.list
7
8
  - sort /etc/apt/sources.list | uniq > sources.list.new
  - mv sources.list.new /etc/apt/sources.list
9
  - apt-get update
10
  - apt-get install -y dpkg-dev quilt devscripts
Hinrikus Wolf's avatar
Hinrikus Wolf committed
11
12
13
14
  - export DEBIAN_FRONTEND="noninteractive"
  - export DEBIAN_PRIORITY="critical"
  - export DEBFULLNAME="FSMPI Admin-Team"
  - export DEBEMAIL="admin@fsmpi.rwth-aachen.de"
15
16
17
18
19
20
21
#  - python3 -m venv venv
#  - source venv/bin/activate
#  - pip install wheel
#  - pip install -r requirements.txt
#  - mkdir -p ~/.ssh
#  - echo $DEPLOY_KEY | base64 --decode > ~/.ssh/id_ed25519
#  - chmod go-rw ~/.ssh/id_ed25519
22

23
24
25
26
27

sssd:
  stage: build
  script: scripts/sssd.sh
  artifacts: 
Hinrikus Wolf's avatar
Hinrikus Wolf committed
28
    paths: 
29
      - packages/*
Hinrikus Wolf's avatar
Hinrikus Wolf committed
30
31
32
33
34
35

adcli:
  stage: build
  script: scripts/adcli.sh
  artifacts: 
    paths: 
36
      - packages/*
Hinrikus Wolf's avatar
Hinrikus Wolf committed
37
38
39
      
nginx:
  stage: build
40
  script: scripts/nginx-shib.sh
Hinrikus Wolf's avatar
Hinrikus Wolf committed
41
42
  artifacts: 
    paths: 
43
      - packages/*
44

Hinrikus Wolf's avatar
Hinrikus Wolf committed
45
ganeti:
46
  stage: build
Hinrikus Wolf's avatar
Hinrikus Wolf committed
47
48
49
  script: scripts/ganeti.sh
  artifacts: 
    paths: 
50
      - packages/*
Hinrikus Wolf's avatar
Hinrikus Wolf committed
51

52
53
54
55
56
57
grml-zsh-config:
  stage: build
  script: scripts/grml-zsh-config.sh
  artifacts:
    paths:
      - packages/*
Hinrikus Wolf's avatar
Hinrikus Wolf committed
58
59
60

stages:
  - build