-
Notifications
You must be signed in to change notification settings - Fork 44
99 lines (95 loc) · 3.17 KB
/
maven-verify.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
name: Maven verify pipeline
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 17
uses: actions/setup-java@v2
with:
java-version: '17'
distribution: 'adopt'
- name: Setup Python
uses: actions/[email protected]
with:
python-version: 3.7
- name: Install Python packages
run: pip install pre-commit cloudformation-cli cloudformation-cli-java-plugin
- name: Run pre-commit
run: pre-commit run --all-files
- name: Verify AWS::RDS::Test::Common
run: |
cd "${GITHUB_WORKSPACE}/aws-rds-cfn-test-common"
mvn clean verify --no-transfer-progress
- name: Install AWS::RDS::Test::Common
run: |
cd "${GITHUB_WORKSPACE}/aws-rds-cfn-test-common"
mvn clean install --no-transfer-progress
- name: Verify AWS::RDS::Common
run: |
cd "${GITHUB_WORKSPACE}/aws-rds-cfn-common"
mvn clean verify --no-transfer-progress
- name: Install AWS::RDS::Common
run: |
cd "${GITHUB_WORKSPACE}/aws-rds-cfn-common"
mvn clean install --no-transfer-progress
- name: Verify AWS::RDS::DBCluster
run: |
cd "${GITHUB_WORKSPACE}/aws-rds-dbcluster"
mvn clean verify --no-transfer-progress
cat rpdk.log
- name: Verify AWS::RDS::DBClusterParameterGroup
run: |
cd "${GITHUB_WORKSPACE}/aws-rds-dbclusterparametergroup"
mvn clean verify --no-transfer-progress
cat rpdk.log
- name: Verify AWS::RDS::DBParameterGroup
run: |
cd "${GITHUB_WORKSPACE}/aws-rds-dbparametergroup"
mvn clean verify --no-transfer-progress
cat rpdk.log
- name: AWS::RDS::DbInstance
run: |
cd "${GITHUB_WORKSPACE}/aws-rds-dbinstance"
mvn clean verify --no-transfer-progress
cat rpdk.log
- name: Verify AWS::RDS::DBSubnetGroup
run: |
cd "${GITHUB_WORKSPACE}/aws-rds-dbsubnetgroup"
mvn clean verify --no-transfer-progress
cat rpdk.log
- name: Verify AWS::RDS::EventSubscription
run: |
cd "${GITHUB_WORKSPACE}/aws-rds-eventsubscription"
mvn clean verify --no-transfer-progress
cat rpdk.log
- name: Verify AWS::RDS::GlobalCluster
run: |
cd "${GITHUB_WORKSPACE}/aws-rds-globalcluster"
mvn clean verify --no-transfer-progress
cat rpdk.log
- name: Verify AWS::RDS::Integration
run: |
cd "${GITHUB_WORKSPACE}/aws-rds-integration"
mvn clean verify --no-transfer-progress
cat rpdk.log
- name: Verify AWS::RDS::OptionGroup
run: |
cd "${GITHUB_WORKSPACE}/aws-rds-optiongroup"
mvn clean verify --no-transfer-progress
cat rpdk.log
- name: Verify AWS::RDS::DBClusterEndpoint
run: |
cd "${GITHUB_WORKSPACE}/aws-rds-dbclusterendpoint"
mvn clean verify --no-transfer-progress
cat rpdk.log
- name: Verify AWS::RDS::CustomDBEngineVersion
run: |
cd "${GITHUB_WORKSPACE}/aws-rds-customdbengineversion"
mvn clean verify --no-transfer-progress
cat rpdk.log