From 31bf3e4e738a45c6f0d1b0518d661c53de4f2248 Mon Sep 17 00:00:00 2001 From: nd <git@notandy.de> Date: Thu, 25 Nov 2021 23:35:37 +0100 Subject: [PATCH] move variable to include file --- .gitlab-ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b4edd14..529d991 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -21,7 +21,7 @@ autoupdate: script: - git clone "https://${GITLAB_ACCESS_USER}:${GITLAB_ACCESS_TOKEN}@${CI_SERVER_HOST}/${CI_PROJECT_PATH}.git" autoupdate-checkout - cd autoupdate-checkout - - wget https://git.cccv.de/infra/packages/ci-utils/-/raw/main/filter-versions-from-github.py + - wget "${SHARED_CI_SCRIPTS_URL_PREFIX}/filter-versions-from-github.py" - chmod 555 filter-versions-from-github.py - ./filter-versions-from-github.py - | @@ -46,8 +46,8 @@ autoupdate: .build:binary: extends: .build script: - - wget https://github.com/${UPSTREAM_GITHUB_PATH}/archive/refs/tags/${UPSTREAM_VERSION}.tar.gz - - tar -xf ${UPSTREAM_VERSION}.tar.gz + - wget "https://github.com/${UPSTREAM_GITHUB_PATH}/archive/refs/tags/${UPSTREAM_VERSION}.tar.gz" + - tar -xf "${UPSTREAM_VERSION}.tar.gz" - cd prometheus-nginxlog-exporter-* - go build - mv prometheus-nginxlog-exporter ../ @@ -64,7 +64,7 @@ autoupdate: extends: .package image: registry.git.cccv.de/infra/packages/docker-images/bullseye script: - - wget https://git.cccv.de/infra/packages/ci-utils/-/raw/main/create_debian-changelog-from-git.py + - wget "${SHARED_CI_SCRIPTS_URL_PREFIX}/create_debian-changelog-from-git.py" - chmod 555 create_debian-changelog-from-git.py - ./create_debian-changelog-from-git.py ${PACKAGE_NAME} > debian/changelog - ls -lahtr -- GitLab