Skip to content

Commit 258e329

Browse files
authored
GitLab CI: temporarily disable SUSE 15 jobs. Include release/feature prefix for tarball filenames upon upload.
1 parent 5350559 commit 258e329

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

.gitlab/ci.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ variables:
5858
echo "GLIBC version: $GLIBC_VERSION"
5959
echo "GLIBCXX versions: $GLIBCXX_VERSIONS"
6060
61-
tarball suse-15:
61+
# Temporarily disabled job
62+
.tarball suse-15:
6263
extends: .tarball
6364
image: opensuse/leap:15
6465
cache:
@@ -80,7 +81,6 @@ tarball suse-15:
8081
- zypper install -y libffi-devel
8182
# show GLIBC verison
8283
- *show-glibc-version
83-
when: manual
8484

8585
tarball suse-42.1:
8686
extends: .tarball
@@ -144,15 +144,14 @@ tarball ubuntu-16.04:
144144
- '[[ -f /.dockerenv ]] && echo -e "Host *\n\tStrictHostKeyChecking no\n\n" > ~/.ssh/config'
145145
script:
146146
- ssh-add <(echo "$CD_PRIVATE_KEY")
147-
- 'BRANCH_SUFFIX=${CI_COMMIT_REF_SLUG#"release-"}'
148-
- 'BRANCH_SUFFIX=${BRANCH_SUFFIX#"feature-"}'
149-
- "echo Branch suffix: $BRANCH_SUFFIX"
150-
- FILENAME=codecompass-$BRANCH_SUFFIX-$ARCH_SUFFIX.tar.gz
147+
- "echo Branch name: $CI_COMMIT_REF_SLUG"
148+
- FILENAME=codecompass-$CI_COMMIT_REF_SLUG-$ARCH_SUFFIX.tar.gz
151149
- "echo Filename: $FILENAME"
152150
- scp -P22 build/codecompass.tar.gz gitlab-deployer@codecompass.net:/var/www/codecompass/$FILENAME
153151
- ssh -p22 gitlab-deployer@codecompass.net "mv -f /var/www/codecompass/$FILENAME /var/www/codecompass/live/wwwroot/tarball/$FILENAME"
154152

155-
upload suse-15:
153+
# Temporarily disabled job
154+
.upload suse-15:
156155
extends: .upload
157156
variables:
158157
ARCH_SUFFIX: suse-15

0 commit comments

Comments
 (0)