Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
GitLab Drupal CI
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Monitor
Service Desk
Analyze
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
Docker
GitLab Drupal CI
Commits
5810d09b
Commit
5810d09b
authored
2 years ago
by
jurgenhaas
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop' into 'main'
Merging develop into main See merge request
!5
parents
2de27af4
69a50936
Branches
Branches containing commit
Tags
v2.2.24
Tags containing commit
1 merge request
!5
Merging develop into main
Pipeline
#510665
passed
2 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+2
-2
2 additions, 2 deletions
Dockerfile
bin/merge
+2
-0
2 additions, 0 deletions
bin/merge
with
4 additions
and
2 deletions
Dockerfile
+
2
−
2
View file @
5810d09b
...
...
@@ -53,6 +53,8 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
\
apk update
&&
\
apk add
--no-cache
openssh wget make patch bash fish zsh python3 git git-lfs unzip acl libpng-dev libzip-dev
sudo
jq nano rsync
&&
\
ln
-sf
python3 /usr/bin/python
&&
\
ln
-sf
pip3 /usr/bin/pip
&&
\
if
[
"
${
ALPINE_VERSION
}
"
=
"3.12"
]
;
then
\
apk add
--no-cache
mandoc py3-pip
;
\
elif
[
"
${
ALPINE_VERSION
}
"
=
"3.15"
]
;
then
\
...
...
@@ -80,8 +82,6 @@ RUN echo 'hosts: files dns' > /etc/nsswitch.conf && \
ln
-sf
/lib/libc.musl-x86_64.so.1 /usr/glibc-compat/lib
&&
\
ln
-sf
/usr/lib/libgcc_s.so.1 /lib/libgcc_s.so.1
&&
\
ln
-sf
/lib/libgcc_s.so.1 /usr/glibc-compat/lib/
&&
\
ln
-sf
python3 /usr/bin/python
&&
\
ln
-sf
pip3 /usr/bin/pip
&&
\
\
wget
-q
https://github.com/ahoy-cli/ahoy/releases/download/
${
AHOY_VERSION
}
/ahoy-bin-
`
uname
-s
`
-amd64
-O
/usr/local/bin/ahoy
&&
\
chmod
+x /usr/local/bin/ahoy
&&
\
...
...
This diff is collapsed.
Click to expand it.
bin/merge
+
2
−
0
View file @
5810d09b
#!/bin/bash
function
gitlab
()
{
echo
" sending request ..."
output
=
"
$(
curl
--write-out
"
\n
HTTP-Code:%{http_code}"
-X
"
$2
"
-s
-H
"Private-Token:
${
GITLAB_PRIVATE_TOKEN
}
"
"
${
GITLAB_URL
}
"
/api/v4/
"
$3
"
"
$@
"
)
"
echo
" done"
result
=
"
$(
echo
"
$output
"
|
grep
"{"
)
"
code
=
"
$(
echo
"
$output
"
|
grep
-m
1
"HTTP-Code:"
|
cut
-d
:
-f2
)
"
if
[[
$code
-eq
$1
]]
;
then
...
...
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