mirror of
https://github.com/alrayyes/st
synced 2023-11-14 15:56:30 +00:00
Merge branch 'master' of ssh://gitlab.higherlearning.eu:2222/personal/github/st
This commit is contained in:
commit
300a6d570a
@ -3,6 +3,8 @@ stages:
|
|||||||
- build_package
|
- build_package
|
||||||
- install_package
|
- install_package
|
||||||
- check_package
|
- check_package
|
||||||
|
- build_repo
|
||||||
|
- deploy_package
|
||||||
|
|
||||||
check_pkgbuild:
|
check_pkgbuild:
|
||||||
image: ${CI_REGISTRY}/personal/homelab/docker/arch-pkg-build:latest
|
image: ${CI_REGISTRY}/personal/homelab/docker/arch-pkg-build:latest
|
||||||
@ -23,6 +25,16 @@ build_package:
|
|||||||
- "*.log"
|
- "*.log"
|
||||||
- "*.pkg.tar.xz"
|
- "*.pkg.tar.xz"
|
||||||
|
|
||||||
|
build_repo:
|
||||||
|
image: ${CI_REGISTRY}/personal/homelab/docker/arch-pkg-build:latest
|
||||||
|
stage: build_repo
|
||||||
|
script:
|
||||||
|
- mkdir -p local-repo
|
||||||
|
- repo-add local-repo/higherlearning.db.tar.xz
|
||||||
|
cache:
|
||||||
|
paths:
|
||||||
|
- local-repo/
|
||||||
|
|
||||||
check_package:
|
check_package:
|
||||||
image: ${CI_REGISTRY}/personal/homelab/docker/arch-pkg-build:latest
|
image: ${CI_REGISTRY}/personal/homelab/docker/arch-pkg-build:latest
|
||||||
stage: check_package
|
stage: check_package
|
||||||
@ -30,4 +42,10 @@ check_package:
|
|||||||
- namcap *.pkg.tar.xz > PKG.namcap.out
|
- namcap *.pkg.tar.xz > PKG.namcap.out
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- PKG.namcap.out
|
- PKG.namcap.out
|
||||||
|
|
||||||
|
deploy_package:
|
||||||
|
image: andthensome/awscli
|
||||||
|
stage: deploy_package
|
||||||
|
script:
|
||||||
|
- aws s3 sync . --endpoint-url=https://s3.eu-central-1.wasabisys.com s3://my-arch-repo/ --acl public-read --exclude "*" --include "*.pkg.tar.xz"
|
Loading…
Reference in New Issue
Block a user