Skip to content

Commit

Permalink
chore: use sudo with env (#391)
Browse files Browse the repository at this point in the history
  • Loading branch information
anhductn2001 authored Aug 22, 2024
1 parent 8706d29 commit 0412235
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test-evm-workflow-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ jobs:
docker image ls -a
- name: Rollapp-EVM E2E Tests
run: sudo make e2e-test test=${{ matrix.test }} -E ROLLAPP_EVM_CI=${{ inputs.rollapp_evm_ci }} DYMENSION_CI=${{ inputs.dymension_ci }} RELAYER_CI=${{ inputs.relayer_ci }}
run: sudo -E make e2e-test test=${{ matrix.test }}
env:
ROLLAPP_EVM_CI: ${{ inputs.rollapp_evm_ci }}
DYMENSION_CI: ${{ inputs.dymension_ci }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test-hub-upgrade-workflow-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
docker image ls -a
- name: Upgrade Hub E2E Tests
run: sudo make ${{ matrix.tests }} -E UPGRADE_NAME=${{ inputs.upgrade_name }} DYMENSION_CI=${{ inputs.dymension_ci }} RELAYER_CI=${{ inputs.relayer_ci }}
run: sudo -E make ${{ matrix.tests }}
env:
DYMENSION_CI: ${{ inputs.dymension_ci }}
UPGRADE_NAME: ${{ inputs.upgrade_name }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
docker image ls -a
- name: Rollapp-EVM Upgrade E2E Tests
run: sudo make ${{ matrix.tests }} -E ROLLAPP_EVM_CI=${{ inputs.rollapp_evm_ci }} UPGRADE_ROLLAPP_EVM_NAME=${{ inputs.upgrade_name }} RELAYER_CI=${{ inputs.relayer_ci }}
run: sudo -E make ${{ matrix.tests }}
env:
ROLLAPP_EVM_CI: ${{ inputs.rollapp_evm_ci }}
UPGRADE_ROLLAPP_EVM_NAME: ${{ inputs.upgrade_name }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
docker image ls -a
- name: Rollapp-Wasm Upgrade E2E Tests
run: sudo make ${{ matrix.tests }} -E UPGRADE_ROLLAPP_WASM_NAME=${{ inputs.upgrade_name }} ROLLAPP_WASM_CI=${{ inputs.rollapp_wasm_ci }} RELAYER_CI=${{ inputs.relayer_ci }}
run: sudo -E make ${{ matrix.tests }}
env:
ROLLAPP_WASM_CI: ${{ inputs.rollapp_wasm_ci }}
UPGRADE_ROLLAPP_WASM_NAME: ${{ inputs.upgrade_name }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test-wasm-workflow-call.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ jobs:
docker image ls -a
- name: Rollapp-Wasm E2E Tests
run: sudo make e2e-test test=${{ matrix.test }} -E ROLLAPP_WASM_CI=${{ inputs.rollapp_wasm_ci }} DYMENSION_CI=${{ inputs.dymension_ci }} RELAYER_CI=${{ inputs.relayer_ci }}
run: sudo -E make e2e-test test=${{ matrix.test }}
env:
ROLLAPP_WASM_CI: ${{ inputs.rollapp_wasm_ci }}
DYMENSION_CI: ${{ inputs.dymension_ci }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-test-workflow-call.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ jobs:
docker image ls -a
- name: Rollapp-EVM E2E Tests
run: sudo make e2e-test test=${{ matrix.test }} -E ROLLAPP_WASM_CI=${{ inputs.rollapp_wasm_ci }} DYMENSION_CI=${{ inputs.dymension_ci }} RELAYER_CI=${{ inputs.relayer_ci }} ROLLAPP_EVM_CI=${{ inputs.rollapp_evm_ci }}
run: sudo -E make e2e-test test=${{ matrix.test }}
env:
DYMENSION_CI: ${{ inputs.dymension_ci }}
ROLLAPP_EVM_CI: ${{ inputs.rollapp_evm_ci }}
Expand Down Expand Up @@ -140,7 +140,7 @@ jobs:
docker image ls -a
- name: Rollapp-Wasm E2E Tests
run: sudo make e2e-test test=${{ matrix.test }} -E ROLLAPP_WASM_CI=${{ inputs.rollapp_wasm_ci }} DYMENSION_CI=${{ inputs.dymension_ci }} RELAYER_CI=${{ inputs.relayer_ci }} ROLLAPP_EVM_CI=${{ inputs.rollapp_evm_ci }}
run: sudo -E make e2e-test test=${{ matrix.test }}
env:
DYMENSION_CI: ${{ inputs.dymension_ci }}
ROLLAPP_EVM_CI: ${{ inputs.rollapp_evm_ci }}
Expand Down

0 comments on commit 0412235

Please sign in to comment.