Skip to content

Commit

Permalink
update test case OS and docker compatability
Browse files Browse the repository at this point in the history
  • Loading branch information
hannahms authored and vibhorkumar123 committed Aug 8, 2023
1 parent 533bf15 commit 669c5a3
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
4 changes: 4 additions & 0 deletions tests/cases/execute_binary_upgrade/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ build-rocky8:
docker compose up primary1-rocky8 -d
docker compose up standby1-rocky8 -d

build-almalinux8:
docker compose up primary1-almalinux8 -d
docker compose up standby1-almalinux8 -d

build-debian10:
docker compose up primary1-debian10 -d
docker compose up standby1-debian10 -d
Expand Down
22 changes: 22 additions & 0 deletions tests/cases/execute_binary_upgrade/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,28 @@ services:
- .:/workspace
- /sys/fs/cgroup/:/sys/fs/cgroup:ro
command: /usr/sbin/init
primary1-almalinux8:
privileged: true
build:
context: ../../docker
dockerfile: Dockerfile.almalinux8
cap_add:
- SYS_ADMIN
volumes:
- .:/workspace
- /sys/fs/cgroup/:/sys/fs/cgroup:ro
command: /usr/sbin/init
standby1-almalinux8:
privileged: true
build:
context: ../../docker
dockerfile: Dockerfile.almalinux8
cap_add:
- SYS_ADMIN
volumes:
- .:/workspace
- /sys/fs/cgroup/:/sys/fs/cgroup:ro
command: /usr/sbin/init
primary1-debian10:
privileged: true
build:
Expand Down
2 changes: 0 additions & 2 deletions tests/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -530,9 +530,7 @@ cases:
- PG
- EPAS
os:
- centos7
- rocky8
- almalinux8
- debian10
- ubuntu20
- oraclelinux7

0 comments on commit 669c5a3

Please sign in to comment.