Skip to content

Commit 646bc93

Browse files
szhGitHub Enterprise
authored andcommitted
Merge pull request #65 from Conjur-Enterprise/trivy-fix
CNJR-0000: Prep for 1.7.30
2 parents e801047 + 96b0b14 commit 646bc93

File tree

5 files changed

+253
-480
lines changed

5 files changed

+253
-480
lines changed

CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1010
- Nothing should go in this section, please add to the latest unreleased version
1111
(and update the corresponding date), or add a new version.
1212

13-
## [1.7.30] - 2025-10-31
13+
## [1.7.30] - 2025-11-06
1414

1515
### Changed
1616
- Upgrade Go to 1.25 (CONJSE-2067)
17+
- Update Go dependencies
1718

1819
## [1.7.29] - 2025-09-03
1920

@@ -771,7 +772,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
771772
### Added
772773
- The first tagged version.
773774

774-
[Unreleased]: https://github.com/cyberark/secretless-broker/compare/v1.7.29...HEAD
775+
[Unreleased]: https://github.com/cyberark/secretless-broker/compare/v1.7.30...HEAD
775776
[0.2.0]: https://github.com/cyberark/secretless-broker/compare/v0.1.0...v0.2.0
776777
[0.3.0]: https://github.com/cyberark/secretless-broker/compare/v0.2.0...v0.3.0
777778
[0.4.0]: https://github.com/cyberark/secretless-broker/compare/v0.3.0...v0.4.0
@@ -826,3 +827,4 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
826827
[1.7.27]: https://github.com/cyberark/secretless-broker/compare/v1.7.26...v1.7.27
827828
[1.7.28]: https://github.com/cyberark/secretless-broker/compare/v1.7.27...v1.7.28
828829
[1.7.29]: https://github.com/cyberark/secretless-broker/compare/v1.7.28...v1.7.29
830+
[1.7.30]: https://github.com/cyberark/secretless-broker/compare/v1.7.29...v1.7.30

Jenkinsfile

Lines changed: 21 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ if (params.MODE == "PROMOTE") {
3939
arch: 'linux/amd64')
4040
}
4141

42-
scans["Scan Quickstart Docker image"] = {
43-
runSecurityScans(infrapool,
44-
image: "registry.tld/secretless-broker-quickstart:${sourceVersion}",
45-
buildMode: params.MODE,
46-
branch: env.BRANCH_NAME,
47-
arch: 'linux/amd64')
48-
}
42+
// scans["Scan Quickstart Docker image"] = {
43+
// runSecurityScans(infrapool,
44+
// image: "registry.tld/secretless-broker-quickstart:${sourceVersion}",
45+
// buildMode: params.MODE,
46+
// branch: env.BRANCH_NAME,
47+
// arch: 'linux/amd64')
48+
// }
4949

5050
scans["Scan RedHat Docker image"] = {
5151
runSecurityScans(infrapool,
@@ -241,20 +241,20 @@ pipeline {
241241
}
242242
}
243243

244-
stage('Scan Secretless Quickstart Image') {
245-
steps {
246-
script {
247-
infraPoolConnect(INFRAPOOL_EXECUTORV2_AGENT_0) { infrapool ->
248-
VERSION = infrapool.agentSh(returnStdout: true, script: 'cat VERSION')
249-
runSecurityScans(infrapool,
250-
image: "registry.tld/secretless-broker-quickstart:${VERSION}",
251-
buildMode: params.MODE,
252-
branch: env.BRANCH_NAME,
253-
arch: 'linux/amd64')
254-
}
255-
}
256-
}
257-
}
244+
// stage('Scan Secretless Quickstart Image') {
245+
// steps {
246+
// script {
247+
// infraPoolConnect(INFRAPOOL_EXECUTORV2_AGENT_0) { infrapool ->
248+
// VERSION = infrapool.agentSh(returnStdout: true, script: 'cat VERSION')
249+
// runSecurityScans(infrapool,
250+
// image: "registry.tld/secretless-broker-quickstart:${VERSION}",
251+
// buildMode: params.MODE,
252+
// branch: env.BRANCH_NAME,
253+
// arch: 'linux/amd64')
254+
// }
255+
// }
256+
// }
257+
// }
258258

259259
stage('Scan Secretless RedHat Image') {
260260
steps {
@@ -464,7 +464,6 @@ pipeline {
464464
infrapool.agentSh """export PATH="${toolsDirectory}/bin:${PATH}" && go-bom --tools "${toolsDirectory}" --go-mod ./go.mod --image "golang" --main "cmd/secretless-broker/" --output "${billOfMaterialsDirectory}/go-app-bom.json" """
465465
// Create Go module SBOM
466466
infrapool.agentSh """export PATH="${toolsDirectory}/bin:${PATH}" && go-bom --tools "${toolsDirectory}" --go-mod ./go.mod --image "golang" --output "${billOfMaterialsDirectory}/go-mod-bom.json" """
467-
infrapool.agentSh """export PATH="${toolsDirectory}/bin:${PATH}" && summon -e production ./bin/publish --edge"""
468467
}
469468
}
470469
}

bin/publish

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,8 @@ set -e
66

77
function print_help() {
88
echo "Internal Release Usage: $0 --internal"
9-
echo "External Release Usage: $0 --edge"
109
echo "Promote Usage: $0 --promote --source <VERSION> --target <VERSION>"
1110
echo " --internal: publish images to registry.tld"
12-
echo " --edge: publish docker images to docker hub"
1311
echo " --source <VERSION>: specify version number of local image"
1412
echo " --target <VERSION>: specify version number of remote image"
1513
}
@@ -21,17 +19,13 @@ if [[ $# -lt 1 ]]; then
2119
fi
2220

2321
PUBLISH_INTERNAL=false
24-
PUBLISH_EDGE=false
2522
PROMOTE=false
2623

2724
while [[ $# -gt 0 ]]; do
2825
case "$1" in
2926
--internal)
3027
PUBLISH_INTERNAL=true
3128
;;
32-
--edge)
33-
PUBLISH_EDGE=true
34-
;;
3529
--promote)
3630
PROMOTE=true
3731
;;
@@ -85,22 +79,6 @@ if [[ ${PUBLISH_INTERNAL} = true ]]; then
8579
tag_and_push "${REDHAT_LOCAL_IMAGE}:${SOURCE_TAG}" "${LOCAL_REGISTRY}/${REDHAT_LOCAL_IMAGE}:${REMOTE_TAG}"
8680
fi
8781

88-
if [[ ${PUBLISH_EDGE} = true ]]; then
89-
echo "Performing edge release."
90-
SOURCE_TAG=$FULL_VERSION_TAG
91-
REMOTE_TAG=edge
92-
readonly TAGS=(
93-
"$VERSION"
94-
"$REMOTE_TAG"
95-
)
96-
97-
for IMAGE_NAME in "${IMAGES[@]}"; do
98-
for tag in "${TAGS[@]}"; do
99-
tag_and_push "$IMAGE_NAME:$SOURCE_TAG" "$REGISTRY/$IMAGE_NAME:$tag"
100-
done
101-
done
102-
fi
103-
10482
if [[ ${PROMOTE} = true ]]; then
10583
if [[ -z ${SOURCE_ARG:-} || -z ${TARGET_ARG:-} ]]; then
10684
echo "When promoting, --source and --target flags are required."

0 commit comments

Comments
 (0)