Skip to content
Snippets Groups Projects
Verified Commit f3f020c9 authored by Volker Schukai's avatar Volker Schukai :alien:
Browse files

fix: wip new pipeline

parent cb8b7710
No related branches found
No related tags found
No related merge requests found
......@@ -20,38 +20,38 @@ before_script:
after_script:
- nix develop .#gitlab --command clean-up
#tests:
# stage: test
# tags:
# - nixos-gen3
# script:
# - nix develop .#gitlab --command run-ci-tests
# cache:
# untracked: true
# key:
# files:
# - pnpm-lock.yaml
# paths:
# - node_modules/
#
#web-tests:
# stage: test
# tags:
# - nixos-gen3
# script:
# - nix develop .#gitlab --command run-ci-web-tests
# cache:
# untracked: true
# key:
# files:
# - pnpm-lock.yaml
# paths:
# - node_modules/
# artifacts:
# paths:
# - screenshot.png
# rules:
# - if: '$CI_COMMIT_TAG == null'
tests:
stage: test
tags:
- nixos-gen3
script:
- nix develop .#gitlab --command run-ci-tests
cache:
untracked: true
key:
files:
- pnpm-lock.yaml
paths:
- node_modules/
web-tests:
stage: test
tags:
- nixos-gen3
script:
- nix develop .#gitlab --command run-ci-web-tests
cache:
untracked: true
key:
files:
- pnpm-lock.yaml
paths:
- node_modules/
artifacts:
paths:
- screenshot.png
rules:
- if: '$CI_COMMIT_TAG == null'
release:
stage: release
......
......@@ -51,7 +51,7 @@ in
fi
echo_step "Write project version"
set -x
export VERSION=$gitVersion
export COMMIT="$CI_COMMIT_SHA"
export NAME=$(basename $(pwd) | sed 's/./\U&/' | sed 's/-//g')
......@@ -78,7 +78,10 @@ set -x
${pkgs'.git}/bin/git --no-pager log --decorate=short --pretty=oneline -n 5
${pkgs'.git}/bin/git remote set-url origin https://pad:''${GITLAB_TOKEN}@''${CI_REPOSITORY_URL#*@}
${pkgs'.git}/bin/git push --tags
if ! ${pkgs'.git}/bin/git push origin "$CI_COMMIT_REF_NAME" --tags ; then
echo_fail "Error: Could not push git tag $gitVersion."
exit 1
fi
echo_ok "done"
''
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment