Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
rcfiles
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
nimrod
rcfiles
Commits
eb3a3930
Commit
eb3a3930
authored
4 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Don't install applications during the post-merge git hook.
parent
1ac823fc
No related branches found
No related tags found
No related merge requests found
Pipeline
#149
passed
4 years ago
Stage: test
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.githooks/post-merge
+1
-11
1 addition, 11 deletions
.githooks/post-merge
Makefile
+3
-3
3 additions, 3 deletions
Makefile
with
4 additions
and
14 deletions
.githooks/post-merge
+
1
−
11
View file @
eb3a3930
#!/bin/sh
#!/bin/sh
set
-eux
set
-eux
cd
"
$(
git rev-parse
--show-toplevel
)
"
cd
"
$(
git rev-parse
--show-toplevel
)
"
echo
Installing Golang apps
>
&2
go get github.com/giantswarm/semver-bump
||
true
go get github.com/nishanths/license
||
true
go get github.com/jmespath/jp
||
true
go get github.com/spelufo/on-change
||
true
go get github.com/kaorimatz/mysqldump-loader
||
true
go get github.com/lucagrulla/cw
||
true
go get sigs.k8s.io/kind
||
true
echo
Installing Python apps
>
&2
python3
-m
pip
install
--user
--requirement
requirements.txt
echo
Downloading binary and vendored files, creating generated files
>
&2
echo
Downloading binary and vendored files, creating generated files
>
&2
git clean
-fX
.bash_completion.d/
git clean
-fX
.bash_completion.d/
make
all
make
generated vendored
echo
Installing Git hooks
>
&2
echo
Installing Git hooks
>
&2
Documents/bin/install-git-hooks
Documents/bin/install-git-hooks
echo
Loading dconf config
>
&2
echo
Loading dconf config
>
&2
...
...
This diff is collapsed.
Click to expand it.
Makefile
+
3
−
3
View file @
eb3a3930
...
@@ -200,7 +200,7 @@ Documents/bin/rabbitmqadmin:
...
@@ -200,7 +200,7 @@ Documents/bin/rabbitmqadmin:
.bash_completion.d/rabbitmqadmin
:
Documents/bin/rabbitmqadmin
.bash_completion.d/rabbitmqadmin
:
Documents/bin/rabbitmqadmin
mkdir
-p
$$(
dirname
$@
)
mkdir
-p
$$(
dirname
$@
)
Documents/bin/rabbitmqadmin
--bash-completion
>
$@
-
Documents/bin/rabbitmqadmin
--bash-completion
>
$@
.ssh/localhost
:
.ssh/localhost
:
ssh-keygen
-t
ecdsa
-N
''
-C
localhost
-f
$@
ssh-keygen
-t
ecdsa
-N
''
-C
localhost
-f
$@
...
@@ -209,7 +209,7 @@ Documents/bin/rabbitmqadmin:
...
@@ -209,7 +209,7 @@ Documents/bin/rabbitmqadmin:
ssh-keygen
-y
-f
$<
>
$@
ssh-keygen
-y
-f
$<
>
$@
.ssh/authorized_keys
:
.ssh/localhost.pub
.ssh/authorized_keys
:
.ssh/localhost.pub
$(
ansible-local
)
-m
authorized_key
-a
"user=
$$(
whoami
)
key='
$$(
cat .ssh/localhost.pub
)
' key_options='from=
\"
127.0.0.1/8
\"
'"
-
$(
ansible-local
)
-m
authorized_key
-a
"user=
$$(
whoami
)
key='
$$(
cat .ssh/localhost.pub
)
' key_options='from=
\"
127.0.0.1/8
\"
'"
.bash_completion.d/minishift
:
$(DESTDIR)/bin/minishift
.bash_completion.d/minishift
:
$(DESTDIR)/bin/minishift
mkdir
-p
$$(
dirname
$@
)
mkdir
-p
$$(
dirname
$@
)
...
@@ -220,4 +220,4 @@ Documents/bin/rabbitmqadmin:
...
@@ -220,4 +220,4 @@ Documents/bin/rabbitmqadmin:
-$$(
basename
$@
)
completion bash
>
$@
-$$(
basename
$@
)
completion bash
>
$@
.bash_completion.d/poetry
:
.bash_completion.d/poetry
:
poetry completions bash
>
$@
-
poetry completions bash
>
$@
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