Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Monster
Manage
Activity
Members
Plan
Jira
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSS
Libraries
Javascript
Monster
Commits
0b5f794e
You need to sign in or sign up before continuing.
Verified
Commit
0b5f794e
authored
10 months ago
by
Volker Schukai
Browse files
Options
Downloads
Patches
Plain Diff
fix: wip new pipeline
parent
6a909554
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+10
-7
10 additions, 7 deletions
.gitlab-ci.yml
nix/scripts/release.nix
+1
-1
1 addition, 1 deletion
nix/scripts/release.nix
with
11 additions
and
8 deletions
.gitlab-ci.yml
+
10
−
7
View file @
0b5f794e
...
...
@@ -50,24 +50,27 @@ web-tests:
artifacts
:
paths
:
-
screenshot.png
rules
:
-
if
:
'
$CI_COMMIT_TAG
==
null'
release
:
stage
:
release
tags
:
-
nixos-gen3
script
:
-
nix develop .#gitlab --command release
when
:
on_success
when
:
on_success
rules
:
-
if
:
'
$CI_COMMIT_TAG
==
null'
deploy
:
stage
:
deploy
tags
:
-
nixos-gen3
script
:
-
git pull
-
nix flake update
-
nix develop .#gitlab --command build-and-publish
when
:
on_success
when
:
on_success
rules
:
-
if
:
'
$CI_COMMIT_TAG
!=
null'
\ No newline at end of file
This diff is collapsed.
Click to expand it.
nix/scripts/release.nix
+
1
−
1
View file @
0b5f794e
...
...
@@ -78,7 +78,7 @@ in
${
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
-o ci.skip origin
"$CI_COMMIT_REF_NAME" --tags
${
pkgs
'
.
git
}
/bin/git push "$CI_COMMIT_REF_NAME" --tags
echo_ok "done"
''
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment