Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
Helm charts for swh packages
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
Platform
Infrastructure
CI CD
Helm charts for swh packages
Merge requests
!42
swh: add storage service
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
swh: add storage service
4811_swh_storage
into
staging
Overview
10
Commits
4
Pipelines
0
Changes
11
4 unresolved threads
Hide all comments
Closed
Guillaume Samson
requested to merge
4811_swh_storage
into
staging
1 year ago
Overview
10
Commits
4
Pipelines
0
Changes
17
4 unresolved threads
Hide all comments
Expand
Related to
swh/infra/sysadm-environment#4811 (closed)
0
0
Merge request reports
Compare
version 1
version 7
ef2eb66a
1 year ago
version 6
2ebb31eb
1 year ago
version 5
49e41573
1 year ago
version 4
f907c20e
1 year ago
version 3
b0a05c85
1 year ago
version 2
5dafed7f
1 year ago
version 1
0e7b1df6
1 year ago
staging (base)
and
latest version
latest version
e40118b8
4 commits,
1 year ago
version 7
ef2eb66a
4 commits,
1 year ago
version 6
2ebb31eb
4 commits,
1 year ago
version 5
49e41573
3 commits,
1 year ago
version 4
f907c20e
2 commits,
1 year ago
version 3
b0a05c85
2 commits,
1 year ago
version 2
5dafed7f
2 commits,
1 year ago
version 1
0e7b1df6
2 commits,
1 year ago
Show latest version
17 files
+
149
−
101
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
17
Search (e.g. *.vue) (Ctrl+P)
swh/templates/cookers/configmap.yaml
+
11
−
0
Options
@@ -55,17 +55,28 @@ data:
{{- range $queue := get $deployment_config "queues" }}
- {{ $queue }}
{{- end }}
sentry_settings_for_celery_tasks:
__sentry-settings-for-celery-tasks__
init-container-entrypoint.sh
:
|
#!/bin/bash
set -e
CONFIG_FILE=/etc/swh/config.yml
CONFIG_FILE_WIP=/tmp/wip-config.yml
# substitute environment variables when creating the default config.yml
eval echo \""$(</etc/swh/configuration-template/config.yml.template)"\" \
> $CONFIG_FILE
SENTRY_SETTINGS_PATH=/etc/credentials/sentry-settings/sentry_settings_for_celery_tasks
if [ -f $SENTRY_SETTINGS_PATH ]; then
awk "/__sentry-settings-for-celery-tasks__/{system(\"sed 's/^/ /g' $SENTRY_SETTINGS_PATH\");next}1" $CONFIG_FILE > $CONFIG_FILE_WIP
mv $CONFIG_FILE_WIP $CONFIG_FILE
else
sed -i '/__sentry-settings-for-celery-tasks__//g' $CONFIG_FILE
fi
exit 0
{{
end
}}
{{
- end -
}}
Loading