Skip to content

Commit a34e37d

Browse files
committed
Minor changes
1 parent 1efe91a commit a34e37d

File tree

1 file changed

+11
-15
lines changed

1 file changed

+11
-15
lines changed

.gitlab-ci.yml

Lines changed: 11 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,34 +2,31 @@
22
# SPDX-FileCopyrightText: none
33
# SPDX-License-Identifier: CC0-1.0
44

5-
image: "eclipse-temurin:17-jdk-alpine"
6-
75
variables:
86
GIT_DEPTH: 1
97

10-
cache:
11-
key: "cache-build"
12-
paths:
13-
- cache/build
14-
when: "always"
8+
workflow:
9+
auto_cancel:
10+
on_new_commit: "interruptible"
1511

1612
default:
13+
image: "eclipse-temurin:17-jdk-alpine"
14+
interruptible: true
15+
cache:
16+
key: "cache-build"
17+
paths: [cache/build]
18+
when: "always"
1719
before_script: |
1820
# Install dependencies
1921
apk add bash zip~=3.0 wget || exit "${?}"
2022
21-
workflow:
22-
auto_cancel:
23-
on_new_commit: "interruptible"
24-
2523
stages:
2624
- build
2725
- test
2826

2927
# Temporarily disabled
3028
.build-oss-job:
3129
stage: build
32-
interruptible: true
3330
timeout: "5 minutes"
3431
rules:
3532
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -48,7 +45,6 @@ stages:
4845

4946
build-job:
5047
stage: build
51-
interruptible: true
5248
timeout: "5 minutes"
5349
rules:
5450
- if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
@@ -70,12 +66,12 @@ build-job:
7066
# Cache expiration: 14 days
7167
ping-cache:
7268
stage: build
69+
interruptible: false
7370
timeout: "5 minutes"
7471
rules:
7572
- if: $CI_PIPELINE_SOURCE == "schedule"
7673
when: always
77-
inherit:
78-
default: false
74+
before_script: []
7975
script: ":"
8076

8177
# Temporarily disabled

0 commit comments

Comments
 (0)