mirror of
https://github.com/alrayyes/st
synced 2023-11-14 15:56:30 +00:00
Update .gitlab-ci.yml
This commit is contained in:
parent
88e680db1a
commit
390695079d
@ -1,12 +1,12 @@
|
|||||||
image: ${CI_REGISTRY}/personal/homelab/docker/arch-pkg-build:latest
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- check_pkgbuild
|
- check_pkgbuild
|
||||||
- build_package
|
- build_package
|
||||||
- install_package
|
- install_package
|
||||||
- check_package
|
- check_package
|
||||||
|
- trigger
|
||||||
|
|
||||||
check_pkgbuild:
|
check_pkgbuild:
|
||||||
|
image: ${CI_REGISTRY}/personal/homelab/docker/arch-pkg-build:latest
|
||||||
stage: check_pkgbuild
|
stage: check_pkgbuild
|
||||||
script:
|
script:
|
||||||
- namcap PKGBUILD > PKGBUILD.namcap.out
|
- namcap PKGBUILD > PKGBUILD.namcap.out
|
||||||
@ -15,6 +15,7 @@ check_pkgbuild:
|
|||||||
- PKGBUILD.namcap.out
|
- PKGBUILD.namcap.out
|
||||||
|
|
||||||
build_package:
|
build_package:
|
||||||
|
image: ${CI_REGISTRY}/personal/homelab/docker/arch-pkg-build:latest
|
||||||
stage: build_package
|
stage: build_package
|
||||||
script:
|
script:
|
||||||
- makepkg --syncdeps --noconfirm --log --check
|
- makepkg --syncdeps --noconfirm --log --check
|
||||||
@ -24,9 +25,16 @@ build_package:
|
|||||||
- "*.pkg.tar.xz"
|
- "*.pkg.tar.xz"
|
||||||
|
|
||||||
check_package:
|
check_package:
|
||||||
|
image: ${CI_REGISTRY}/personal/homelab/docker/arch-pkg-build:latest
|
||||||
stage: check_package
|
stage: check_package
|
||||||
script:
|
script:
|
||||||
- namcap *.pkg.tar.xz > PKG.namcap.out
|
- namcap *.pkg.tar.xz > PKG.namcap.out
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- PKG.namcap.out
|
- PKG.namcap.out
|
||||||
|
|
||||||
|
trigger:my-arch-repo:
|
||||||
|
image: registry.higherlearning.eu/personal/homelab/docker/my-arch-repo:latest
|
||||||
|
stage: trigger
|
||||||
|
script:
|
||||||
|
- curl -X POST -F token=$ARCH_TOKEN -F ref=master http://gitlab/api/v4/projects/342/trigger/pipeline
|
Loading…
Reference in New Issue
Block a user