Skip to content
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

DON'T MERGE - i852 demo deploy test branch #957

Closed
wants to merge 41 commits into from

Conversation

bkiahstroud
Copy link
Contributor

@bkiahstroud bkiahstroud commented Jan 9, 2024

Do not merge this PR.

The only purpose of this PR is to kick off a build so we can deploy. After that, this can be closed.

This PR combines the WIP changes introduced is these #852-related PRs:

These changes will be merged into main in their own respective PRs.

bkiahstroud and others added 20 commits January 3, 2024 12:33
This sets us up for future improvements to derivative job processing
This doesn't work. This commit is only here to document that this
solution was attempted.
There is no way to reassign a job to another queue once it has been
created. To use the new :resource_intensive Sidekiq queue, we need a
separate job class that is configured to use that queue.

Enter CreateLargeDerivativesJob.

It functions exactly the same as CreateDerivativesJob, except that it
queues into the :resource_intensive queue and has a higher priority.
This way, we can have two separate job classes with different Sidekiq
configurations while using the same application logic for both.
At present, this is the only job going into this queue, so specifying a
higher priority doesn't make sense since all jobs in the queue will have
the same priority regardless
@bkiahstroud bkiahstroud changed the title i852 demo deploy test branch DON'T MERGE - i852 demo deploy test branch Jan 9, 2024
Because of the special way `extraDeploy` gets interpreted, fetching ENV
values using `$` will not work.
The correct value should be `$REDIS_HOST:6379`. In Helm templates, using
`$$` will skip variable substitution and use the correct value.
The correct value should be `$REDIS_HOST:6379`. In Helm templates, using
`$$` will skip variable substitution and use the correct value.
The previous commit/attempt produced:

`sh -c 'db-wait.sh "$:6379"'`

So some variable substitution is still happening. Wrapping the command
in single quotes may prevent that.
The previous commit/attempt produced:

`sh -c 'db-wait.sh "$:6379"'`

So some variable substitution is still happening. Wrapping the command
in single quotes may prevent that.
@bkiahstroud bkiahstroud deleted the i852-demo-deploy-test-branch branch February 14, 2024 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants