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-27 | MAIN --> PROD | DEV (773d171) --> STAGING #4330

Merged
merged 6 commits into from
Sep 27, 2024
Merged

2024-09-27 | MAIN --> PROD | DEV (773d171) --> STAGING #4330

merged 6 commits into from
Sep 27, 2024

Conversation

jadudm
Copy link
Contributor

@jadudm jadudm commented Sep 27, 2024

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

* Django FSM migration to Viewflow

- Added new `django-viewflow` and `django-filter` dependencies to `requirements.txt`.
- New file `viewflow.py` under `/audit/models/` which contains the FSM logic for transitioning an SAC.
- Moved `STATUS` enumeration outside of the `SingleAuditChecklist` class. This required import/reference changes across many files and tests.
- Removed references of old deprecated library `django-fsm`.
- New migration to handle the changing the SAC's `submission_name` field to remove dependency on the deprecated `django-fsm`.

* Git conflicts with #4292
This should drop a now deprecated `admin_api_v1_0_0`, which appears to still exist in the dev environment. It is likely to also still exist in staging and prod. This update drops the table to prevent any hassles with newer table changes, migrations, etc.
* Update drop_schema.sql

This should drop a now deprecated `admin_api_v1_0_0`, which appears to still exist in the dev environment. It is likely to also still exist in staging and prod. This update drops the table to prevent any hassles with newer table changes, migrations, etc.

* Update drop_schema.sql

One more for the road.  Follow-up to #4328.
* Updating Python to 3.12

* Updating runtime.txt

* Replacing removed assertEquals with assertEqual

* Replacing removed assertAlmostEquals with assertAlmostEqual
@jadudm jadudm added autogenerated Automated pull request creation automerge Used for automated deployments labels Sep 27, 2024
Copy link
Contributor

github-actions bot commented Sep 27, 2024

Terraform plan for staging

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

Terraform will perform the following actions:

  # 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-25T11:07:47Z" -> (known after apply)
        }
    }

Plan: 1 to add, 0 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 #276

Copy link
Contributor

Terraform plan for production

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

Terraform will perform the following actions:

  # 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-25T17:33:33Z" -> (known after apply)
        }
    }

Plan: 1 to add, 0 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 #3709

Copy link
Contributor

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
18485 16840 91% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: e0d9ef5 by action🐍

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.

4 participants