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

2024-12-10 | MAIN --> PROD | DEV (a92e2e5) --> STAGING #4524

Merged
merged 7 commits into from
Dec 10, 2024
Merged

2024-12-10 | MAIN --> PROD | DEV (a92e2e5) --> STAGING #4524

merged 7 commits into from
Dec 10, 2024

Conversation

jadudm
Copy link
Contributor

@jadudm jadudm commented Dec 10, 2024

This is an auto-generated pull request to merge main into prod for a staging release on 2024-12-10 with the last commit being merged as a92e2e5

asteel-gsa and others added 7 commits December 6, 2024 14:35
* Remove dev zap scan from staging deploy

* Also happens in prod
* Center the maintenance banner content

* 'grid-container' on the body, not just the text.

* doing site upgrade -> performing maintenance
* Handle empty JSON in LogEntry on new save

Sometimes, there are no actual changes made when attempting to save edits to a record in the DB. This change creates a condition that verifies that JSON exists before parsing.

* Syntax refactoring
* Supporting multiple expenditure thresholds for step 1

* Comments

* Lint

* Lint

* Making start dates inclusive

* Unit tests

* Tweaking error message

* Removing unused DOLLAR_THRESHOLD

* Lint

* Lint

* Including the message in settings.py

* Updating unit test

* Lint
@jadudm jadudm requested a review from a team as a code owner December 10, 2024 10:29
@jadudm jadudm added autogenerated Automated pull request creation automerge Used for automated deployments labels Dec 10, 2024
Copy link
Contributor

Terraform plan for production

Plan: 1 to add, 2 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.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:145e77e6c09e4ec690e8c898f7fd14aaa6f4fdff03b4e4af3001bd4944f945a9" -> "ghcr.io/gsa-tts/fac/clamav@sha256:802f766ac70d25a5fe766d4b71f79f2cc4daf8caac420db43a4cdf249427f134"
        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" = "2024-12-04T18:29:43Z" -> (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:145e77e6c09e4ec690e8c898f7fd14aaa6f4fdff03b4e4af3001bd4944f945a9" -> "ghcr.io/gsa-tts/fac/clamav@sha256:802f766ac70d25a5fe766d4b71f79f2cc4daf8caac420db43a4cdf249427f134"
        id                              = "6b0ce685-a80c-4feb-9ed6-49c6427efdb8"
        name                            = "fac-av-production-fs"
#        (17 unchanged attributes hidden)

#        (1 unchanged block hidden)
    }

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

📝 Plan generated in Pull Request Checks #4033

Copy link
Contributor

github-actions bot commented Dec 10, 2024

Terraform plan for staging

Plan: 1 to add, 2 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.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:145e77e6c09e4ec690e8c898f7fd14aaa6f4fdff03b4e4af3001bd4944f945a9" -> "ghcr.io/gsa-tts/fac/clamav@sha256:802f766ac70d25a5fe766d4b71f79f2cc4daf8caac420db43a4cdf249427f134"
        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" = "2024-12-06T10:56:04Z" -> (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:145e77e6c09e4ec690e8c898f7fd14aaa6f4fdff03b4e4af3001bd4944f945a9" -> "ghcr.io/gsa-tts/fac/clamav@sha256:802f766ac70d25a5fe766d4b71f79f2cc4daf8caac420db43a4cdf249427f134"
        id                              = "e416bb0c-8b95-47f7-9cff-c4029ebbd2df"
        name                            = "fac-av-staging-fs"
#        (17 unchanged attributes hidden)

#        (1 unchanged block hidden)
    }

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

✅ Plan applied in Deploy to Staging Environment #300

Copy link
Contributor

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 90% 81%
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 93% 75%
audit.templatetags 100% 100%
audit.views 62% 42%
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% 27%
curation 100% 100%
curation.curationlib 57% 100%
curation.migrations 100% 100%
dissemination 91% 72%
dissemination.migrations 97% 25%
dissemination.searchlib 74% 64%
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 92% 62%
support.management.commands 96% 100%
support.migrations 100% 100%
support.models 97% 83%
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% (17473 / 19297) 76% (2179 / 2860)

Minimum allowed line rate is 85%

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.

7 participants