Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
AutomationD committed Jun 7, 2024
1 parent e452065 commit b4e4a7b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 11 deletions.
25 changes: 15 additions & 10 deletions .github/workflows/run.e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,15 +37,15 @@ jobs:
- name: complete-web
env: e2e03
test_name: TestExamplesCompleteWeb
- name: web-nginx-proxy
env: e2e05
test_name: TestExamplesWebProxy
- name: worker-scheduled-autoscale
env: e2e04
test_name: TestExamplesWorkerAutoScheduled
- name: complete-worker-ec2
env: e2e05
test_name: TestExamplesWorkerEc2
# - name: web-nginx-proxy
# env: e2e05
# test_name: TestExamplesWebProxy
# - name: worker-scheduled-autoscale
# env: e2e04
# test_name: TestExamplesWorkerAutoScheduled
# - name: complete-worker-ec2
# env: e2e05
# test_name: TestExamplesWorkerEc2
env:
ENV: ${{ matrix.env }}

Expand Down Expand Up @@ -90,5 +90,10 @@ jobs:
run: |
cd test
go mod tidy
go test -v -timeout 60m -run ${{ matrix.test_name }}
go test -v -timeout 60m -run ${{ matrix.test_name }} -coverprofile ${{ matrix.test_name }}.out
go test -coverprofile ${{ matrix.test_name }}.out -json ${{ matrix.test_name }} > ${{ matrix.test_name }}.json
cat ${{ matrix.test_name }}.json
2 changes: 1 addition & 1 deletion examples/complete-worker-ec2/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ resource "aws_key_pair" "root" {
module "ecs" {
source = "registry.terraform.io/terraform-aws-modules/ecs/aws"
version = "~> 4.0"
cluster_name = "${var.env}-${var.namespace}"
cluster_name = "${var.env}-${var.namespace}-worker-ec2"
}

module "worker_complete" {
Expand Down

0 comments on commit b4e4a7b

Please sign in to comment.