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
d365433d
Verified
Commit
d365433d
authored
11 months ago
by
Volker Schukai
Browse files
Options
Downloads
Patches
Plain Diff
fix: wip new pipeline
parent
aaec4ae5
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
+7
-0
7 additions, 0 deletions
.gitlab-ci.yml
flake.nix
+13
-13
13 additions, 13 deletions
flake.nix
with
20 additions
and
13 deletions
.gitlab-ci.yml
+
7
−
0
View file @
d365433d
...
@@ -9,6 +9,13 @@ stages:
...
@@ -9,6 +9,13 @@ stages:
-
test
-
test
-
deploy
-
deploy
before_script
:
-
git config --global user.email "${GITLAB_USER_EMAIL}"
-
git config --global user.name "${GITLAB_USER_NAME}"
-
git config --global credential.helper '!f() { echo "username=gitlab-ci-token"; echo "password=${CI_JOB_TOKEN}"; }; f'
-
git config --global pull.rebase
true
-
git config --global http.sslVerify "false"
after_script
:
after_script
:
-
if [ -f .env-gitlab-ci ]; then rm .env-gitlab-ci; fi
-
if [ -f .env-gitlab-ci ]; then rm .env-gitlab-ci; fi
...
...
This diff is collapsed.
Click to expand it.
flake.nix
+
13
−
13
View file @
d365433d
...
@@ -120,19 +120,19 @@
...
@@ -120,19 +120,19 @@
cd
''$
{CI_PROJECT_DIR} || exit 1
cd
''$
{CI_PROJECT_DIR} || exit 1
${
pkgs
'
.
git
}
/bin/git config --global user.email "
''$
{GITLAB_USER_EMAIL}"
#
${
pkgs
'
.
git
}
/bin/git config --global user.email "
''$
{GITLAB_USER_EMAIL}"
${
pkgs
'
.
git
}
/bin/git config --global user.name "
''$
{GITLAB_USER_NAME}"
#
${
pkgs
'
.
git
}
/bin/git config --global user.name "
''$
{GITLAB_USER_NAME}"
${
pkgs
'
.
git
}
/bin/git config --global credential.helper '!f() { echo "username=gitlab-ci-token"; echo "password=
''$
{CI_JOB_TOKEN}"; }; f'
#
${
pkgs
'
.
git
}
/bin/git config --global credential.helper '!f() { echo "username=gitlab-ci-token"; echo "password=
''$
{CI_JOB_TOKEN}"; }; f'
${
pkgs
'
.
git
}
/bin/git config --global pull.rebase true
#
${
pkgs
'
.
git
}
/bin/git config --global pull.rebase true
${
pkgs
'
.
git
}
/bin/git config --global http.sslVerify "false"
#
${
pkgs
'
.
git
}
/bin/git config --global http.sslVerify "false"
#
${
pkgs
'
.
git
}
/bin/git remote set-url origin "
''$
{CI_REPOSITORY_URL}"
#
${
pkgs
'
.
git
}
/bin/git remote set-url origin "
''$
{CI_REPOSITORY_URL}"
#
${
pkgs
'
.
git
}
/bin/git fetch --all --tags --unshallow
#
${
pkgs
'
.
git
}
/bin/git fetch --all --tags --unshallow
${
pkgs
'
.
git
}
/bin/git reset --hard origin/master
#
${
pkgs
'
.
git
}
/bin/git reset --hard origin/master
${
pkgs
'
.
git
}
/bin/git clean -fd
#
${
pkgs
'
.
git
}
/bin/git clean -fd
${
pkgs
'
.
git
}
/bin/git checkout $CI_COMMIT_REF_NAME
#
${
pkgs
'
.
git
}
/bin/git checkout $CI_COMMIT_REF_NAME
${
pkgs
'
.
git
}
/bin/git pull origin $CI_COMMIT_REF_NAME
#
${
pkgs
'
.
git
}
/bin/git pull origin $CI_COMMIT_REF_NAME
...
...
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