.gitlab-ci.yml 881 Bytes
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
11 12 13 14 15 16 17
#  - 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
18

19 20 21 22 23 24 25

sssd:
  stage: build
  script: scripts/sssd.sh
  artifacts: 
    path: 
      - packages/*.deb
26
stages:
27
  - build
28

29 30
build:
  stage: build
31
  script: scripts/build.py