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

2025-02-06 | MAIN --> PROD | DEV (d122cc5) --> STAGING #4690

Merged
merged 3 commits into from
Feb 6, 2025
Merged

Conversation

asteel-gsa
Copy link
Contributor

This is an auto-generated pull request to merge main into prod for a staging release on 2025-02-06 with the last commit being merged as d122cc5

asteel-gsa and others added 3 commits February 5, 2025 19:29
* Initial commit to clean backups files

* Adds the backups bucket to sandbox

* Change timedelta to 1

* CRLF -> LF & add days flag

* Update to script

* Management Command delete_stale_backups

* Finalize management command

* add default_acl

* Reset the backups elif in settings.py

* Remove from settings once again

* linting

* cleanup

* Version bump backup utility

* Add Workflow

* Set default acl

* linting

* Conditional arguement on days

* get rid of scheduler

* Clean logic

* Linting

* add doc for usage
* Adding management command to update note in migrationinspectionrecord

* WIP

* WIP

* Update

* Moved management command to curation folder

* Added Production
* crlf -> lf

* Fix pagination issue
@asteel-gsa asteel-gsa added autogenerated Automated pull request creation automerge Used for automated deployments labels Feb 6, 2025
Copy link
Contributor

github-actions bot commented Feb 6, 2025

Terraform plan for staging

Plan: 1 to add, 3 to change, 1 to destroy.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
!~  update in-place
-/+ destroy and then create replacement

Terraform will perform the following actions:

  # module.staging.cloudfoundry_app.postgrest will be updated in-place
!~  resource "cloudfoundry_app" "postgrest" {
!~      docker_image                    = "ghcr.io/gsa-tts/fac/postgrest@sha256:7d69652cbaa659b714766c5f5343308e7f0993cb4fb5581520c8745ca0275927" -> "ghcr.io/gsa-tts/fac/postgrest@sha256:fe10dfad7c13ee2a0828641ef7ab4544461d08681980112d147b8565c4377c78"
        id                              = "db50e549-24c7-4dcf-b30e-e9dee3512be8"
        name                            = "postgrest"
#        (17 unchanged attributes hidden)

#        (2 unchanged blocks hidden)
    }

  # module.staging.module.clamav.cloudfoundry_app.clamav_api will be updated in-place
!~  resource "cloudfoundry_app" "clamav_api" {
!~      docker_image                    = "ghcr.io/gsa-tts/fac/clamav@sha256:09e86b5cae004732505f7d3828e7121c54fd88572d72d929fec0f50bb5597d6e" -> "ghcr.io/gsa-tts/fac/clamav@sha256:49a1b0ba138e45f00d89001d8dd63733a4658bc43237e2ac378028bb37619dac"
        id                              = "d1bea029-d2d3-4b68-b16d-b216bcaea573"
        name                            = "fac-av-staging"
#        (17 unchanged attributes hidden)

#        (1 unchanged block hidden)
    }

  # module.staging.module.cors.null_resource.cors_header must be replaced
-/+ resource "null_resource" "cors_header" {
!~      id       = "*******************" -> (known after apply)
!~      triggers = { # forces replacement
!~          "always_run" = "2025-01-31T10:53:48Z" -> (known after apply)
        }
    }

  # module.staging.module.file_scanner_clamav.cloudfoundry_app.clamav_api will be updated in-place
!~  resource "cloudfoundry_app" "clamav_api" {
!~      docker_image                    = "ghcr.io/gsa-tts/fac/clamav@sha256:09e86b5cae004732505f7d3828e7121c54fd88572d72d929fec0f50bb5597d6e" -> "ghcr.io/gsa-tts/fac/clamav@sha256:49a1b0ba138e45f00d89001d8dd63733a4658bc43237e2ac378028bb37619dac"
        id                              = "e416bb0c-8b95-47f7-9cff-c4029ebbd2df"
        name                            = "fac-av-staging-fs"
#        (17 unchanged attributes hidden)

#        (1 unchanged block hidden)
    }

Plan: 1 to add, 3 to change, 1 to destroy.

✅ Plan applied in Deploy to Staging Environment #329

Copy link
Contributor

github-actions bot commented Feb 6, 2025

Terraform plan for production

Plan: 1 to add, 3 to change, 1 to destroy.
Terraform used the selected providers to generate the following execution
plan. Resource actions are indicated with the following symbols:
!~  update in-place
-/+ destroy and then create replacement

