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

Deploy Batch Aggregation to Production #789

Merged
merged 3 commits into from
Jul 2, 2024
Merged

Conversation

zwolf
Copy link
Member

@zwolf zwolf commented Jul 1, 2024

The PR merges the staging branch (batch-aggregation-staging) that has been used for testing into the main branch. This will deploy staging immediately. Production deploys have been changed to use the standard production-release tag deploy, so that tag will need to be created and pushed following this merge to deploy production with this new code.

zwolf added 3 commits June 10, 2024 13:03
* Add Celery and a test route

* Add new dependencies

* Test task tests

* Docker updates

* Scripts folder

* Setup deploy to test env

* Link redis container via docker

* Modify test task

* Add redis service to test workflow

* Hook up services

* Fix test arguments

* flake8

* newline

* rename and refactor

* Taking a swing at extraction

* oops

* update .gitignore

* Remove deploy files

* Update .gitignore

* Clean up test tests

* Add router tests

* Extremely placeholder BA lib tests

* Only override local import

* First few batch agg specs

* Updates to BatchAggregation & tests

* less flake8y

* Add final POST message to Panoptes

* Flake

* flake

* Pull etag before atempting update

* Remove unnecessary mocks

* Assert result set, not method called

* clean up spec mocks

* Add permissions checking, fix some specs, refactor Panoptes update

* Flake

* Use os.path for platform independence

* Undeleting deploy template
* Add logging statements

* Update celery task namespace

* Add staging deployment template

* Clean up new resource names

* Build to a single docker image

* Rename deployment & use Panoptes staging in staging deploy

* Fix secret name

* Sringify ID in comparison to value returned from Panoptes

* Update test

* Fix mock data type

* Use client's admin mode

* Fix a couple filepaths

* Use UUID as tmpdir path

* Finish run if Panoptes is unupdateable

* When the update panoptes resource doesn't exist but the call is successful

* Use jsonify to set mimetype

* cast inputs to ints just in case

* Enable public access to new containers

* Deploy staging with action

* hound?

* test fixes

* new hound

* Use correct k8s secret
* Use tag deployment for production

* Add batchagg resources to prod template
@zwolf
Copy link
Member Author

zwolf commented Jul 2, 2024

All the code included in this aggregate (lol) PR has been reviewed by @CKrawczyk & @yuenmichelle1, so I feel comfortable merging this.

@zwolf zwolf merged commit 6d125e6 into master Jul 2, 2024
8 checks passed
@zwolf zwolf deleted the batch-aggregation-staging branch July 2, 2024 18:56
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.

1 participant