-
Notifications
You must be signed in to change notification settings - Fork 0
Add mongo-seed-db k8 job. #706
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
To deploy job:
|
|
||
container_run_args: npm run migrate-up | ||
|
||
container_envs: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might be better to just do this:
envs:
- name: IS_QUEUE_WORKER
value: "true"
- name: ROLLBAR_KEY
value: "{{ api_workers_rollbar_key | default('ansible_undefined') }}"
container_envs: "{{ api_base_container_envs + envs }}"
Not sure if that would work.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not going to do, causes more issues.
ansible/mongo-seed-db.yml
Outdated
--- | ||
- hosts: mongo | ||
vars_files: | ||
- group_vars/alpha-mongo-seed-db.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add this to ./ansible/single-host-part-2.yml
Uh oh!
There was an error while loading. Please reload this page.