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

View File

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