-
Notifications
You must be signed in to change notification settings - Fork 30
105 lines (95 loc) · 2.83 KB
/
nightly-ecs-examples-validator.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0
name: Nighly ECS example validator
on:
workflow_dispatch:
jobs:
get-go-version:
uses: ./.github/workflows/reusable-get-go-version.yml
go-fmt-and-lint-acceptance:
needs:
- get-go-version
uses: ./.github/workflows/reusable-go-fmt-and-lint.yml
with:
go-version: ${{ needs.get-go-version.outputs.go-version }}
terraform-fmt:
uses: ./.github/workflows/reusable-terraform-fmt.yml
single-cluster:
needs:
- terraform-fmt
- go-fmt-and-lint-acceptance
- get-go-version
strategy:
matrix:
name:
- Consul ECS on Fargate
- Consul ECS on EC2
- Consul ECS with HCP
- Consul ECS on EC2 - Transparent Proxy
include:
- name: Consul ECS on Fargate
scenario: FARGATE
- name: Consul ECS on EC2
scenario: EC2
- name: Consul ECS with HCP
scenario: HCP
- name: Consul ECS on EC2 - Transparent Proxy
scenario: EC2_TPROXY
fail-fast: false
uses: ./.github/workflows/reusable-ecs-example-validator.yml
with:
name: ${{ matrix.name }}
scenario: ${{ matrix.scenario }}
go-version: ${{ needs.get-go-version.outputs.go-version }}
secrets: inherit
gateways:
needs:
- single-cluster
- get-go-version
strategy:
matrix:
name:
- API Gateway
- Terminating Gateway
- Terminating Gateway Transparent Proxy
include:
- name: API Gateway
scenario: API_GATEWAY
- name: Terminating Gateway
scenario: TERMINATING_GATEWAY
- name: Terminating Gateway Transparent Proxy
scenario: TERMINATING_GATEWAY_TPROXY
fail-fast: false
uses: ./.github/workflows/reusable-ecs-example-validator.yml
with:
name: ${{ matrix.name }}
scenario: ${{ matrix.scenario }}
go-version: ${{ needs.get-go-version.outputs.go-version }}
secrets: inherit
multi-cluster:
needs:
- gateways
- get-go-version
strategy:
matrix:
name:
- Cluster Peering
- WAN Federation with Mesh gateways
- Locality Aware Routing
- Service Sameness
include:
- name: Cluster Peering
scenario: CLUSTER_PEERING
- name: WAN Federation with Mesh gateways
scenario: WAN_FEDERATION
- name: Locality Aware Routing
scenario: LOCALITY_AWARE_ROUTING
- name: Service Sameness
scenario: SERVICE_SAMENESS
fail-fast: false
uses: ./.github/workflows/reusable-ecs-example-validator.yml
with:
name: ${{ matrix.name }}
scenario: ${{ matrix.scenario }}
go-version: ${{ needs.get-go-version.outputs.go-version }}
secrets: inherit