-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from cultureamp/fix-merge
fix: result merging for multi-plat images needs to take PackageName and PackageVersion into account
- Loading branch information
Showing
9 changed files
with
179 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
#!/bin/sh | ||
|
||
# | ||
# Sensible default environment values for use with direnv. | ||
# | ||
# BUILDKITE_PLUGIN_ECR_SCAN_RESULTS_IMAGE_NAME is entirely environment dependent though, and is required: | ||
# `cp .envrc.example .envrc.private` to get a set of values that you can override. | ||
# | ||
|
||
# BUILDKITE_PLUGIN_ECR_SCAN_RESULTS_IMAGE_NAME is only specified in .envc.private | ||
|
||
export BUILDKITE_PLUGIN_ECR_SCAN_RESULTS_MAX_CRITICALS=0 | ||
export BUILDKITE_PLUGIN_ECR_SCAN_RESULTS_MAX_HIGHS=0 | ||
|
||
export ECRSCANRESULTS_DISABLE_AGENT=true | ||
|
||
# load local values if specified | ||
source_env_if_exists .envrc.private |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#!/bin/sh | ||
|
||
# | ||
# REQUIRED: set the image that is to be inspected. | ||
# | ||
|
||
# export BUILDKITE_PLUGIN_ECR_SCAN_RESULTS_IMAGE_NAME="[account-id].dkr.ecr.[region-id].amazonaws.com/[repo-name]:[label]" | ||
|
||
|
||
# | ||
# set thresholds as desired | ||
# | ||
|
||
# export BUILDKITE_PLUGIN_ECR_SCAN_RESULTS_MAX_CRITICALS=0 | ||
# export BUILDKITE_PLUGIN_ECR_SCAN_RESULTS_MAX_HIGHS=0 | ||
|
||
|
||
# | ||
# set display name if desired: this variable is basically obsolete though. | ||
# | ||
|
||
# export BUILDKITE_PLUGIN_ECR_SCAN_RESULTS_IMAGE_LABEL=latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
.envrc | ||
.envrc.private | ||
|
||
# VIM swap files | ||
*.swp | ||
|
||
src/ecrscanresults | ||
src/*.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters