Skip to content

Commit

Permalink
Merge pull request #666 from bdunne/settings_changes
Browse files Browse the repository at this point in the history
Update deployment logic for settings changes
  • Loading branch information
Fryguy authored Nov 22, 2023
2 parents df095b5 + a6e2138 commit d24df16
Show file tree
Hide file tree
Showing 2 changed files with 194 additions and 153 deletions.
7 changes: 3 additions & 4 deletions container-assets/entrypoint
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ cp /root/ssh/* /root/.ssh/
chown 600 /root/.ssh/miq-bot

pushd /opt/miq_bot/config
ln -s /opt/miq_bot_config/settings.local.yml
ln -s /opt/miq_bot_data/github_notification_monitor.yml
popd
pushd /opt/miq_bot/config/initializers
ln -s /opt/miq_bot_config/01_sidekiq_config.rb

ln -s /run/secrets/config/secrets/master.key
ln -s /run/secrets/config/secrets/settings.local.yml
popd

[[ -n $QUEUE_NAME ]] && COMMAND="sidekiq -q $QUEUE_NAME"
Expand Down
Loading

0 comments on commit d24df16

Please sign in to comment.