Skip to content

Commit

Permalink
Merge pull request #141 from alphagov/update-publish-config-init
Browse files Browse the repository at this point in the history
Update publish config init
  • Loading branch information
kentsanggds authored Feb 26, 2024
2 parents 22a3a37 + c0c089e commit 8521983
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 1 addition & 6 deletions charts/datagovuk/templates/publish/init-configmap.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ metadata:
name: {{ .Release.Name }}-publish-init
data:
init.sh: |
while ! pg_isready -d $DATABASE_URL; do
sleep 1;
done
bin/setup
bundle exec rails db:schema:load
rake db:migrate db:seed
# wait until CKAN is ready
until [ "$health" = 'OK' ]; do
Expand Down
1 change: 0 additions & 1 deletion charts/datagovuk/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ opensearch:

publish:
replicaCount: 1
args: ["bundle exec rake db:migrate db:seed && bundle exec sidekiq"]
config:
ckanReleaseName: "ckan-dev"
sqlalchemyUrlSecretKeyRef:
Expand Down

0 comments on commit 8521983

Please sign in to comment.