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
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
Christian Brechbuhl
bigbang
Commits
b1b511c1
Commit
b1b511c1
authored
4 years ago
by
Thomas Runyon
Browse files
Options
Downloads
Patches
Plain Diff
Set git commits individually
parent
f1404523
Branches
pin-umbrella
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
chart/values.yaml
+7
-22
7 additions, 22 deletions
chart/values.yaml
hack/update.sh
+46
-0
46 additions, 0 deletions
hack/update.sh
with
53 additions
and
22 deletions
chart/values.yaml
+
7
−
22
View file @
b1b511c1
hostname
:
bigbang.dev
# Toggle sourcing from external repos
# TODO: All this does right now is toggle GitRepositories, it is _not_ fully functional
offline
:
false
# Registry credentials to use from pulling images from private registry, will create an appropriate imagePullSecret in all relevant namespaces
registryCredentials
:
registry
:
registry1.dsop.io
username
:
"
"
password
:
"
"
email
:
"
"
# Flux reconciliation parameters
flux
:
interval
:
2m
...
...
@@ -21,57 +18,45 @@ flux:
rollback
:
timeout
:
5m
cleanupOnFail
:
true
istio
:
enabled
:
true
git
:
repo
:
https://repo1.dsop.io/platform-one/big-bang/apps/core/servicemesh.git
branch
:
chart-release
# commit: ""
# tag: ""
commit
:
f40172dd278e4f3551e6a1e8d4c8625771fbf928
values
:
{}
clusterAuditor
:
enabled
:
true
git
:
git
:
repo
:
https://repo1.dsop.io/platform-one/big-bang/apps/core/cluster-auditor.git
branch
:
chart-release
# commit: ""
# tag: ""
commit
:
4ca478df04063ec8cd91b3ae2d2472b77675495d
values
:
{}
gatekeeper
:
enabled
:
true
git
:
repo
:
https://repo1.dsop.io/platform-one/big-bang/apps/core/policy.git
branch
:
chart-release
# commit: ""
# tag: ""
commit
:
714069053e9696f5e116deb2f677f1c2d213e9b6
values
:
{}
logging
:
enabled
:
true
git
:
repo
:
https://repo1.dsop.io/platform-one/big-bang/apps/core/logging.git
branch
:
release-v0.2.x
# commit: ""
# tag: ""
commit
:
02d6e9a073d196ecdf0951941c432beea642fc73
values
:
{}
monitoring
:
enabled
:
true
git
:
repo
:
https://repo1.dsop.io/platform-one/big-bang/apps/core/monitoring.git
branch
:
release-v0.2.x
# commit: ""
# tag: ""
commit
:
014fb187b81eb976e76a4bb1a76bb4479aa2cea3
values
:
{}
twistlock
:
enabled
:
true
git
:
repo
:
https://repo1.dsop.io/platform-one/big-bang/apps/security-tools/twistlock.git
branch
:
chart-release
# commit: ""
# tag: ""
commit
:
faf038197291915713e0f213a4e35991e72f73f6
values
:
{}
This diff is collapsed.
Click to expand it.
hack/update.sh
0 → 100755
+
46
−
0
View file @
b1b511c1
#!/bin/bash
# This script can be used to automate the setting of git commits in the values file to the head of each branch specified in the
# package's git settings. To run simply run:
# ./hack/update.sh
# which will call updates on istio, clusterAuditor, gatekeeper, logging, monitoring and twistlock.
# As more addons get added we will have to update the wrapper script to know about them, or loop
# over all addons.X section.
# To update just one package, pass it as an argument into the script:
# ./hack/update.sh monitoring
# Assumes we have yq installed
function
update
()
{
# Get the git repo
REPO
=
`
yq r chart/values.yaml
"
$1
.git.repo"
`
# Get the current branch specified in the values file
CURR_BRANCH
=
`
yq r chart/values.yaml
"
$1
.git.branch"
`
# use the ls-remote git command to pull put the newest commit on that branch
NEW_HEAD
=
`
git ls-remote
${
REPO
}
|
grep
"refs/heads/
${
CURR_BRANCH
}
"
|
cut
-f
1
`
# echo "REPO: ${REPO}"
# echo "CURR_BRANCH: ${CURR_BRANCH}"
# echo "NEW_HEAD: ${NEW_HEAD}"
echo
"Setting
$1
(
${
REPO
}
${
CURR_BRANCH
}
) to newest commit:
${
NEW_HEAD
}
"
# Update the values file in place
yq w
-i
chart/values.yaml
"
$1
.git.commit"
${
NEW_HEAD
}
}
if
[
"
$1
"
==
""
]
;
then
update istio
update clusterAuditor
update gatekeeper
update logging
update monitoring
update twistlock
else
update
$1
fi
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