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-09-24 | MAIN --> PROD | DEV (79e34a5) --> STAGING #4314

Merged
merged 2 commits into from
Sep 24, 2024
Merged

2024-09-24 | MAIN --> PROD | DEV (79e34a5) --> STAGING #4314

merged 2 commits into from
Sep 24, 2024

Conversation

jadudm
Copy link
Contributor

@jadudm jadudm commented Sep 24, 2024

This is an auto-generated pull request to merge main into prod for a staging release on 2024-09-24 with the last commit being merged as 79e34a5

* Fixing site search on audit search pages

* Reverting development.md change

* Fixing tests
* Creating delete_blank_access_entries.py

* Lint

* Lint

* Comments

* Removing --verbose
@jadudm jadudm added autogenerated Automated pull request creation automerge Used for automated deployments labels Sep 24, 2024
Copy link
Contributor

github-actions bot commented Sep 24, 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:4b0733028c249624c037bfea6d4ff892fb0c19e3e83884d0a18685212ebd5ce4" -> "ghcr.io/gsa-tts/fac/clamav@sha256:0bb13f065ce36beb9c0eb9531611a2a522aa5199f2bfbb107a9c2390f50d26e2"
        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-09-21T11:10:41Z" -> (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:4b0733028c249624c037bfea6d4ff892fb0c19e3e83884d0a18685212ebd5ce4" -> "ghcr.io/gsa-tts/fac/clamav@sha256:0bb13f065ce36beb9c0eb9531611a2a522aa5199f2bfbb107a9c2390f50d26e2"
        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.

Warning: Argument is deprecated

  with module.staging-backups-bucket.cloudfoundry_service_instance.bucket,
  on /tmp/terraform-data-dir/modules/staging-backups-bucket/s3/main.tf line 14, in resource "cloudfoundry_service_instance" "bucket":
  14:   recursive_delete = var.recursive_delete

Since CF API v3, recursive delete is always done on the cloudcontroller side.
This will be removed in future releases

(and 6 more similar warnings elsewhere)

✅ Plan applied in Deploy to Staging Environment #274

Copy link
Contributor

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.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:4b0733028c249624c037bfea6d4ff892fb0c19e3e83884d0a18685212ebd5ce4" -> "ghcr.io/gsa-tts/fac/clamav@sha256:0bb13f065ce36beb9c0eb9531611a2a522aa5199f2bfbb107a9c2390f50d26e2"
        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-09-18T17:36:49Z" -> (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:4b0733028c249624c037bfea6d4ff892fb0c19e3e83884d0a18685212ebd5ce4" -> "ghcr.io/gsa-tts/fac/clamav@sha256:0bb13f065ce36beb9c0eb9531611a2a522aa5199f2bfbb107a9c2390f50d26e2"
        id                              = "6b0ce685-a80c-4feb-9ed6-49c6427efdb8"
        name                            = "fac-av-production-fs"
#        (17 unchanged attributes hidden)

#        (1 unchanged block hidden)
    }

  # module.production.module.https-proxy.cloudfoundry_app.egress_app will be updated in-place
!~  resource "cloudfoundry_app" "egress_app" {
        id                              = "5e81ca8b-99cf-41f8-ae42-76652d51a44c"
        name                            = "https-proxy"
!~      source_code_hash                = "e246274fca627d48afccde010de949371f24b6c9974c48aa91044acd36654fa8" -> "cfddd8df06cdb61c6b5a5fe8b879a9ad5b8eeb0752a9f7d73bf4ae050184e237"
#        (21 unchanged attributes hidden)

#        (1 unchanged block hidden)
    }

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

Warning: Argument is deprecated

  with module.domain.cloudfoundry_service_instance.external_domain_instance,
  on /tmp/terraform-data-dir/modules/domain/domain/main.tf line 45, in resource "cloudfoundry_service_instance" "external_domain_instance":
  45:   recursive_delete = var.recursive_delete

Since CF API v3, recursive delete is always done on the cloudcontroller side.
This will be removed in future releases

(and 6 more similar warnings elsewhere)

📝 Plan generated in Pull Request Checks #3692

Copy link
Contributor

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
18424 16782 91% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 79e34a5 by action🐍

@jadudm jadudm merged commit 5341397 into prod Sep 24, 2024
83 of 85 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