Terraform will perform the following actions:

  # module.production.cloudfoundry_app.postgrest will be updated in-place
!~  resource "cloudfoundry_app" "postgrest" {
!~      docker_image                    = "ghcr.io/gsa-tts/fac/postgrest@sha256:7d69652cbaa659b714766c5f5343308e7f0993cb4fb5581520c8745ca0275927" -> "ghcr.io/gsa-tts/fac/postgrest@sha256:fe10dfad7c13ee2a0828641ef7ab4544461d08681980112d147b8565c4377c78"
        id                              = "70ac44be-3507-4867-a75f-c2d1ab12ee89"
        name                            = "postgrest"
#        (17 unchanged attributes hidden)

#        (2 unchanged blocks hidden)
    }

  # module.production.module.clamav.cloudfoundry_app.clamav_api will be updated in-place
!~  resource "cloudfoundry_app" "clamav_api" {
!~      docker_image                    = "ghcr.io/gsa-tts/fac/clamav@sha256:09e86b5cae004732505f7d3828e7121c54fd88572d72d929fec0f50bb5597d6e" -> "ghcr.io/gsa-tts/fac/clamav@sha256:49a1b0ba138e45f00d89001d8dd63733a4658bc43237e2ac378028bb37619dac"
        id                              = "5d0afa4f-527b-472a-8671-79a60335417f"
        name                            = "fac-av-production"
#        (17 unchanged attributes hidden)

#        (1 unchanged block hidden)
    }

  # module.production.module.cors.null_resource.cors_header must be replaced
-/+ resource "null_resource" "cors_header" {
!~      id       = "******************" -> (known after apply)
!~      triggers = { # forces replacement
!~          "always_run" = "2025-01-29T18:13:51Z" -> (known after apply)
        }
    }

  # module.production.module.file_scanner_clamav.cloudfoundry_app.clamav_api will be updated in-place
!~  resource "cloudfoundry_app" "clamav_api" {
!~      docker_image                    = "ghcr.io/gsa-tts/fac/clamav@sha256:09e86b5cae004732505f7d3828e7121c54fd88572d72d929fec0f50bb5597d6e" -> "ghcr.io/gsa-tts/fac/clamav@sha256:49a1b0ba138e45f00d89001d8dd63733a4658bc43237e2ac378028bb37619dac"
        id                              = "6b0ce685-a80c-4feb-9ed6-49c6427efdb8"
        name                            = "fac-av-production-fs"
#        (17 unchanged attributes hidden)

#        (1 unchanged block hidden)
    }

Plan: 1 to add, 3 to change, 1 to destroy.

✅ Plan applied in Deploy to Production Environment #122

Copy link
Contributor

github-actions bot commented Feb 6, 2025

Code Coverage

Package Line Rate Branch Rate Health
. 100% 100%
api 98% 90%
audit 97% 87%
audit.cross_validation 98% 88%
audit.fixtures 84% 50%
audit.intakelib 91% 82%
audit.intakelib.checks 92% 85%
audit.intakelib.common 98% 82%
audit.intakelib.transforms 100% 95%
audit.management.commands 78% 17%
audit.migrations 100% 100%
audit.models 94% 76%
audit.templatetags 100% 100%
audit.views 72% 54%
census_historical_migration 96% 65%
census_historical_migration.migrations 100% 100%
census_historical_migration.sac_general_lib 92% 84%
census_historical_migration.transforms 95% 90%
census_historical_migration.workbooklib 68% 69%
config 77% 37%
curation 100% 100%
curation.curationlib 93% 100%
curation.migrations 100% 100%
dissemination 91% 70%
dissemination.migrations 97% 25%
dissemination.searchlib 76% 66%
dissemination.templatetags 100% 100%
djangooidc 53% 38%
djangooidc.tests 100% 94%
report_submission 93% 88%
report_submission.migrations 100% 100%
report_submission.templatetags 74% 100%
support 91% 66%
support.migrations 100% 100%
support.models 96% 50%
tools 98% 50%
users 95% 92%
users.fixtures 100% 83%
users.management 100% 100%
users.management.commands 100% 100%
users.migrations 100% 100%
Summary 91% (18265 / 20041) 77% (2267 / 2952)

@asteel-gsa asteel-gsa merged commit d6c4fcf into prod Feb 6, 2025
75 of 76 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autogenerated Automated pull request creation automerge Used for automated deployments
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants