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

Sprint 69 release to PROD #1036

Merged
merged 22 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
1cf1446
VOTE-2823 Update French string translation (#1003)
clmedders Sep 24, 2024
e4285d8
Vote-2841: apply hover style to usa-form links (#989)
clmedders Sep 24, 2024
c0433c8
VOTE-2571: Add "back to top" button (#962)
mlloydbixal Sep 24, 2024
9066a20
VOTE-2908 remove unused string translations (#1006)
rayestrada Sep 25, 2024
47a05dc
Vote-2868: Bump vite from 4.5.3 to 4.5.5
dependabot[bot] Sep 26, 2024
249391d
VOTE-2810, VOTE-2811, VOTE-2812 state content field changes (#1001)
daniel-crowder Sep 26, 2024
07b5101
Vote-2909: Regression fix for link styles (#1007)
clmedders Sep 26, 2024
2d0410d
VOTE-85 remove snyk from circleci config
rayestrada Sep 26, 2024
93848b0
VOTE-2535: include documentation for how to manually pause the upkeep…
tt-gsa Sep 30, 2024
ad274e4
Revert "Vote-2868: Bump vite from 4.5.3 to 4.5.5" (#1009)
clmedders Sep 30, 2024
dbd4606
VOTE-2585 add data fields for string translations (#1017)
rayestrada Oct 1, 2024
d5589cb
VOTE-2846: add new wysiwyg description field for Registration form se…
mlloydbixal Oct 1, 2024
d363808
VOTE-2902: Add state specific nvrf api data endpoint. (#1020)
daniel-crowder Oct 1, 2024
ecc1fda
VOTE-2661: Hard coded strings Portuguese (#1008)
mlloydbixal Oct 1, 2024
3e70eb0
Vote-2843: Update spacing for search box (#1013)
clmedders Oct 3, 2024
c293a29
VOTE-2904: Update drupal dependencies. Update Field Group, Editoria11…
daniel-crowder Oct 3, 2024
aba9fd4
Vote- 2947: Bump cypress from 13.14.2 to 13.15.0 in /testing (#1015)
dependabot[bot] Oct 4, 2024
b9ff9d0
VOTE-2634: Hard coded string content Chinese Simplified (#1018)
mlloydbixal Oct 4, 2024
0a314a0
VOTE-2874 downsync workflow improvements (#1027)
tt-gsa Oct 4, 2024
a296224
VOTE-2903 incorporate latest data structure changes from nvrf (#1010)
rayestrada Oct 7, 2024
18ab113
VOTE-2903 Update upkeep script to copy over NVRF data files correctly
rayestrada Oct 8, 2024
e40282c
Merge pull request #1032 from usagov/dev
tt-gsa Oct 8, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
88 changes: 46 additions & 42 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ parameters:
restore:
type: string
default: "none"
scheduled_backup:
scheduled-backup:
type: boolean
default: false
upkeep:
Expand All @@ -15,7 +15,7 @@ parameters:
jobs:
upkeep:
docker:
- image: cimg/base:stable
- image: cimg/base:current-22.04
steps:
- checkout
- run:
Expand Down Expand Up @@ -88,7 +88,7 @@ jobs:
path: testing/cypress/screenshots
deploy:
docker:
- image: cimg/base:stable
- image: cimg/base:current-22.04
steps:
- checkout
- attach_workspace:
Expand All @@ -106,7 +106,7 @@ jobs:
source ./scripts/pipeline/cloud-gov-deploy.sh
post-deploy:
docker:
- image: cimg/base:stable
- image: cimg/base:current-22.04
steps:
- checkout
- attach_workspace:
Expand All @@ -124,7 +124,7 @@ jobs:
source ./scripts/pipeline/cloud-gov-post-deploy.sh
post-deploy-upkeep:
docker:
- image: cimg/base:stable
- image: cimg/base:current-22.04
steps:
- checkout
- attach_workspace:
Expand All @@ -141,12 +141,9 @@ jobs:
source ./scripts/pipeline/exports.sh ${CIRCLE_BRANCH}
source ./scripts/pipeline/cloud-gov-login.sh
source ./scripts/pipeline/cloud-gov-post-deploy-upkeep.sh
downsync:
downsync-backup:
docker:
- image: cimg/base:stable
environment:
BACKUP_ENV: << pipeline.parameters.backup>>
RESTORE_ENV: << pipeline.parameters.restore>>
- image: cimg/base:current-22.04
steps:
- checkout
- run:
Expand All @@ -157,19 +154,38 @@ jobs:
source ./scripts/pipeline/deb-mysql-client-install.sh
source ./scripts/pipeline/deb-awscli.sh

cf install-plugin -f https://github.com/cloud-gov/cf-service-connect/releases/download/v1.1.3/cf-service-connect_linux_amd64
cf install-plugin -f https://github.com/cloud-gov/cf-service-connect/releases/download/v1.1.4/cf-service-connect_linux_amd64
- run:
name: "Run downsync"
name: "Run downsync-backup"
no_output_timeout: 30m
command: |
source ./scripts/pipeline/exports.sh "${BACKUP_ENV}"
source ./scripts/pipeline/exports.sh "prod"
source ./scripts/pipeline/cloud-gov-login.sh
source ./scripts/pipeline/downsync-backup.sh
source ./scripts/pipeline/prod-db-backup.sh
cf logout
downsync-restore:
docker:
- image: cimg/base:current-22.04
environment:
RESTORE_ENV: << pipeline.parameters.restore>>
steps:
- checkout
- run:
name: "Install cloudfoundry & dependencies"
command: |
source ./scripts/pipeline/deb-basic-deps.sh
source ./scripts/pipeline/deb-cf-install.sh
source ./scripts/pipeline/deb-mysql-client-install.sh
source ./scripts/pipeline/deb-awscli.sh

cf install-plugin -f https://github.com/cloud-gov/cf-service-connect/releases/download/v1.1.4/cf-service-connect_linux_amd64
- run:
name: "Run downsync"
no_output_timeout: 30m
command: |
source ./scripts/pipeline/exports.sh "${RESTORE_ENV}"
source ./scripts/pipeline/cloud-gov-login.sh
source ./scripts/pipeline/downsync-restore.sh
source ./scripts/pipeline/downsync-preprod.sh
php-lint:
docker:
- image: php:8.3-alpine
Expand Down Expand Up @@ -199,7 +215,7 @@ jobs:
destination: phpcs_<<pipeline.number>>.csv
scheduled-backup:
docker:
- image: cimg/base:stable
- image: cimg/base:current-22.04
steps:
- checkout
- run:
Expand All @@ -210,16 +226,16 @@ jobs:
source ./scripts/pipeline/deb-mysql-client-install.sh
source ./scripts/pipeline/deb-awscli.sh

cf install-plugin -f https://github.com/cloud-gov/cf-service-connect/releases/download/v1.1.3/cf-service-connect_linux_amd64
cf install-plugin -f https://github.com/cloud-gov/cf-service-connect/releases/download/v1.1.4/cf-service-connect_linux_amd64
- run:
name: "Run backup"
no_output_timeout: 30m
command: |
export BACKUP_ENV=${CIRCLE_BRANCH}
source ./scripts/pipeline/exports.sh "${CIRCLE_BRANCH}"
source ./scripts/pipeline/cloud-gov-login.sh
source ./scripts/pipeline/downsync-backup.sh
./scripts/pipeline/scheduled_backup.sh "${prod_cf_space}"
source ./scripts/pipeline/app-backup.sh
./scripts/pipeline/scheduled-backup.sh "${prod_cf_space}"
- run:
name: "Run backup"
no_output_timeout: 30m
Expand All @@ -228,22 +244,9 @@ jobs:
export BACKUP_ENV=${CIRCLE_BRANCH}
source ./scripts/pipeline/exports.sh "${CIRCLE_BRANCH}"
source ./scripts/pipeline/cloud-gov-login.sh
source ./scripts/pipeline/downsync-backup.sh
./scripts/pipeline/scheduled_backup.sh "${prod_cf_space}"
source ./scripts/pipeline/app-backup.sh
./scripts/pipeline/scheduled-backup.sh "${prod_cf_space}"
when: on_fail
snyk:
docker:
- image: snyk/snyk:php
# environment:
# SNYK_TOKEN: ${SNYK_TOKEN }
steps:
- checkout
- attach_workspace:
at: ~/
- run:
name: "Snyk"
command: |
snyk test --org=${SNYK_ORG} --severity-threshold=$THRESHOLD
link-validation:
docker:
- image: cypress/included:cypress-13.14.2-node-20.17.0-chrome-128.0.6613.119-1-ff-130.0-edge-128.0.2739.63-1
Expand Down Expand Up @@ -292,7 +295,6 @@ workflows:
equal: [ prod, << pipeline.git.branch >> ]
jobs:
- php-lint
- snyk
- build-theme:
filters:
branches:
Expand Down Expand Up @@ -397,22 +399,24 @@ workflows:
when:
and:
- equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
- equal: [ true, << pipeline.parameters.scheduled_backup >> ]
- equal: [ true, << pipeline.parameters.scheduled-backup >> ]
jobs:
- scheduled-backup
downsync-workflow:
downsync-backup:
when:
and:
- equal: [api, << pipeline.trigger_source >> ]
- or:
- equal: [ dev, << pipeline.parameters.backup >> ]
- equal: [ prod, << pipeline.parameters.backup >> ]
- equal: [stage, << pipeline.parameters.backup >> ]
- equal: [ test, << pipeline.parameters.backup >> ]
jobs:
- downsync-backup
downsync-restore:
when:
and:
- equal: [api, << pipeline.trigger_source >> ]
- or:
- equal: [ dev, << pipeline.parameters.restore >> ]
- equal: [ stage, << pipeline.parameters.restore >> ]
- equal: [ test, << pipeline.parameters.restore >> ]
jobs:
- downsync

- downsync-restore
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"drupal/editor_advanced_link": "^2.2",
"drupal/editoria11y": "^2.0",
"drupal/entity_reference_revisions": "^1.10",
"drupal/field_group": "^3.4",
"drupal/field_group": "^4.0@alpha",
"drupal/file_delete": "^2.0",
"drupal/focal_point": "^2.0",
"drupal/language_switcher_extended": "^1.1",
Expand Down
Loading