2021-10-16 18:03:44 -05:00
|
|
|
---
|
2021-04-29 16:58:47 -05:00
|
|
|
image: archlinux:latest
|
|
|
|
|
|
|
|
stages:
|
2021-10-31 11:53:20 -06:00
|
|
|
- test
|
2021-04-29 16:58:47 -05:00
|
|
|
|
2021-10-31 11:53:20 -06:00
|
|
|
lint:
|
|
|
|
stage: test
|
2021-04-29 16:58:47 -05:00
|
|
|
needs: []
|
2021-10-31 11:53:20 -06:00
|
|
|
before_script:
|
|
|
|
- pacman -Syu --needed --noconfirm make flake8 mypy python-black python-isort
|
2021-04-29 16:58:47 -05:00
|
|
|
script:
|
2021-10-31 11:53:20 -06:00
|
|
|
- make lint
|
2021-04-29 16:58:47 -05:00
|
|
|
only:
|
|
|
|
changes:
|
2021-10-31 11:53:20 -06:00
|
|
|
- keyringctl
|
|
|
|
- libkeyringctl/*
|
|
|
|
- test/*
|
2021-10-16 18:03:44 -05:00
|
|
|
|
2021-10-31 11:53:20 -06:00
|
|
|
test:
|
|
|
|
stage: test
|
|
|
|
needs: []
|
2021-10-16 18:03:44 -05:00
|
|
|
before_script:
|
2021-10-31 15:19:30 -06:00
|
|
|
- pacman -Syu --needed --noconfirm make python sequoia-sq python-coverage python-pytest
|
2021-10-16 18:03:44 -05:00
|
|
|
script:
|
2021-10-31 11:53:20 -06:00
|
|
|
- make test
|
2021-10-16 18:03:44 -05:00
|
|
|
only:
|
|
|
|
changes:
|
|
|
|
- keyringctl
|
2021-10-31 11:53:20 -06:00
|
|
|
- libkeyringctl/*
|
|
|
|
- test/*
|
2021-10-16 18:03:44 -05:00
|
|
|
|
|
|
|
build_install:
|
2021-10-31 11:53:20 -06:00
|
|
|
stage: test
|
|
|
|
needs: []
|
2021-10-16 18:03:44 -05:00
|
|
|
before_script:
|
2021-10-31 11:53:20 -06:00
|
|
|
- pacman -Syu --needed --noconfirm make python sequoia-sq
|
2021-10-16 18:03:44 -05:00
|
|
|
script:
|
2021-10-20 13:28:59 -05:00
|
|
|
- ./keyringctl import --main master master-revoked
|
|
|
|
- ./keyringctl import packager packager-revoked
|
2021-10-16 18:03:44 -05:00
|
|
|
- make
|
|
|
|
- make install PREFIX=/usr
|
|
|
|
- pacman-key --init
|
|
|
|
- pacman-key --populate archlinux
|
|
|
|
- pacman-key --updatedb
|
|
|
|
- pacman -Syu
|