meta: always cache regardless of job status

This commit is contained in:
ptrcnull 2023-03-28 20:40:44 +02:00
parent 8dcd6fa569
commit 748bc08b33
Signed by: ptrcnull
GPG key ID: 411F7B30801DD9CA

View file

@ -7,6 +7,7 @@ build-x86_64: &build
cache: cache:
key: repodest-x86_64 key: repodest-x86_64
paths: [repodest/] paths: [repodest/]
when: always
stage: build stage: build
script: script:
- setup-ssh-key "$PRIVATE_KEY" - setup-ssh-key "$PRIVATE_KEY"
@ -29,6 +30,7 @@ build-aarch64:
cache: cache:
key: repodest-aarch64 key: repodest-aarch64
paths: [repodest/] paths: [repodest/]
when: always
image: registry.git.ptrc.gay/ptrcnull/ptrcports-builder/arm64v8:latest image: registry.git.ptrc.gay/ptrcnull/ptrcports-builder/arm64v8:latest
# build-armhf: # build-armhf:
@ -36,6 +38,7 @@ build-aarch64:
# cache: # cache:
# key: repodest-armhf # key: repodest-armhf
# paths: [repodest/] # paths: [repodest/]
# when: always
# image: arm32v6/alpine:edge # image: arm32v6/alpine:edge
# build-armv7: # build-armv7:
@ -43,6 +46,7 @@ build-aarch64:
# cache: # cache:
# key: repodest-armv7 # key: repodest-armv7
# paths: [repodest/] # paths: [repodest/]
# when: always
# image: arm32v7/alpine:edge # image: arm32v7/alpine:edge
# build-ppc64le: # build-ppc64le:
@ -50,6 +54,7 @@ build-aarch64:
# cache: # cache:
# key: repodest-ppc64le # key: repodest-ppc64le
# paths: [repodest/] # paths: [repodest/]
# when: always
# image: ppc64le/alpine:edge # image: ppc64le/alpine:edge
# build-riscv64: # build-riscv64:
@ -57,6 +62,7 @@ build-aarch64:
# cache: # cache:
# key: repodest-riscv64 # key: repodest-riscv64
# paths: [repodest/] # paths: [repodest/]
# when: always
# image: riscv64/alpine:edge # image: riscv64/alpine:edge
# build-s390x: # build-s390x:
@ -64,6 +70,7 @@ build-aarch64:
# cache: # cache:
# key: repodest-s390x # key: repodest-s390x
# paths: [repodest/] # paths: [repodest/]
# when: always
# image: s390x/alpine:edge # image: s390x/alpine:edge
# build-x86: # build-x86:
@ -71,4 +78,5 @@ build-aarch64:
# cache: # cache:
# key: repodest-x86 # key: repodest-x86
# paths: [repodest/] # paths: [repodest/]
# when: always
# image: i386/alpine:edge # image: i386/alpine:edge