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-10-12 | MAIN --> PROD | DEV (5c80211) --> STAGING #4380

Merged
merged 5 commits into from
Oct 12, 2024
Merged

2024-10-12 | MAIN --> PROD | DEV (5c80211) --> STAGING #4380

merged 5 commits into from
Oct 12, 2024

Conversation

jadudm
Copy link
Contributor

@jadudm jadudm commented Oct 12, 2024

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

rnovak338 and others added 5 commits October 9, 2024 13:28
* Initial commit for maintenance middleware

- Created new `settings.py` variable: `MAINTENANCE`. Defaulted to false.
- Created new middleware class `MaintenanceCheck` that is ran on every request. Currently the redirect URL is a placeholder, but it is expected to redirect to a new maintenance template once that is ready for implementation.

* S3 Maintenance Toggle

- New management command: `maintenance_mode`. This command must receive an `--on` or `--off` flag to trigger.
- When maintenance mode is active, a file will exist in the `/runtime` folder of the root directory in S3. So long as this flag exists, all users will be redirected to a 500 error screen (`/maintenance` is the slug) when trying to use/navigate the website.

* Update maintenance_mode.py

Removed unnecessary logs.

* Linting

* Introduce 503 response instead of 500
* Bump cypress from 13.14.2 to 13.15.0 in /backend

Bumps [cypress](https://github.com/cypress-io/cypress) from 13.14.2 to 13.15.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](cypress-io/cypress@v13.14.2...v13.15.0)

---
updated-dependencies:
- dependency-name: cypress
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump @babel/eslint-parser from 7.25.1 to 7.25.7 in /backend

Bumps [@babel/eslint-parser](https://github.com/babel/babel/tree/HEAD/eslint/babel-eslint-parser) from 7.25.1 to 7.25.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.25.7/eslint/babel-eslint-parser)

---
updated-dependencies:
- dependency-name: "@babel/eslint-parser"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump eslint from 9.11.1 to 9.12.0 in /backend

Bumps [eslint](https://github.com/eslint/eslint) from 9.11.1 to 9.12.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v9.11.1...v9.12.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump @uswds/uswds from 3.8.2 to 3.9.0 in /backend

Bumps [@uswds/uswds](https://github.com/uswds/uswds) from 3.8.2 to 3.9.0.
- [Release notes](https://github.com/uswds/uswds/releases)
- [Commits](uswds/uswds@v3.8.2...v3.9.0)

---
updated-dependencies:
- dependency-name: "@uswds/uswds"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump @eslint/js from 9.11.1 to 9.12.0 in /backend

Bumps [@eslint/js](https://github.com/eslint/eslint/tree/HEAD/packages/js) from 9.11.1 to 9.12.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/commits/v9.12.0/packages/js)

---
updated-dependencies:
- dependency-name: "@eslint/js"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump trivy to 0.25.0

* Bump to 0.26.0
* Allowing users to remove editors

* Better handling for users removing their own access

* User management documentation

* Lint

* Lint

* Unit tests

* Lint

* Lint

* More 404 tests

* Only editors can remove an editor

* Moving RemoveEditorViewTests to its own file

* Lint

* Fixing test

* Fixing Remove column

* Test cleanup

* Lint

* Audit metadata fix

* Fixing unit tests

* Updating instructions
#4354)

* #4326 Converted workbook fixtures into json fixtures

* #4326 Updated logic to extract data from both xlsx and json files

* #4326 Updated test cases

* Added logic to convert xlsx files into json

* Linting

* #4326 Linting

* #4326 bug fix

* Updated fixture files to accomodate

* Removed dead code
@jadudm jadudm added autogenerated Automated pull request creation automerge Used for automated deployments labels Oct 12, 2024
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-10-09T16:52:24Z" -> (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 #3791

Copy link
Contributor

github-actions bot commented Oct 12, 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-10-09T12:11:56Z" -> (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 #283

Copy link
Contributor

☂️ Python Coverage

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
18858 17177 91% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: 5c80211 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.

6 participants