ci: Refactor --test-custom-db to be an argument, not a command.

This commit is contained in:
Alex Vandiver 2021-12-13 20:18:12 -08:00 committed by Tim Abbott
parent 1e4d8deb98
commit a751d3a6ff
1 changed files with 5 additions and 5 deletions

View File

@ -119,25 +119,25 @@ jobs:
name: Bionic production install with custom db name and user
is_bionic: true
os: bionic
install-command: /tmp/production-install --test-custom-db
extra_args: --test-custom-db
- docker_image: zulip/ci:focal
name: Focal production install
is_focal: true
os: focal
install-command: /tmp/production-install
extra_args: ""
- docker_image: zulip/ci:buster
name: Buster production install
is_buster: true
os: buster
install-command: /tmp/production-install
extra_args: ""
- docker_image: zulip/ci:bullseye
name: Bullseye production install
is_bullseye: true
os: bullseye
install-command: /tmp/production-install
extra_args: ""
name: ${{ matrix.name }}
container:
@ -191,7 +191,7 @@ jobs:
- name: Install production
run: |
sudo service rabbitmq-server restart
sudo ${{ matrix.install-command }}
sudo /tmp/production-install ${{ matrix.extra-args }}
- name: Verify install
run: sudo /tmp/production-verify