UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Commit 1886a10e authored by joshwolf's avatar joshwolf
Browse files

add new robot account to CI

parent f6610f57
No related branches found
No related tags found
1 merge request!492Breaking Change (not really): add new robot account to CI
...@@ -348,7 +348,11 @@ package: ...@@ -348,7 +348,11 @@ package:
before_script: before_script:
# Set up auth # Set up auth
- mkdir -p /root/.docker - mkdir -p /root/.docker
- echo $DOCKER_AUTH_CONFIG > /root/.docker/config.json - |
jq -n '{"auths": {"registry.dso.mil": {"auth": $bb_registry_auth}, "registry1.dso.mil": {"auth": $registry1_auth}, "registry.il2.dso.mil": {"auth": $il2_registry_auth} } }' \
--arg bb_registry_auth ${BB_REGISTRY_AUTH} \
--arg registry1_auth ${REGISTRY1_AUTH} \
--arg il2_registry_auth ${IL2_REGISTRY_AUTH} > /root/.docker/config.json
script: script:
- cp ./scripts/package/synker.yaml ./synker.yaml - cp ./scripts/package/synker.yaml ./synker.yaml
# Populate images list in synker config # Populate images list in synker config
......
...@@ -4,6 +4,6 @@ set -ex ...@@ -4,6 +4,6 @@ set -ex
# install flux with the dedicated helper script # install flux with the dedicated helper script
./scripts/install_flux.sh \ ./scripts/install_flux.sh \
--registry-username 'robot$bigbang' \ --registry-username 'robot$bb-dev-imagepullonly' \
--registry-password "$REGISTRY1_PASSWORD" \ --registry-password "${REGISTRY1_PASSWORD}" \
--registry-email bigbang@bigbang.dev --registry-email bigbang@bigbang.dev
\ No newline at end of file
...@@ -28,8 +28,8 @@ echo "Installing BigBang with the following configurations:" ...@@ -28,8 +28,8 @@ echo "Installing BigBang with the following configurations:"
cat $CI_VALUES_FILE cat $CI_VALUES_FILE
helm upgrade -i bigbang chart -n bigbang --create-namespace \ helm upgrade -i bigbang chart -n bigbang --create-namespace \
--set registryCredentials[0].username='robot$bigbang' \ --set registryCredentials[0].username='robot$bb-dev-imagepullonly' \
--set registryCredentials[0].password="$REGISTRY1_PASSWORD" \ --set registryCredentials[0].password="${REGISTRY1_PASSWORD}" \
--set registryCredentials[0].registry=registry1.dso.mil \ --set registryCredentials[0].registry=registry1.dso.mil \
-f ${CI_VALUES_FILE} -f ${CI_VALUES_FILE}
......
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