Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
alpine-gitlab-ci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
infra
docker
alpine-gitlab-ci
Commits
62ea9916
Commit
62ea9916
authored
Feb 03, 2020
by
Kevin Daudt
💻
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build.sh: Add extra git debug output
Only when CI_DEBUG_BUILD is non-empty
parent
d9a570de
Pipeline
#6651
passed with stages
in 1 minute and 33 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
overlay/usr/local/bin/build.sh
overlay/usr/local/bin/build.sh
+10
-4
No files found.
overlay/usr/local/bin/build.sh
View file @
62ea9916
...
...
@@ -129,10 +129,16 @@ failed=
sysinfo
||
true
setup_system
||
die
"Failed to setup system"
git fetch
-v
"
$CI_MERGE_REQUEST_PROJECT_URL
"
"+refs/heads/
$BASEBRANCH
:refs/heads/
$BASEBRANCH
"
if
[
-n
"
$CI_DEBUG_BUILD
"
]
;
then
git log
-200
--oneline
--graph
--decorate
"
$BASEBRANCH
"
HEAD
git fetch
-qn
"
$CI_MERGE_REQUEST_PROJECT_URL
"
\
"+refs/heads/
$BASEBRANCH
:refs/heads/
$BASEBRANCH
"
if
debugging
;
then
merge_base
=
$(
git merge-base
"
$BASEBRANCH
"
HEAD
)
echo
"
$merge_base
"
git
--version
git config
-l
git tag merge-base
"
$merge_base
"
||
{
echo
"Could not determine merge-base"
;
exit
50
;
}
git log
--oneline
--graph
--decorate
--all
fi
for
repo
in
$(
changed_repos
)
;
do
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment