1
0
mirror of https://gitlab.com/packaging/gitea synced 2024-12-18 16:13:44 +00:00

refine ci pipeline steps

Signed-off-by: morph027 <stefan.heitmueller@gmx.com>
This commit is contained in:
morph027 2023-12-23 12:25:57 +01:00
parent 050fc4859c
commit 0f9c8bed35
No known key found for this signature in database
GPG Key ID: BF17A54BB873BE58

View File

@ -53,6 +53,7 @@ stages:
artifacts: artifacts:
paths: paths:
- $CI_PROJECT_DIR/*.deb - $CI_PROJECT_DIR/*.deb
expire_in: 7 days
only: only:
- tags - tags


@ -68,29 +69,25 @@ stages:
- triggers - triggers


gitea-amd64-tag: gitea-amd64-tag:
<<: *package <<: [*package, *manual]
<<: *manual
variables: variables:
<<: *vars <<: *vars
ARCH: amd64 ARCH: amd64


gitea-amd64-trigger: gitea-amd64-trigger:
<<: *package <<: [*package, *trigger]
<<: *trigger
variables: variables:
<<: *vars <<: *vars
ARCH: amd64 ARCH: amd64


gitea-arm64-tag: gitea-arm64-tag:
<<: *package <<: [*package, *manual]
<<: *manual
variables: variables:
<<: *vars <<: *vars
ARCH: arm64 ARCH: arm64


gitea-arm64-trigger: gitea-arm64-trigger:
<<: *package <<: [*package, *trigger]
<<: *trigger
variables: variables:
<<: *vars <<: *vars
ARCH: arm64 ARCH: arm64
@ -161,7 +158,7 @@ test-update-tag:
only: only:
- tags - tags


reprepro: .repro: &repo
cache: cache:
untracked: true untracked: true
paths: paths:
@ -174,9 +171,23 @@ reprepro:
- apt-get -qqy install curl - apt-get -qqy install curl
- curl -L https://gitlab.com/packaging/utils/-/raw/main/repo.sh | - curl -L https://gitlab.com/packaging/utils/-/raw/main/repo.sh |
bash -s -- gitea bash -s -- gitea

repo-tag:
<<: [*repo]
needs:
- test-install-tag
- test-update-tag
only: only:
- tags - tags


repo-trigger:
<<: [*repo]
needs:
- test-install-trigger
- test-update-trigger
only:
- triggers

pages: pages:
cache: cache:
untracked: true untracked: true