mirror of
https://github.com/alrayyes/st.git
synced 2024-11-24 11:56:22 +00:00
Update .gitlab-ci.yml
This commit is contained in:
parent
70e242c525
commit
a31b521887
1 changed files with 13 additions and 1 deletions
|
@ -3,6 +3,7 @@ stages:
|
||||||
- build_package
|
- build_package
|
||||||
- install_package
|
- install_package
|
||||||
- check_package
|
- check_package
|
||||||
|
- 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
|
||||||
|
@ -30,4 +31,15 @@ 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:
|
||||||
|
stage: deploy_package
|
||||||
|
tags:
|
||||||
|
- python
|
||||||
|
script:
|
||||||
|
- mkdir ~/.aws/
|
||||||
|
- touch ~/.aws/credentials
|
||||||
|
- pip install awscli
|
||||||
|
- printf "[eb-cli]\naws_access_key_id = %s\naws_secret_access_key = %s\n" "$AWS_ACCESS_KEY_ID" "$AWS_SECRET_ACCESS_KEY" >> ~/.aws/credentials
|
||||||
|
- aws s3 sync *.pkg.tar.xz s3://s3.eu-central-1.wasabisys.com/my-arch-repo/ --acl public-read
|
Loading…
Reference in a new issue