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 to Production – 2024-09-10 #3083

Merged
merged 8 commits into from
Sep 10, 2024
Merged

Deploy to Production – 2024-09-10 #3083

merged 8 commits into from
Sep 10, 2024

Conversation

pdcp1 and others added 2 commits September 5, 2024 11:55
…3030)

* Initial DB backup GH actions setup

* Change Dockerfile path

* Move Github actions to the parent folder

* Change Docker bin path

* Change Docker base path

* Add / to the Docker path

* Refactor and reuse AIID env variables

* Test empty MongoDB URI

* Remove extra whitespaces

* Rename `CLOUDFLARE_R2_BUCKET` to `CLOUDFLARE_R2_BUCKET_NAME`

* Remove MONGODB_HOST environment variable from backup scripts

* Remove MONGODB_USERNAME environment variable from backup scripts

* Remove MONGODB_PASSWORD environment variable from backup scripts

* Remove unnecessary MongoDB environment variables from backup scripts

* Test removing "Configure AWS credentials" step

* Remove AWS env variables

* Remove all AWS related code

* Apply changes to private backup

* Rename `docker-db-backup` folder to `db-backup`

* Remove mongodb-clients package dependency

* Add `mongodb-database-tools` dependency

* Change backup.sh path

* Install `boto3`

* Remove Docker completely and unnecessary env variables

* Improve logs

* Remove unused files

* Delete all S3 related functions

* Remove GitHub action "on push"

* Change the script file name and remove S3 references

* Test removing boto3 dependency

* rollback boto3 deletion

* Export all classifications (without any query filter)

* Remove Private backups

* Update README file

* Move all code to `tools` folder

* Remove classification query filter from mongodump command

* Remove boto.sh script

* Export all CSET classifications to CSV

* Change CSET CSV file name

* Update classifications_cset.csv file name

* Remove unnecessary `workflow_dispatch` inputs

* Move `db-backup` folder to `site` folder

* Update db-backup workflow to include environment input
Copy link

codecov bot commented Sep 5, 2024

Codecov Report

Attention: Patch coverage is 75.00000% with 3 lines in your changes missing coverage. Please review.

Project coverage is 83.59%. Comparing base (64e1275) to head (2174d92).
Report is 12 commits behind head on main.

Files with missing lines Patch % Lines
site/gatsby-site/src/components/taxa/Taxonomy.js 75.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3083      +/-   ##
==========================================
+ Coverage   79.25%   83.59%   +4.34%     
==========================================
  Files         165      165              
  Lines       13263    13267       +4     
  Branches     1524     1528       +4     
==========================================
+ Hits        10511    11091     +580     
+ Misses       2459     1960     -499     
+ Partials      293      216      -77     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Sep 5, 2024

Copy link

Copy link

Copy link

Copy link

Copy link

@kepae kepae changed the title Deploy to Production Deploy to Production – 2024-09-10 Sep 10, 2024
@kepae kepae merged commit 0e0ef1b into main Sep 10, 2024
26 of 28 checks passed
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.

4 participants