Skip to content

Commit

Permalink
Remove QA from GitHub Actions workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
seanh committed Jan 25, 2024
1 parent a00811c commit 4b8ba8c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 37 deletions.
9 changes: 1 addition & 8 deletions .cookiecutter/includes/.github/workflows/environments.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
{
"qa": {
"github_environment_name": "QA",
"github_environment_url": "https://qa.hyp.is/FiqzonGfEe2o-AfEssZXnw/en.wikipedia.org/wiki/Wikipedia:Terminal_Event_Management_Policy",
"aws_region": "us-west-1",
"elasticbeanstalk_application": "bouncer",
"elasticbeanstalk_environment": "qa"
},
"staging": {
"github_environment_name": "Staging",
"github_environment_url": "https://staging.hyp.is/FiqzonGfEe2o-AfEssZXnw/en.wikipedia.org/wiki/Wikipedia:Terminal_Event_Management_Policy",
Expand All @@ -14,7 +7,7 @@
"elasticbeanstalk_environment": "staging"
},
"production": {
"needs": ["qa"],
"needs": ["staging"],
"github_environment_name": "Production",
"github_environment_url": "https://hyp.is/FiqzonGfEe2o-AfEssZXnw/en.wikipedia.org/wiki/Wikipedia:Terminal_Event_Management_Policy",
"aws_region": "us-west-1",
Expand Down
15 changes: 1 addition & 14 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,6 @@ jobs:
with:
Application: ${{ github.event.repository.name }}
secrets: inherit
qa:
name: QA
needs: [docker_hub]
uses: hypothesis/workflows/.github/workflows/deploy.yml@main
with:
operation: deploy
github_environment_name: QA
github_environment_url: https://qa.hyp.is/FiqzonGfEe2o-AfEssZXnw/en.wikipedia.org/wiki/Wikipedia:Terminal_Event_Management_Policy
aws_region: us-west-1
elasticbeanstalk_application: bouncer
elasticbeanstalk_environment: qa
docker_tag: ${{ needs.Docker_Hub.outputs.docker_tag }}
secrets: inherit
staging:
name: Staging
needs: [docker_hub]
Expand All @@ -52,7 +39,7 @@ jobs:
secrets: inherit
production:
name: Production
needs: [docker_hub, qa]
needs: [docker_hub, staging]
uses: hypothesis/workflows/.github/workflows/deploy.yml@main
with:
operation: deploy
Expand Down
15 changes: 0 additions & 15 deletions .github/workflows/redeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,13 @@ concurrency:
on:
workflow_dispatch:
inputs:
qa:
type: boolean
description: Redeploy QA
staging:
type: boolean
description: Redeploy Staging
production:
type: boolean
description: Redeploy Production
jobs:
qa:
name: QA
if: inputs.qa
uses: hypothesis/workflows/.github/workflows/deploy.yml@main
with:
operation: redeploy
github_environment_name: QA
github_environment_url: https://qa.hyp.is/FiqzonGfEe2o-AfEssZXnw/en.wikipedia.org/wiki/Wikipedia:Terminal_Event_Management_Policy
aws_region: us-west-1
elasticbeanstalk_application: bouncer
elasticbeanstalk_environment: qa
secrets: inherit
staging:
name: Staging
if: inputs.staging
Expand Down

0 comments on commit 4b8ba8c

Please sign in to comment.