ensure sudo command inherit env
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
		
							parent
							
								
									e8b0d7df93
								
							
						
					
					
						commit
						73e61a023a
					
				|  | @ -28,11 +28,12 @@ jobs: | |||
|       - uses: actions/checkout@v2 | ||||
|       - name: csi-sanity | ||||
|         run: | | ||||
|           export PATH="/usr/local/lib/nodejs/bin:${PATH}" | ||||
|           export CI_BUILD_KEY=$(uuidgen) | ||||
|           sudo ci/bin/launch-server.sh & | ||||
|           sudo -E ci/bin/launch-server.sh & | ||||
|           # wait for server to launch | ||||
|           sleep 10 | ||||
|           sudo ci/bin/launch-csi-sanity.sh | ||||
|           sudo -E ci/bin/launch-csi-sanity.sh | ||||
|         env: | ||||
|           TEMPLATE_CONFIG_FILE: "./ci/configs/${{ matrix.config }}" | ||||
|           SYNOLOGY_HOST: ${{ secrets.SANITY_SYNOLOGY_HOST }} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue