-
Notifications
You must be signed in to change notification settings - Fork 51
144 lines (142 loc) · 6.02 KB
/
push.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
name: edb-ansible testing
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-20.04
name: Execute ansible-lint
steps:
- uses: actions/checkout@v2
- run: |
docker run --rm -v $(pwd):/data cytopia/ansible-lint playbook.yml
setup-repo:
runs-on: ubuntu-20.04
name: Execute setup_repo tests for PostgreSQL 14 on RockyLinux8
steps:
- uses: actions/checkout@v2
- run: sudo apt install python3-pip -y
- run: sudo pip3 install ansible-core
- run: make
- run: ANSIBLE_CORE_VERSION=2.14 EDB_PG_TYPE=PG EDB_PG_VERSION=14 EDB_ENABLE_REPO=false make -C tests/cases/setup_repo rocky8
install-dbserver:
runs-on: ubuntu-20.04
name: Execute install_dbserver tests for PostgreSQL 14 on RockyLinux8
steps:
- uses: actions/checkout@v2
- run: sudo apt install python3-pip -y
- run: sudo pip3 install ansible-core
- run: make
- run: ANSIBLE_CORE_VERSION=2.14 EDB_PG_TYPE=PG EDB_PG_VERSION=14 EDB_ENABLE_REPO=false make -C tests/cases/install_dbserver rocky8
initdb-dbserver:
runs-on: ubuntu-20.04
name: Execute init_dbserver tests for PostgreSQL 14 on RockyLinux8
steps:
- uses: actions/checkout@v2
- run: sudo apt install python3-pip -y
- run: sudo pip3 install ansible-core
- run: make
- run: ANSIBLE_CORE_VERSION=2.14 EDB_PG_TYPE=PG EDB_PG_VERSION=14 EDB_ENABLE_REPO=false make -C tests/cases/init_dbserver rocky8
setup-replication:
runs-on: ubuntu-20.04
name: Execute setup_replication tests for PostgreSQL 14 on RockyLinux8
steps:
- uses: actions/checkout@v2
- run: sudo apt install python3-pip -y
- run: sudo pip3 install ansible-core
- run: make
- run: ANSIBLE_CORE_VERSION=2.14 EDB_PG_TYPE=PG EDB_PG_VERSION=14 EDB_ENABLE_REPO=false make -C tests/cases/setup_replication rocky8
manage-dbserver:
runs-on: ubuntu-20.04
name: Execute manage_dbserver tests for PostgreSQL 14 on RockyLinux8
steps:
- uses: actions/checkout@v2
- run: sudo apt install python3-pip -y
- run: sudo pip3 install ansible-core
- run: make
- run: ANSIBLE_CORE_VERSION=2.14 EDB_PG_TYPE=PG EDB_PG_VERSION=14 EDB_ENABLE_REPO=false make -C tests/cases/manage_dbserver rocky8
setup-pgpool2:
runs-on: ubuntu-20.04
name: Execute setup_pgpool2 tests for PostgreSQL 14 on RockyLinux8
steps:
- uses: actions/checkout@v2
- run: sudo apt install python3-pip -y
- run: sudo pip3 install ansible-core
- run: make
- run: ANSIBLE_CORE_VERSION=2.14 EDB_PG_TYPE=PG EDB_PG_VERSION=14 EDB_ENABLE_REPO=false make -C tests/cases/setup_pgpool2 rocky8
manage-pgpool2:
runs-on: ubuntu-20.04
name: Execute manage_pgpool2 tests for PostgreSQL 14 on RockyLinux8
steps:
- uses: actions/checkout@v2
- run: sudo apt install python3-pip -y
- run: sudo pip3 install ansible-core
- run: make
- run: ANSIBLE_CORE_VERSION=2.14 EDB_PG_TYPE=PG EDB_PG_VERSION=14 EDB_ENABLE_REPO=false make -C tests/cases/manage_pgpool2 rocky8
setup-pgbouncer:
runs-on: ubuntu-20.04
name: Execute setup_pgbouncer tests for PostgreSQL 14 on RockyLinux8
steps:
- uses: actions/checkout@v2
- run: sudo apt install python3-pip -y
- run: sudo pip3 install ansible-core
- run: make
- run: ANSIBLE_CORE_VERSION=2.14 EDB_PG_TYPE=PG EDB_PG_VERSION=14 EDB_ENABLE_REPO=false make -C tests/cases/setup_pgbouncer rocky8
manage-pgbouncer:
runs-on: ubuntu-20.04
name: Execute manage_pgbouncer tests for PostgreSQL 14 on RockyLinux8
steps:
- uses: actions/checkout@v2
- run: sudo apt install python3-pip -y
- run: sudo pip3 install ansible-core
- run: make
- run: ANSIBLE_CORE_VERSION=2.14 EDB_PG_TYPE=PG EDB_PG_VERSION=14 EDB_ENABLE_REPO=false make -C tests/cases/manage_pgbouncer rocky8
setup-repmgr:
runs-on: ubuntu-20.04
name: Execute setup_repmgr tests for PostgreSQL 14 on RockyLinux8
steps:
- uses: actions/checkout@v2
- run: sudo apt install python3-pip -y
- run: sudo pip3 install ansible-core
- run: make
- run: ANSIBLE_CORE_VERSION=2.14 EDB_PG_TYPE=PG EDB_PG_VERSION=14 EDB_ENABLE_REPO=false make -C tests/cases/setup_repmgr rocky8
setup-dbt2-driver:
runs-on: ubuntu-20.04
name: Execute setup_dbt2_driver tests for PostgreSQL 14 on RockyLinux8
steps:
- uses: actions/checkout@v2
- run: sudo apt install python3-pip -y
- run: sudo pip3 install ansible-core
- run: make
- run: ANSIBLE_CORE_VERSION=2.14 EDB_PG_TYPE=PG EDB_PG_VERSION=14 EDB_ENABLE_REPO=false make -C tests/cases/setup_dbt2_driver rocky8
setup-dbt2-client:
runs-on: ubuntu-20.04
name: Execute setup_dbt2_client tests for PostgreSQL 14 on RockyLinux8
steps:
- uses: actions/checkout@v2
- run: sudo apt install python3-pip -y
- run: sudo pip3 install ansible-core
- run: make
- run: ANSIBLE_CORE_VERSION=2.14 EDB_PG_TYPE=PG EDB_PG_VERSION=14 EDB_ENABLE_REPO=false make -C tests/cases/setup_dbt2_client rocky8
setup-dbt2:
runs-on: ubuntu-20.04
name: Execute setup_dbt2 tests for PostgreSQL 14 on RockyLinux8
steps:
- uses: actions/checkout@v2
- run: sudo apt install ansible -y
- run: make
- run: ANSIBLE_CORE_VERSION=2.14 EDB_PG_TYPE=PG EDB_PG_VERSION=14 EDB_ENABLE_REPO=false make -C tests/cases/setup_dbt2 rocky8
setup-dbt3:
runs-on: ubuntu-20.04
name: Execute setup_dbt3 tests for PostgreSQL 14 on RockyLinux8
steps:
- uses: actions/checkout@v2
- run: sudo apt install ansible -y
- run: make
- run: ANSIBLE_CORE_VERSION=2.14 EDB_PG_TYPE=PG EDB_PG_VERSION=14 EDB_ENABLE_REPO=false make -C tests/cases/setup_dbt3 rocky8
setup-dbt7:
runs-on: ubuntu-20.04
name: Execute setup_dbt7 tests for PostgreSQL 14 on RockyLinux8
steps:
- uses: actions/checkout@v2
- run: sudo apt install ansible -y
- run: make
- run: ANSIBLE_CORE_VERSION=2.14 EDB_PG_TYPE=PG EDB_PG_VERSION=14 EDB_ENABLE_REPO=false make -C tests/cases/setup_dbt7 rocky8