Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
lxdist-build
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Requirements
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
linuxsupport
lxdist-build
Merge requests
!14
LOS-516
Code
Review changes
Check out branch
Open in Workspace
Download
Patches
Plain diff
Merged
LOS-516
make_commit_fail
into
master
Overview
0
Commits
1
Pipelines
0
Changes
1
Merged
Daniel Juarez Gonzalez
requested to merge
make_commit_fail
into
master
5 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
d5a1f0df
1 commit,
5 years ago
1 file
+
14
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
bin/bscommitupdates
+
14
−
3
Options
@@ -143,9 +143,17 @@ do
git config
--global
user.email
"linux.support@cern.ch"
# We use kerberos as credentials
git clone https://:@gitlab.cern.ch:8443/linuxsupport/websites/linux.cern.ch.git
"
$TMPDIR
"
/documentation
if
!
git clone https://:@gitlab.cern.ch:8443/linuxsupport/websites/linux.cern.ch.git
"
$TMPDIR
"
/documentation
;
then
echo
"Could not clone repo"
exit
1
fi
cd
"
$TMPDIR
"
/documentation
||
exit
1
git checkout
$BRANCH
if
!
git checkout
$BRANCH
;
then
echo
"Could checkout
$BRANCH
"
exit
1
fi
mkdir
-p
$(
dirname
"
$TMPDIR
"
/documentation/docs/
$REPO_DEST_PATH
/
"
$TODAY
"
.md
)
&&
cp
"
$TMPDIR
"
/.updates
$TMPDIR
/documentation/docs/
$REPO_DEST_PATH
/
$TODAY
.md
git add
"
$TMPDIR
"
/documentation/docs/
$REPO_DEST_PATH
/
"
$TODAY
"
.md
@@ -155,7 +163,10 @@ do
export
GIT_MERGE_AUTOEDIT
=
no
# Merge made by the 'recursive' strategy. It does not conflict with other jobs
git pull
git push origin
$BRANCH
if
!
git push origin
$BRANCH
;
then
echo
"Could push to
$BRANCH
"
exit
1
fi
# Do not leave temp dir behind
rm
-rf
"
$TMPDIR
"
done
Loading