Compare commits

..

No commits in common. "47312f65d99db298b508445fc71a26205f19e7b9" and "1b2da802cb6af98a912cdb90b5965e74604d07fc" have entirely different histories.

View File

@ -147,17 +147,16 @@ test:archlinux:
artifacts: true
script:
- pacman -Sy
- pacman -U --noconfirm *.pkg.tar.zst
.deploy:
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_TAG
when: never
- pacman -U --noconfirm *.pkg.tar.zs
deploy:docker:
extends: .deploy
stage: deploy
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- changes:
- Dockerfile
- requirements.txt
- app/**/*
before_script:
- echo "COMMIT=${CI_COMMIT_SHA}" >> version.env
- source version.env
@ -178,9 +177,10 @@ deploy:docker:
deploy:apt:
# doc: https://git.collinwebdesigns.de/help/user/packages/debian_repository/index.md#install-a-package
extends: .deploy
image: debian:bookworm-slim
stage: deploy
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
needs:
- job: build:apt
artifacts: true
@ -217,12 +217,13 @@ deploy:apt:
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file ${EXPORT_NAME} "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/${PACKAGE_NAME}/${PACKAGE_VERSION}/${EXPORT_NAME}"'
deploy:pacman:
extends: .deploy
image: archlinux:base-devel
stage: deploy
needs:
- job: build:pacman
artifacts: true
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script:
- source .PKGBUILD/PKGBUILD
# fastapi-dls-1.0-1-any.pkg.tar.zst