Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gitleaks
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SmartDataLab
public
CI-CD components
Gitleaks
Commits
86464e61
Commit
86464e61
authored
1 year ago
by
Clement Bois
Browse files
Options
Downloads
Patches
Plain Diff
fix: remove install_ca_certs
parent
fc2cc9b5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/gitlab-ci-gitleaks.yml
+0
-19
0 additions, 19 deletions
templates/gitlab-ci-gitleaks.yml
with
0 additions
and
19 deletions
templates/gitlab-ci-gitleaks.yml
+
0
−
19
View file @
86464e61
...
...
@@ -103,24 +103,6 @@ stages:
fi
}
function install_ca_certs() {
certs=$1
if [[ -z "$certs" ]]
then
return
fi
# import in system
if echo "$certs" >> /etc/ssl/certs/ca-certificates.crt
then
log_info "CA certificates imported in \\e[33;1m/etc/ssl/certs/ca-certificates.crt\\e[0m"
fi
if echo "$certs" >> /etc/ssl/cert.pem
then
log_info "CA certificates imported in \\e[33;1m/etc/ssl/cert.pem\\e[0m"
fi
}
function unscope_variables() {
_scoped_vars=$(env | awk -F '=' "/^scoped__[a-zA-Z0-9_]+=/ {print \$1}" | sort)
if [[ -z "$_scoped_vars" ]]; then return; fi
...
...
@@ -234,7 +216,6 @@ gitleaks:
GIT_DEPTH
:
0
before_script
:
-
!reference
[
.gitleaks-scripts
]
-
install_ca_certs "${CUSTOM_CA_CERTS:-$DEFAULT_CA_CERTS}"
-
mkdir -p -m 777 reports
-
install_gitleaks_rules
-
git config --global --add safe.directory "${CI_PROJECT_DIR}"
...
...
This diff is collapsed.
Click to expand it.
Benguria Elguezabal, Gorka
@gorka.benguria
mentioned in commit
fa525a3e
·
11 months ago
mentioned in commit
fa525a3e
mentioned in commit fa525a3e22222a3916e4a193d894a5a04feb88a4
Toggle commit list
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