Skip to content
Commits on Source (12)
......@@ -12,13 +12,12 @@ include:
inputs:
check-links-job-tags: ["docker"]
tbc-check-job-tags: ["docker"]
tbc-check-image: cicd-docker-dev.artifact.tecnalia.com/tbc-check:master
tbc-check-image: cicd-docker-dev.artifact.tecnalia.dev/tbc-check:master
gitlab-ci-lint-job-tags: ["docker"]
- component: $CI_SERVER_FQDN/$TBC_NAMESPACE/kicker/validation@master
inputs:
kicker-validation-job-tags: ["docker"]
schema-base-url: "https://git.code.tecnalia.com/api/v4/projects/smartdatalab%2Fpublic%2Fci-cd-components%2Fkicker/repository/files"
yajsv-image: "cicd-docker-dev.artifact.tecnalia.com/yajsv:latest"
schema-base-url: "https://git.code.tecnalia.dev/api/v4/projects/smartdatalab%2Fpublic%2Fci-cd-components%2Fkicker/repository/files"
- component: $CI_SERVER_FQDN/$TBC_NAMESPACE/bash/gitlab-ci-bash@master
inputs:
bash-shellcheck-job-tags: ["docker"]
......@@ -29,13 +28,8 @@ include:
variables:
GITLAB_CI_FILES: "templates/gitlab-ci-gitleaks.yml"
BASH_SHELLCHECK_FILES: "*.sh"
GIT_STRATEGY: clone
stages:
- build
- publish
semantic-release:
rules:
# on production branch(es): auto if SEMREL_AUTO_RELEASE_ENABLED
......
# [2.6.0](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/gitleaks/compare/2.5.2...2.6.0) (2024-08-29)
## [2.6.1](https://git.code.tecnalia.dev/smartdatalab/public/ci-cd-components/gitleaks/compare/2.6.0...2.6.1) (2025-01-20)
### Bug Fixes
* detect subcommand is now deprecated ([9860a4c](https://git.code.tecnalia.dev/smartdatalab/public/ci-cd-components/gitleaks/commit/9860a4c2d0096ef3e647b2051fd9d2410a0f1a53))
## [2.6.1](https://gitlab.com/to-be-continuous/gitleaks/compare/2.6.0...2.6.1) (2024-09-23)
### Bug Fixes
* detect subcommand is now deprecated ([9860a4c](https://gitlab.com/to-be-continuous/gitleaks/commit/9860a4c2d0096ef3e647b2051fd9d2410a0f1a53))
# [2.6.0](https://gitlab.com/to-be-continuous/gitleaks/compare/2.5.2...2.6.0) (2024-07-15)
### Features
* default gitleaks arguments to avoid secret exposure ([595fc7d](https://git.code.tecnalia.com/smartdatalab/public/ci-cd-components/gitleaks/commit/595fc7dfe42fd00c8c5dc6647779bed24955e0f4))
* default gitleaks arguments to avoid secret exposure ([595fc7d](https://git.code.tecnalia.dev/smartdatalab/public/ci-cd-components/gitleaks/commit/595fc7dfe42fd00c8c5dc6647779bed24955e0f4))
## [2.5.2](https://gitlab.com/to-be-continuous/gitleaks/compare/2.5.1...2.5.2) (2024-05-05)
......
......@@ -19,7 +19,7 @@ Add the following to your `.gitlab-ci.yml`:
```yaml
include:
# 1: include the component
- component: $CI_SERVER_FQDN/to-be-continuous/gitleaks/gitlab-ci-gitleaks@2.6.0
- component: $CI_SERVER_FQDN/to-be-continuous/gitleaks/gitlab-ci-gitleaks@2.6.1
# 2: set/override component inputs
inputs:
args: "--no-banner" # ⚠ this is only an example
......@@ -33,7 +33,7 @@ Add the following to your `.gitlab-ci.yml`:
include:
# 1: include the template
- project: 'to-be-continuous/gitleaks'
ref: '2.6.0'
ref: '2.6.1'
file: '/templates/gitlab-ci-gitleaks.yml'
variables:
......
......@@ -27,7 +27,7 @@ if [[ "$curVer" ]]; then
log_info "Bump version from \\e[33;1m${curVer}\\e[0m to \\e[33;1m${nextVer}\\e[0m (release type: $relType)..."
# replace in README
sed -e "s/ref: *'$curVer'/ref: '$nextVer'/" -e "s/ref: *\"$curVer\/ref: \$nextVer\/" -e "s/component: *\(.*\)@$curVer/component: \1@$nextVer/" README.md > README.md.next
sed -e "s/ref: *'$curVer'/ref: '$nextVer'/" -e "s/ref: *\"$curVer\"/ref: \"$nextVer\"/" -e "s/component: *\(.*\)@$curVer/component: \1@$nextVer/" README.md > README.md.next
mv -f README.md.next README.md
# replace in template and variants
......
......@@ -230,7 +230,7 @@ gitleaks:
entrypoint: [""]
services:
- name: "$TBC_TRACKING_IMAGE"
command: ["--service", "gitleaks", "2.6.0"]
command: ["--service", "gitleaks", "2.6.1"]
stage: test
needs: []
variables:
......@@ -241,7 +241,7 @@ gitleaks:
- install_gitleaks_rules
- git config --global --add safe.directory "${CI_PROJECT_DIR}"
script:
- gitleaks detect ${TRACE+--log-level debug} --source . $gitleaks_rule_opts --report-path reports/gitleaks.native.json $GITLEAKS_ARGS
- gitleaks git ${TRACE+--log-level debug} $gitleaks_rule_opts --report-path reports/gitleaks.native.json $GITLEAKS_ARGS .
artifacts:
name: "$CI_JOB_NAME artifacts from $CI_PROJECT_NAME on $CI_COMMIT_REF_SLUG"
when: always
......