mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	ci: Refactor --test-custom-db to be an argument, not a command.
This commit is contained in:
		
				
					committed by
					
						
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							1e4d8deb98
						
					
				
				
					commit
					a751d3a6ff
				
			
							
								
								
									
										10
									
								
								.github/workflows/production-suite.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								.github/workflows/production-suite.yml
									
									
									
									
										vendored
									
									
								
							@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user