Skip to content

Commit

Permalink
Improve the GitHub environment URLs
Browse files Browse the repository at this point in the history
Link directly to QA, Prod and Canada test assignments. This is just more
convenient for one-click testing.
  • Loading branch information
seanh committed Dec 2, 2022
1 parent 81c518a commit 537ecf9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .cookiecutter/includes/.github/workflows/environments.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"qa": {
"github_environment_name": "QA",
"github_environment_url": "https://hypothesis.instructure.com/courses/125/assignments",
"github_environment_url": "https://hypothesis.instructure.com/courses/125/assignments/879",
"aws_region": "us-west-1",
"elasticbeanstalk_application": "lms",
"elasticbeanstalk_environment": "qa"
},
"production": {
"needs": ["qa"],
"github_environment_name": "Production",
"github_environment_url": "https://hypothesis.instructure.com/courses/125/assignments",
"github_environment_url": "https://hypothesis.instructure.com/courses/125/assignments/884",
"aws_region": "us-west-1",
"elasticbeanstalk_application": "lms",
"elasticbeanstalk_environment": "prod"
},
"production_canada": {
"needs": ["qa"],
"github_environment_name": "Production (Canada)",
"github_environment_url": "https://hypothesis.instructure.com/courses/315",
"github_environment_url": "https://hypothesis.instructure.com/courses/315/assignments/2735",
"aws_region": "ca-central-1",
"elasticbeanstalk_application": "lms",
"elasticbeanstalk_environment": "prod"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
with:
operation: deploy
github_environment_name: QA
github_environment_url: https://hypothesis.instructure.com/courses/125/assignments
github_environment_url: https://hypothesis.instructure.com/courses/125/assignments/879
aws_region: us-west-1
elasticbeanstalk_application: lms
elasticbeanstalk_environment: qa
Expand All @@ -38,7 +38,7 @@ jobs:
with:
operation: deploy
github_environment_name: Production
github_environment_url: https://hypothesis.instructure.com/courses/125/assignments
github_environment_url: https://hypothesis.instructure.com/courses/125/assignments/884
aws_region: us-west-1
elasticbeanstalk_application: lms
elasticbeanstalk_environment: prod
Expand All @@ -51,7 +51,7 @@ jobs:
with:
operation: deploy
github_environment_name: Production (Canada)
github_environment_url: https://hypothesis.instructure.com/courses/315
github_environment_url: https://hypothesis.instructure.com/courses/315/assignments/2735
aws_region: ca-central-1
elasticbeanstalk_application: lms
elasticbeanstalk_environment: prod
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/redeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
operation: redeploy
github_environment_name: QA
github_environment_url: https://hypothesis.instructure.com/courses/125/assignments
github_environment_url: https://hypothesis.instructure.com/courses/125/assignments/879
aws_region: us-west-1
elasticbeanstalk_application: lms
elasticbeanstalk_environment: qa
Expand All @@ -34,7 +34,7 @@ jobs:
with:
operation: redeploy
github_environment_name: Production
github_environment_url: https://hypothesis.instructure.com/courses/125/assignments
github_environment_url: https://hypothesis.instructure.com/courses/125/assignments/884
aws_region: us-west-1
elasticbeanstalk_application: lms
elasticbeanstalk_environment: prod
Expand All @@ -46,7 +46,7 @@ jobs:
with:
operation: redeploy
github_environment_name: Production (Canada)
github_environment_url: https://hypothesis.instructure.com/courses/315
github_environment_url: https://hypothesis.instructure.com/courses/315/assignments/2735
aws_region: ca-central-1
elasticbeanstalk_application: lms
elasticbeanstalk_environment: prod
Expand Down

0 comments on commit 537ecf9

Please sign in to comment.