mirror of
https://gitlab.com/packaging/gitea
synced 2024-12-18 08:03:29 +00:00
refine ci pipeline steps
Signed-off-by: morph027 <stefan.heitmueller@gmx.com>
This commit is contained in:
parent
050fc4859c
commit
0f9c8bed35
@ -53,6 +53,7 @@ stages:
|
||||
artifacts:
|
||||
paths:
|
||||
- $CI_PROJECT_DIR/*.deb
|
||||
expire_in: 7 days
|
||||
only:
|
||||
- tags
|
||||
|
||||
@ -68,29 +69,25 @@ stages:
|
||||
- triggers
|
||||
|
||||
gitea-amd64-tag:
|
||||
<<: *package
|
||||
<<: *manual
|
||||
<<: [*package, *manual]
|
||||
variables:
|
||||
<<: *vars
|
||||
ARCH: amd64
|
||||
|
||||
gitea-amd64-trigger:
|
||||
<<: *package
|
||||
<<: *trigger
|
||||
<<: [*package, *trigger]
|
||||
variables:
|
||||
<<: *vars
|
||||
ARCH: amd64
|
||||
|
||||
gitea-arm64-tag:
|
||||
<<: *package
|
||||
<<: *manual
|
||||
<<: [*package, *manual]
|
||||
variables:
|
||||
<<: *vars
|
||||
ARCH: arm64
|
||||
|
||||
gitea-arm64-trigger:
|
||||
<<: *package
|
||||
<<: *trigger
|
||||
<<: [*package, *trigger]
|
||||
variables:
|
||||
<<: *vars
|
||||
ARCH: arm64
|
||||
@ -161,7 +158,7 @@ test-update-tag:
|
||||
only:
|
||||
- tags
|
||||
|
||||
reprepro:
|
||||
.repro: &repo
|
||||
cache:
|
||||
untracked: true
|
||||
paths:
|
||||
@ -174,9 +171,23 @@ reprepro:
|
||||
- apt-get -qqy install curl
|
||||
- curl -L https://gitlab.com/packaging/utils/-/raw/main/repo.sh |
|
||||
bash -s -- gitea
|
||||
|
||||
repo-tag:
|
||||
<<: [*repo]
|
||||
needs:
|
||||
- test-install-tag
|
||||
- test-update-tag
|
||||
only:
|
||||
- tags
|
||||
|
||||
repo-trigger:
|
||||
<<: [*repo]
|
||||
needs:
|
||||
- test-install-trigger
|
||||
- test-update-trigger
|
||||
only:
|
||||
- triggers
|
||||
|
||||
pages:
|
||||
cache:
|
||||
untracked: true
|
||||
|
Loading…
Reference in New Issue
Block a user