.gitlab-ci.yml 618 Bytes
Newer Older
Sietse Ringers's avatar
Sietse Ringers committed
1
image: privacybydesign/node_yarn_python3:latest
David Venhoek's avatar
David Venhoek committed
2 3 4 5 6 7 8 9

stages:
  - build

before_script:
  - set -euxo pipefail
  - git clone https://github.com/privacybydesign/pbdf-schememanager.git
  - git clone https://github.com/privacybydesign/irma-demo-schememanager.git
Sietse Ringers's avatar
Sietse Ringers committed
10
  - yarn install --frozen-lockfile
David Venhoek's avatar
David Venhoek committed
11 12 13 14

build:
  stage: build
  artifacts:
15 16
    # Disabling artifact expiry is not supported yet, so make
    expire_in: 100 year
David Venhoek's avatar
David Venhoek committed
17 18 19
    paths:
      - nl/
      - en/
20 21
      - pbdf-schememanager/
      - irma-demo-schememanager/
22 23 24
      - script.js
      - style.css
      - index.json
David Venhoek's avatar
David Venhoek committed
25
  script:
Sietse Ringers's avatar
Sietse Ringers committed
26
    - yarn run build
David Venhoek's avatar
David Venhoek committed
27
    - python3 update.py