1. 22 Dec, 2021 7 commits
    • Tiger Watson's avatar
      Merge branch '346100-cleanup-after-dropinvalidsecurityfindings-background-migration' into 'master' · 45235f88
      Tiger Watson authored
      Cleanup after DropInvalidSecurityFindings migration
      
      See merge request gitlab-org/gitlab!75134
      45235f88
    • Thong Kuah's avatar
      Merge branch '337907-fix-reindexing-cleanup' into 'master' · f6185c2b
      Thong Kuah authored
      Drop reindexing leftovers only if exclusive lease is granted
      
      See merge request gitlab-org/gitlab!75290
      f6185c2b
    • Michael Kozono's avatar
      Merge branch 'hchouraria-backup-terraform-state-files' into 'master' · d7559b73
      Michael Kozono authored
      Add Terraform States to Backup and Restore tasks
      
      See merge request gitlab-org/gitlab!63347
      d7559b73
    • Harsh Chouraria's avatar
      Add Backup and Restore tasks for Terraform States · 58a8d4f8
      Harsh Chouraria authored
      Reuses standard file upload storage to cover Terraform
      states backup
      
      Adds a seed for generating terraform state files
      under each project
      
      Manual testing (in local GDK env):
      
      - Verfied seed addition via `bin/rake db:seed_fu FILTER=terraform`
      - Verified seed addition is repeatable, with no-ops if versions
        pre-exist
      - Created backup: `bin/rake gitlab:backup:create`
      - Verified output shows up:
      
      ```
      2021-06-05 23:48:54 +0530 -- Dumping terraform states ...
      2021-06-05 23:48:54 +0530 -- done
      ```
      
      - Verified tar contains terraform_state.tar.gz
      - Verified terraform_state.tar.gz carries content
      - Destroyed all records: `Terraform::State.destroy_all`
      - Deleted all files: `rm -rf shared/terraform_state/*`
      - Performed restore: `bin/rake gitlab:backup:restore`
      - Verified `Terraform::State.all` shows back older records
      - Verified association of builds to some of these records
      - Verified `shared/terraform_state/` is repopulated
      - Verified `Terraform::StateVersion.each do |sv| pp sv.file.read end`
        works and shows the seed-added data
      - Verified skipping of `terraform_state` keyword works:
      
      ```
      2021-06-06 00:11:33 +0530 -- Dumping terraform states ...
      2021-06-06 00:11:33 +0530 -- [SKIPPED]
      ```
      
      Verified with same workflow as above (backup, destroy, delete,
      then restore) that skipped backup variant does not contain
      `terraform_state.tar.gz` and does not show up those files after
      restore
      
      Miscellany:
      
      - Adds a missing test for LFS backups
      - Adds File operation fixes to neighboring tests
        so when they fail RSpec is able to show diffs
      - Modified test validates unknown SKIP values not
        breaking backups
        - This is useful to catch any regressions during
          upgrades where pre-installs scripts may refer
          to a new SKIP value that isn't recognized by
          the old version
      
      Changelog: added
      58a8d4f8
    • Michael Kozono's avatar
      Merge branch '330281-add-escalation-status-on-issue-type-change' into 'master' · 0dc65764
      Michael Kozono authored
      Handle escalation changes issue type change
      
      See merge request gitlab-org/gitlab!75706
      0dc65764
    • Sean Arnold's avatar
      Handle syncing alert escalation status to incident · badcfcd2
      Sean Arnold authored
      - Add Escalation status to all new incidents
      - Add policy and escalation started at for escalations_started_at for EE
      - Policy and escalations_started_at behind incident_escalations FF
      
      Changelog: added
      badcfcd2
    • Michael Kozono's avatar
      Merge branch '340847-remove-deprecated-metric-status-6' into 'master' · 1f424855
      Michael Kozono authored
      Remove deprecated package metrics
      
      See merge request gitlab-org/gitlab!76710
      1f424855
  2. 21 Dec, 2021 33 commits