ci: Update CI to test once with custom db name and user.

Update CI to test once with a custom db name and user so we can test
both scenarios of a custom dbname/user and the default "zulip".
This commit is contained in:
Adam Birds
2021-03-31 12:01:33 +00:00
committed by Tim Abbott
parent 3c28fa033d
commit 9aab03654e
2 changed files with 49 additions and 4 deletions

View File

@@ -113,24 +113,28 @@ jobs:
# Base images are built using `tools/ci/Dockerfile.template`.
# The comments at the top explain how to build and upload these images.
- docker_image: zulip/ci:bionic
name: Bionic production install
name: Bionic production install with custom db name and user
is_bionic: true
os: bionic
install-command: /tmp/production-install --test-custom-db
- docker_image: zulip/ci:focal
name: Focal production install
is_focal: true
os: focal
install-command: /tmp/production-install
- docker_image: zulip/ci:buster
name: Buster production install
is_buster: true
os: buster
install-command: /tmp/production-install
- docker_image: zulip/ci:bullseye
name: Bullseye production install
is_bullseye: true
os: bullseye
install-command: /tmp/production-install
name: ${{ matrix.name }}
container: ${{ matrix.docker_image }}
@@ -181,7 +185,7 @@ jobs:
- name: Install production
run: |
sudo service rabbitmq-server restart
sudo /tmp/production-install
sudo ${{ matrix.install-command }}
- name: Verify install
run: sudo /tmp/production-verify