Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
portail
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FIL L3 Stage
portail
Commits
4d5596d4
Commit
4d5596d4
authored
2 years ago
by
Damien Pollet
Browse files
Options
Downloads
Patches
Plain Diff
Deal with recentbashisms
parent
de6c2a0a
No related branches found
No related tags found
No related merge requests found
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-4
2 additions, 4 deletions
.gitlab-ci.yml
Makefile
+5
-5
5 additions, 5 deletions
Makefile
with
7 additions
and
9 deletions
.gitlab-ci.yml
+
2
−
4
View file @
4d5596d4
...
@@ -7,10 +7,8 @@ default:
...
@@ -7,10 +7,8 @@ default:
build
:
build
:
script
:
script
:
-
apk --no-cache add make git
-
apk --no-cache add make git
-
pandoc --version
-
sh --version; git --version; pandoc --version
-
git --version
-
git branch --verbose; git branch --verbose --remote
-
git branch --verbose
-
git branch --verbose --remote
-
make prepare wipe
-
make prepare wipe
-
make
-
make
-
make publish
-
make publish
This diff is collapsed.
Click to expand it.
Makefile
+
5
−
5
View file @
4d5596d4
...
@@ -16,10 +16,10 @@ all : $(OUT_MARKUP) $(OUT_OTHERS)
...
@@ -16,10 +16,10 @@ all : $(OUT_MARKUP) $(OUT_OTHERS)
prepare
:
$(OUT)
prepare
:
$(OUT)
git fetch origin public
git fetch origin public
git worktree add
$(
OUT
)
public
git worktree add
$(
OUT
)
public
if
[
[
-
v
DEPLOY_TOKEN
]
]
;
then
\
if
[
-
n
"
$${
DEPLOY_TOKEN
}
"
]
;
then
\
git config user.name
"
$
GITLAB_USER_NAME
"
;
\
git config user.name
'
${
GITLAB_USER_NAME
}
'
;
\
git config user.email
"
$
GITLAB_USER_EMAIL
"
;
\
git config user.email
'
${
GITLAB_USER_EMAIL
}
'
;
\
git remote set-url origin
"https://cicd:
${
DEPLOY_TOKEN
}
@
${
CI_SERVER_HOST
}
/
${
CI_PROJECT_PATH
}
.git"
;
\
git remote set-url origin
"https://cicd:
$
$
{
DEPLOY_TOKEN
}
@
${
CI_SERVER_HOST
}
/
${
CI_PROJECT_PATH
}
.git"
;
\
fi
fi
wipe
:
wipe
:
...
@@ -28,7 +28,7 @@ wipe :
...
@@ -28,7 +28,7 @@ wipe :
publish
:
publish
:
git
-C
$(
OUT
)
add .
git
-C
$(
OUT
)
add .
git
-C
$(
OUT
)
commit
--message
'Publish from
$(
shell git rev-parse HEAD
)
'
git
-C
$(
OUT
)
commit
--message
'Publish from
$(
shell git rev-parse HEAD
)
'
git
-C
$(
OUT
)
push
--push-option
ci.skip origin HEAD:public
git
-C
$(
OUT
)
push
--push-option
ci.skip origin
'
HEAD:public
'
clean
:
clean
:
rm
-fr
$(
OUT
)
rm
-fr
$(
OUT
)
...
...
This diff is collapsed.
Click to expand it.
Damien Pollet
@damien.pollet
mentioned in commit
81fa098c
·
2 years ago
mentioned in commit
81fa098c
mentioned in commit 81fa098cf3f3af3157a17ca73b4e49b5eb101308
Toggle commit list
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