Skip to content

Commit

Permalink
VOTE-970: update URIs as preparation for launch
Browse files Browse the repository at this point in the history
  • Loading branch information
tt-gsa authored and rayestrada committed Jul 29, 2024
1 parent c8e87d6 commit 04a7634
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 12 deletions.
4 changes: 2 additions & 2 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ List of development environments and their equivalent git branches.
|---------------------|--------------------|----------------------------|----------------|----------------------------------------------------------|
| ssg-dev.vote.gov | cms-dev.vote.gov | vote-drupal-dev | dev | App work that is ready for testing in cloud.gov |
| ssg-test.vote.gov | cms-test.vote.gov | vote-drupal-test | test | Pipeline development work ready for testing in cloud.gov |
| ssg-stage.vote.gov | cms-stage.vote.gov | vote-drupal-stage | stage | All work that is ready for release/UAT testing |
| ssg.vote.gov | cms.vote.gov | vote-drupal-prod | prod | All work that is approved and released |
| staging.vote.gov | cms-stage.vote.gov | vote-drupal-stage | stage | All work that is ready for release/UAT testing |
| vote.gov | cms.vote.gov | vote-drupal-prod | prod | All work that is approved and released |

## Table of Contents
- [Git standards](standards.md)
Expand Down
9 changes: 4 additions & 5 deletions scripts/upkeep
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ export bucket=$(echo $VCAP_SERVICES | jq -r '.s3[] | select(.name | strings | te
export bucket_endpoint=$(echo $VCAP_SERVICES | jq -r '.s3[] | select(.name | strings | test("static")).credentials.endpoint')

export ssg_endpoint="https://ssg-${environment}.vote.gov"
[ "${environment}" = "prod" ] && export ssg_endpoint="https://beta.vote.gov"

[ "${environment}" = "stage" ] && export ssg_endpoint="https://staging.vote.gov"
[ "${environment}" = "prod" ] && export ssg_endpoint="https://vote.gov"
export ssg_sitemap_endpoint=ssg_endpoint
[ "${environment}" = "prod" ] && export ssg_sitemap_endpoint="https://vote.gov"

cd ${app_path}
echo "**************************************************"
Expand All @@ -37,8 +36,8 @@ echo ""
echo "**************************************************"
echo "Running 'drush tome:static' in '${environment}'..."
echo "**************************************************"
drush tome:static --uri=${ssg_endpoint} --path-count=1 --retry-count=0 -y
drush tome:static-export-path '/sitemap.xml,/sitemap_generator/default/sitemap.xsl' --uri=${ssg_sitemap_endpoint} --retry-count=0 -y
drush tome:static --uri=${ssg_endpoint} --path-count=1 --retry-count=3 -y
drush tome:static-export-path '/sitemap.xml,/sitemap_generator/default/sitemap.xsl' --uri=${ssg_sitemap_endpoint} --retry-count=3 -y
drush cr
echo "'drush tome:static' task...completed!"
echo ""
Expand Down
10 changes: 5 additions & 5 deletions testing/pipeline.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ const { defineConfig } = require("cypress");
module.exports = defineConfig({
reporter: 'cypress-mochawesome-reporter',
e2e: {
baseUrl: 'https://ssg-stage.vote.gov/',
baseUrl: 'https://staging.vote.gov/',
redirectionLimit: 100,
video: false,
viewportHeight: 800,
viewportWidth: 1530,
chromeWebSecurity: false,
chromeWebSecurity: false,
"retries": {
"runMode": 2,
},
Expand All @@ -31,7 +31,7 @@ reporter: 'cypress-mochawesome-reporter',
"username": "editor_test",
"role": "content_editor"
},
// info for content mananger role
// info for content mananger role
"content_manager": {
"username": "manager_test",
"role": "content_manager"
Expand All @@ -45,12 +45,12 @@ reporter: 'cypress-mochawesome-reporter',
on('task', {
log(message) {
console.log(message)

return null
},
table(message) {
console.table(message)

return null
}
})
Expand Down

0 comments on commit 04a7634

Please sign in to comment.