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-03 | MAIN --> PROD | DEV (82691a8) --> STAGING #4498

Merged
merged 1 commit into from
Dec 3, 2024
Merged

2024-12-03 | MAIN --> PROD | DEV (82691a8) --> STAGING #4498

merged 1 commit into from
Dec 3, 2024

Conversation

jadudm
Copy link
Contributor

@jadudm jadudm commented Dec 3, 2024

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

* Initial Commit

- Migrated logic pertaining to all Django Admin changes from API PR.

* Linting

* Adjust staffusers.json based on helpdesk users

* Update staffusers.json

* Feedback v1

- Removed [email protected] from staffusers.
- Removed requirement for user to exist when adding a new `userpermission`.

* Address #4458

- Fixed 500 errors from occurring when searching the dissemination tables.
- Extended searchable fields when searching tables in the dissemination section.

* Support for django admin logs

- Lowercasing emails that are added to TribalApiAccessKeyIds.
- Creating logs for CRUD operations through the Django Admin Panel, using the factory `LogEntry` model.
- New signal for listening to new `LogEntry` records, then modifying its contents for more readable output.

* Linting
@jadudm jadudm added autogenerated Automated pull request creation automerge Used for automated deployments labels Dec 3, 2024
Copy link
Contributor

github-actions bot commented Dec 3, 2024

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:0188c58cf771da2914275f870a05aeb45b4b25d8a9e71be06cd854da719c8ed5" -> "ghcr.io/gsa-tts/fac/clamav@sha256:145e77e6c09e4ec690e8c898f7fd14aaa6f4fdff03b4e4af3001bd4944f945a9"
        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-11-27T18:16:58Z" -> (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:0188c58cf771da2914275f870a05aeb45b4b25d8a9e71be06cd854da719c8ed5" -> "ghcr.io/gsa-tts/fac/clamav@sha256:145e77e6c09e4ec690e8c898f7fd14aaa6f4fdff03b4e4af3001bd4944f945a9"
        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 #3997

Copy link
Contributor

github-actions bot commented Dec 3, 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:0188c58cf771da2914275f870a05aeb45b4b25d8a9e71be06cd854da719c8ed5" -> "ghcr.io/gsa-tts/fac/clamav@sha256:145e77e6c09e4ec690e8c898f7fd14aaa6f4fdff03b4e4af3001bd4944f945a9"
        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-11-28T10:55: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:0188c58cf771da2914275f870a05aeb45b4b25d8a9e71be06cd854da719c8ed5" -> "ghcr.io/gsa-tts/fac/clamav@sha256:145e77e6c09e4ec690e8c898f7fd14aaa6f4fdff03b4e4af3001bd4944f945a9"
        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 #296

Copy link
Contributor

github-actions bot commented Dec 3, 2024

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% 94%
audit.management.commands 78% 17%
audit.migrations 100% 100%
audit.models 93% 75%
audit.templatetags 100% 100%
audit.views 60% 40%
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 76% 31%
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 91% 63%
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 90% (17336 / 19162) 76% (2162 / 2842)

@jadudm jadudm merged commit 81fc484 into prod Dec 3, 2024
65 of 66 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.

3 participants