Commit 2cd1e0f6 authored by Nigel Kukard's avatar Nigel Kukard

CI cleanup and standardization

parent b2a31297
stages:
- quality
- tests
- install
- upload
- code-quality
- make-test
- make-install
- sources-upload
code-quality:
stage: quality
stage: code-quality
script:
- export DEBIAN_FRONTEND=noninteractive
- apt-get update
......@@ -18,7 +18,7 @@ code-quality:
make-test:
stage: tests
stage: make-test
script:
- export DEBIAN_FRONTEND=noninteractive
- apt-get update
......@@ -32,7 +32,7 @@ make-test:
make-install:
stage: install
stage: make-install
script:
- export DEBIAN_FRONTEND=noninteractive
- apt-get update
......@@ -45,8 +45,8 @@ make-install:
upload-tagged:
stage: upload
sources-upload:
stage: sources-upload
only:
- tags@allworldit/awit-ssh-client
except:
......@@ -60,7 +60,7 @@ upload-tagged:
# Import signing key
- echo "$GPG_SIGNKEY" | gpg --import
# Work out naming
- ARCHIVE_NAME=${CI_PROJECT_NAME}-${CI_BUILD_TAG##v}
- export ARCHIVE_NAME=${CI_PROJECT_NAME}-${CI_BUILD_TAG##v}
# Create tar archive
- git archive --format=tar --prefix=${ARCHIVE_NAME}/ ${CI_BUILD_TAG} > ../${ARCHIVE_NAME}.tar
# Create compressed versions
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment