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
f3f020c9
"source/requirements.go" did not exist on "cee6aa80da2dea0b457250778df103acd5e48e86"
Verified
Commit
f3f020c9
authored
11 months ago
by
Volker Schukai
Browse files
Options
Downloads
Patches
Plain Diff
fix: wip new pipeline
parent
cb8b7710
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+32
-32
32 additions, 32 deletions
.gitlab-ci.yml
nix/scripts/release.nix
+5
-2
5 additions, 2 deletions
nix/scripts/release.nix
with
37 additions
and
34 deletions
.gitlab-ci.yml
+
32
−
32
View file @
f3f020c9
...
@@ -20,38 +20,38 @@ before_script:
...
@@ -20,38 +20,38 @@ before_script:
after_script
:
after_script
:
-
nix develop .#gitlab --command clean-up
-
nix develop .#gitlab --command clean-up
#
tests:
tests
:
#
stage: test
stage
:
test
#
tags:
tags
:
#
- nixos-gen3
-
nixos-gen3
#
script:
script
:
#
- nix develop .#gitlab --command run-ci-tests
-
nix develop .#gitlab --command run-ci-tests
#
cache:
cache
:
#
untracked: true
untracked
:
true
#
key:
key
:
#
files:
files
:
#
- pnpm-lock.yaml
-
pnpm-lock.yaml
#
paths:
paths
:
#
- node_modules/
-
node_modules/
#
#
web-tests:
web-tests
:
#
stage: test
stage
:
test
#
tags:
tags
:
#
- nixos-gen3
-
nixos-gen3
#
script:
script
:
#
- nix develop .#gitlab --command run-ci-web-tests
-
nix develop .#gitlab --command run-ci-web-tests
#
cache:
cache
:
#
untracked: true
untracked
:
true
#
key:
key
:
#
files:
files
:
#
- pnpm-lock.yaml
-
pnpm-lock.yaml
#
paths:
paths
:
#
- node_modules/
-
node_modules/
#
artifacts:
artifacts
:
#
paths:
paths
:
#
- screenshot.png
-
screenshot.png
#
rules:
rules
:
#
- if: '$CI_COMMIT_TAG == null'
-
if
:
'
$CI_COMMIT_TAG
==
null'
release
:
release
:
stage
:
release
stage
:
release
...
...
This diff is collapsed.
Click to expand it.
nix/scripts/release.nix
+
5
−
2
View file @
f3f020c9
...
@@ -51,7 +51,7 @@ in
...
@@ -51,7 +51,7 @@ in
fi
fi
echo_step "Write project version"
echo_step "Write project version"
set -x
export VERSION=$gitVersion
export VERSION=$gitVersion
export COMMIT="$CI_COMMIT_SHA"
export COMMIT="$CI_COMMIT_SHA"
export NAME=$(basename $(pwd) | sed 's/./\U&/' | sed 's/-//g')
export NAME=$(basename $(pwd) | sed 's/./\U&/' | sed 's/-//g')
...
@@ -78,7 +78,10 @@ set -x
...
@@ -78,7 +78,10 @@ set -x
${
pkgs
'
.
git
}
/bin/git --no-pager log --decorate=short --pretty=oneline -n 5
${
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 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"
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