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
87f294a3
Commit
87f294a3
authored
3 years ago
by
Thomas Runyon
Browse files
Options
Downloads
Patches
Plain Diff
added back as kustomization, not values
parent
3b6a3010
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!419
Breaking Change update cert for *.bigbang.dev
Pipeline
#222265
failed
3 years ago
Stage: .pre
Stage: smoke tests
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
scripts/deploy/01_deploy_bigbang.sh
+9
-10
9 additions, 10 deletions
scripts/deploy/01_deploy_bigbang.sh
scripts/deploy/02_wait_for_helmreleases.sh
+2
-2
2 additions, 2 deletions
scripts/deploy/02_wait_for_helmreleases.sh
with
11 additions
and
12 deletions
scripts/deploy/01_deploy_bigbang.sh
+
9
−
10
View file @
87f294a3
...
...
@@ -25,14 +25,13 @@ helm upgrade -i bigbang chart -n bigbang --create-namespace \
--set
registryCredentials[0].username
=
'robot$bigbang'
\
--set
registryCredentials[0].password
=
"
$REGISTRY1_PASSWORD
"
\
--set
registryCredentials[0].registry
=
registry1.dso.mil
\
-f
${
CI_VALUES_FILE
}
\
-f
chart/ingress-certs.yaml
-f
${
CI_VALUES_FILE
}
# # apply secrets kustomization pointing to current branch
# echo "Deploying secrets from the ${CI_COMMIT_REF_NAME} branch"
# if [ -z "$CI_COMMIT_TAG" ]; then
# cat tests/ci/shared-secrets.yaml | sed 's|master|'"$CI_COMMIT_REF_NAME"'|g' | kubectl apply -f -
# else
# # NOTE: $CI_COMMIT_REF_NAME = $CI_COMMIT_TAG when running on a tagged build
# cat tests/ci/shared-secrets.yaml | sed 's|branch: master|tag: '"$CI_COMMIT_REF_NAME"'|g' | kubectl apply -f -
# fi
\ No newline at end of file
# apply secrets kustomization pointing to current branch
echo
"Deploying secrets from the
${
CI_COMMIT_REF_NAME
}
branch"
if
[
-z
"
$CI_COMMIT_TAG
"
]
;
then
cat
tests/ci/shared-secrets.yaml |
sed
's|master|'
"
$CI_COMMIT_REF_NAME
"
'|g'
| kubectl apply
-f
-
else
# NOTE: $CI_COMMIT_REF_NAME = $CI_COMMIT_TAG when running on a tagged build
cat
tests/ci/shared-secrets.yaml |
sed
's|branch: master|tag: '
"
$CI_COMMIT_REF_NAME
"
'|g'
| kubectl apply
-f
-
fi
\ No newline at end of file
This diff is collapsed.
Click to expand it.
scripts/deploy/02_wait_for_helmreleases.sh
+
2
−
2
View file @
87f294a3
...
...
@@ -96,8 +96,8 @@ do
fi
done
#
echo "Waiting on Secrets Kustomization"
#
kubectl wait --for=condition=Ready --timeout 300s kustomizations.kustomize.toolkit.fluxcd.io -n bigbang secrets
echo
"Waiting on Secrets Kustomization"
kubectl
wait
--for
=
condition
=
Ready
--timeout
300s kustomizations.kustomize.toolkit.fluxcd.io
-n
bigbang secrets
# In case some helm releases are marked as ready before all objects are live...
echo
"Waiting on all deployments, statefulsets, and daemonsets"
...
...
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