mirror of
https://gitlab.com/packaging/gitea
synced 2024-12-18 16:13:44 +00:00
Merge branch 'delay-trigger' into 'master'
add delay trigger See merge request packaging/gitea!3
This commit is contained in:
commit
73833d52dc
@ -19,6 +19,7 @@ stages:
|
|||||||
- export PATCHLEVEL=$(echo ${CI_COMMIT_TAG} | cut -d'+' -f2)
|
- export PATCHLEVEL=$(echo ${CI_COMMIT_TAG} | cut -d'+' -f2)
|
||||||
- apt-get -qq update
|
- apt-get -qq update
|
||||||
- apt-get -qqy install ruby-dev ruby-ffi curl file
|
- apt-get -qqy install ruby-dev ruby-ffi curl file
|
||||||
|
- gem install fpm
|
||||||
- mkdir -p "${CI_PROJECT_DIR}/package_root/usr/bin"
|
- mkdir -p "${CI_PROJECT_DIR}/package_root/usr/bin"
|
||||||
- echo "https://dl.gitea.com/gitea/v${VERSION}/gitea-${VERSION}-linux-${ARCH}"
|
- echo "https://dl.gitea.com/gitea/v${VERSION}/gitea-${VERSION}-linux-${ARCH}"
|
||||||
- curl -sL -o
|
- curl -sL -o
|
||||||
@ -55,14 +56,41 @@ stages:
|
|||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
|
|
||||||
gitea-amd64:
|
.manual: &manual
|
||||||
|
when: manual
|
||||||
|
only:
|
||||||
|
- tags
|
||||||
|
|
||||||
|
.trigger: &trigger
|
||||||
|
when: delayed
|
||||||
|
start_in: 1 hours
|
||||||
|
only:
|
||||||
|
- triggers
|
||||||
|
|
||||||
|
gitea-amd64-tag:
|
||||||
<<: *package
|
<<: *package
|
||||||
|
<<: *manual
|
||||||
variables:
|
variables:
|
||||||
<<: *vars
|
<<: *vars
|
||||||
ARCH: amd64
|
ARCH: amd64
|
||||||
|
|
||||||
gitea-arm64:
|
gitea-amd64-trigger:
|
||||||
<<: *package
|
<<: *package
|
||||||
|
<<: *trigger
|
||||||
|
variables:
|
||||||
|
<<: *vars
|
||||||
|
ARCH: amd64
|
||||||
|
|
||||||
|
gitea-arm64-tag:
|
||||||
|
<<: *package
|
||||||
|
<<: *manual
|
||||||
|
variables:
|
||||||
|
<<: *vars
|
||||||
|
ARCH: arm64
|
||||||
|
|
||||||
|
gitea-arm64-trigger:
|
||||||
|
<<: *package
|
||||||
|
<<: *trigger
|
||||||
variables:
|
variables:
|
||||||
<<: *vars
|
<<: *vars
|
||||||
ARCH: arm64
|
ARCH: arm64
|
||||||
@ -120,7 +148,8 @@ reprepro:
|
|||||||
script:
|
script:
|
||||||
- apt-get -qq update
|
- apt-get -qq update
|
||||||
- apt-get -qqy install curl
|
- apt-get -qqy install curl
|
||||||
- curl -L https://gitlab.com/packaging/utils/-/raw/main/repo.sh | bash -s -- gitea
|
- curl -L https://gitlab.com/packaging/utils/-/raw/main/repo.sh |
|
||||||
|
bash -s -- gitea
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user