UNCLASSIFIED - NO CUI
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bigbang
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Big Bang
bigbang
Commits
1886a10e
Commit
1886a10e
authored
3 years ago
by
joshwolf
Browse files
Options
Downloads
Patches
Plain Diff
add new robot account to CI
parent
f6610f57
No related branches found
Branches containing commit
Tags
1.6.1
Tags containing commit
1 merge request
!492
Breaking Change (not really): add new robot account to CI
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+5
-1
5 additions, 1 deletion
.gitlab-ci.yml
scripts/deploy/00_deploy_flux.sh
+2
-2
2 additions, 2 deletions
scripts/deploy/00_deploy_flux.sh
scripts/deploy/01_deploy_bigbang.sh
+2
-2
2 additions, 2 deletions
scripts/deploy/01_deploy_bigbang.sh
with
9 additions
and
5 deletions
.gitlab-ci.yml
+
5
−
1
View file @
1886a10e
...
...
@@ -348,7 +348,11 @@ package:
before_script
:
# Set up auth
-
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
:
-
cp ./scripts/package/synker.yaml ./synker.yaml
# Populate images list in synker config
...
...
This diff is collapsed.
Click to expand it.
scripts/deploy/00_deploy_flux.sh
+
2
−
2
View file @
1886a10e
...
...
@@ -4,6 +4,6 @@ set -ex
# install flux with the dedicated helper script
./scripts/install_flux.sh
\
--registry-username
'robot$b
igbang
'
\
--registry-password
"
$REGISTRY1_PASSWORD
"
\
--registry-username
'robot$b
b-dev-imagepullonly
'
\
--registry-password
"
$
{
REGISTRY1_PASSWORD
}
"
\
--registry-email
bigbang@bigbang.dev
\ No newline at end of file
This diff is collapsed.
Click to expand it.
scripts/deploy/01_deploy_bigbang.sh
+
2
−
2
View file @
1886a10e
...
...
@@ -28,8 +28,8 @@ echo "Installing BigBang with the following configurations:"
cat
$CI_VALUES_FILE
helm upgrade
-i
bigbang chart
-n
bigbang
--create-namespace
\
--set
registryCredentials[0].username
=
'robot$b
igbang
'
\
--set
registryCredentials[0].password
=
"
$REGISTRY1_PASSWORD
"
\
--set
registryCredentials[0].username
=
'robot$b
b-dev-imagepullonly
'
\
--set
registryCredentials[0].password
=
"
$
{
REGISTRY1_PASSWORD
}
"
\
--set
registryCredentials[0].registry
=
registry1.dso.mil
\
-f
${
CI_VALUES_FILE
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment