File tree 4 files changed +59
-18
lines changed 4 files changed +59
-18
lines changed Original file line number Diff line number Diff line change 1
- name : CI
2
-
3
- on : [push, pull_request]
4
-
1
+ name : Lint
2
+ on :
3
+ push :
4
+ branches : [master]
5
+ pull_request :
5
6
jobs :
6
7
build :
7
- runs-on : ' ubuntu-latest'
8
-
8
+ runs-on : ['ubuntu-latest']
9
9
steps :
10
-
11
10
- uses : ' actions/checkout@v2'
12
-
13
11
- uses : ' actions/setup-python@v2'
14
12
with :
15
13
python-version : ' 3.8'
16
-
17
14
- name : yamlllint
18
15
run : |
19
- pip install yamllint==1.26.3
16
+ pip install yamllint==1.35.1
20
17
yamllint module.yml && yamllint test/*.yml
21
-
22
18
- name : cfn-lint
23
19
run : |
24
- pip install cfn-lint==0.59.1
25
- cfn-lint -t module.yml && cfn-lint -t test/*.yml
26
-
20
+ pip install cfn-lint==1.20.1
21
+ cfn-lint -i W3002 W1011 -t module.yml && cfn-lint -i W3002 W1011 -t test/*.yml
27
22
- name : license
28
23
run : |
29
24
grep -q "LICENSE-2.0" module.yml
Original file line number Diff line number Diff line change
1
+ name : Test
2
+ on :
3
+ push :
4
+ branches : [master]
5
+ pull_request :
6
+ permissions :
7
+ id-token : write
8
+ contents : read
9
+ concurrency :
10
+ group : test
11
+ cancel-in-progress : false
12
+ jobs :
13
+ build :
14
+ runs-on : ['ubuntu-latest']
15
+ steps :
16
+ - uses : ' actions/checkout@v2'
17
+ - uses : aws-actions/configure-aws-credentials@v4
18
+ with :
19
+ role-to-assume : ' arn:aws:iam::068189904525:role/github-openid-connect'
20
+ aws-region : ' eu-west-1'
21
+ - uses : actions/setup-node@v4
22
+ with :
23
+ node-version : ' 18.x'
24
+ - name : test
25
+ run : |
26
+ npm ci
27
+ cd test
28
+ npm ci
29
+ CFN_PACKAGE_BUCKET_NAME=cf-templates-1a2zmgbg9ut4o-eu-west-1 npm test
30
+ cd -
Original file line number Diff line number Diff line change @@ -37,12 +37,13 @@ Parameters:
37
37
EngineVersion :
38
38
Description : ' Redis version'
39
39
Type : String
40
- Default : ' 5.0.5 '
40
+ Default : ' 7.1 '
41
41
AllowedValues : # aws elasticache describe-cache-engine-versions --engine redis --query "CacheEngineVersions[].EngineVersion"
42
- - ' 5.0.5'
43
42
- ' 5.0.6'
44
43
- ' 6.0'
45
44
- ' 6.2'
45
+ - ' 7.0'
46
+ - ' 7.1'
46
47
CacheNodeType :
47
48
Description : ' The compute and memory capacity of the nodes in the node group (shard).'
48
49
Type : ' String'
@@ -97,14 +98,16 @@ Conditions:
97
98
HasNotCacheParameterGroupName : !Not [!Condition HasCacheParameterGroupName]
98
99
Mappings :
99
100
EngineVersionMap :
100
- ' 5.0.5 ' :
101
- CacheParameterGroupFamily : ' redis5.0'
102
101
' 5.0.6 ' :
103
102
CacheParameterGroupFamily : ' redis5.0'
104
103
' 6.0 ' :
105
104
CacheParameterGroupFamily : ' redis6.x'
106
105
' 6.2 ' :
107
106
CacheParameterGroupFamily : ' redis6.x'
107
+ ' 7.0 ' :
108
+ CacheParameterGroupFamily : ' redis7'
109
+ ' 7.1 ' :
110
+ CacheParameterGroupFamily : ' redis7'
108
111
Resources :
109
112
CacheParameterGroup :
110
113
Condition : HasNotCacheParameterGroupName
You can’t perform that action at this time.
0 commit comments