Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ansible_lza_proxy
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
Container 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Digital Preservation
ansible_lza_proxy
Merge requests
!1
Feature: GitLab-CI
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Feature: GitLab-CI
feat_gitlab_ci
into
master
Overview
0
Commits
20
Pipelines
1
Changes
20
Merged
Jörg Sachse
requested to merge
feat_gitlab_ci
into
master
2 years ago
Overview
0
Commits
20
Pipelines
1
Changes
20
Expand
The role can now be tested using a GitLab-CI pipeline.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
ecf90479
20 commits,
2 years ago
20 files
+
184
−
125
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
20
Search (e.g. *.vue) (Ctrl+P)
.githooks/pre-commit
+
2
−
2
Options
#!/
bin/
bash
#!/
usr/bin/env
bash
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
@@ -103,7 +103,7 @@ echo "SUCCESS: URL detection stage."
### IP address detection stage
# This is pretty basic regex matching, but it's a start.
IP_REGEX
=
'[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}'
IP_REGEX
=
'[
^a-zA-ZäöÜÄÖÜß/\\\-][
0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}\.[0-9]\{1,3\}'
${
GREP_CMD
}
${
GREP_EXCLUDES
}
-e
"
${
IP_REGEX
}
"
"
${
REPOPATH
}
"
|
grep
-v
"127.0.0"
if
[[
${
?
}
-eq
0
]]
;
then
echo
"ERROR: found IP address."
Loading