UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit ec66f557 authored by Micah Nagel's avatar Micah Nagel
Browse files

Merge branch 'nexus-bump-reenable' into 'master'

SKIP UPGRADE Nexus FIPS disabled and added back to CI

Closes platform-one/big-bang/apps/developer-tools/nexus#9 and platform-one/big-bang/apps/developer-tools/nexus#17

See merge request platform-one/big-bang/bigbang!994
parents 9503d443 dacc41f3
No related branches found
No related tags found
2 merge requests!1386Master,!994SKIP UPGRADE Nexus FIPS disabled and added back to CI
Pipeline #532307 passed with warnings
......@@ -685,7 +685,7 @@ addons:
git:
repo: https://repo1.dso.mil/platform-one/big-bang/apps/developer-tools/nexus.git
path: "./chart"
tag: "34.0.0-bb.0"
tag: "34.1.0-bb.0"
# -- Base64 encoded license file.
license_key: ""
......
......@@ -786,9 +786,7 @@ addons:
cpu: 100m
memory: 1500Mi
bbtests:
# TODO: Disabled pending resolution of "timing?" issues
# https://repo1.dso.mil/platform-one/big-bang/apps/developer-tools/nexus/-/issues/9
enabled: false
enabled: true
cypress:
artifacts: true
envs:
......
......@@ -6,7 +6,6 @@ trap 'echo exit at ${0}:${LINENO}, command was: ${BASH_COMMAND} 1>&2' ERR
if [[ "${CI_COMMIT_BRANCH}" == "${CI_DEFAULT_BRANCH}" ]] || [[ ! -z "$CI_COMMIT_TAG" ]] || [[ $CI_MERGE_REQUEST_LABELS =~ "all-packages" ]]; then
echo "all-packages label enabled, or on default branch or tag, enabling all addons"
yq e ".addons.*.enabled = "true"" $CI_VALUES_FILE > tmpfile && mv tmpfile $CI_VALUES_FILE
yq e ".addons.nexus.enabled = "false"" $CI_VALUES_FILE > tmpfile && mv tmpfile $CI_VALUES_FILE
else
IFS=","
for package in $CI_MERGE_REQUEST_LABELS; do
......
......@@ -163,7 +163,7 @@ function wait_crd(){
## Append all add-ons to hr list if "all-packages" or default branch/tag. Else, add specific ci labels to hr list.
HELMRELEASES=(${CORE_HELMRELEASES[@]})
if [[ "${CI_COMMIT_BRANCH}" == "${CI_DEFAULT_BRANCH}" ]] || [[ ! -z "$CI_COMMIT_TAG" ]] || [[ $CI_MERGE_REQUEST_LABELS =~ "all-packages" ]]; then
HELMRELEASES+=(${ADD_ON_HELMRELEASES[@]/"nexus-repository-manager"})
HELMRELEASES+=(${ADD_ON_HELMRELEASES[@]})
echo "All helmreleases enabled: all-packages label enabled, or on default branch or tag."
elif [[ ! -z "$CI_MERGE_REQUEST_LABELS" ]]; then
IFS=","
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment