Re-enable SFTP integration tests
This commit is contained in:
66
.github/workflows/integration_test.yml
vendored
66
.github/workflows/integration_test.yml
vendored
@@ -76,35 +76,43 @@ jobs:
|
|||||||
LITESTREAM_ABS_ACCOUNT_KEY: ${{ secrets.LITESTREAM_ABS_ACCOUNT_KEY }}
|
LITESTREAM_ABS_ACCOUNT_KEY: ${{ secrets.LITESTREAM_ABS_ACCOUNT_KEY }}
|
||||||
LITESTREAM_ABS_BUCKET: integration
|
LITESTREAM_ABS_BUCKET: integration
|
||||||
|
|
||||||
# sftp-integration-test:
|
sftp-integration-test:
|
||||||
# name: Run SFTP Integration Tests
|
name: Run SFTP Integration Tests
|
||||||
# runs-on: ubuntu-18.04
|
runs-on: ubuntu-18.04
|
||||||
# steps:
|
steps:
|
||||||
# - uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
#
|
|
||||||
# - uses: actions/setup-go@v2
|
- uses: actions/setup-go@v2
|
||||||
# with:
|
with:
|
||||||
# go-version: '1.17'
|
go-version: '1.17'
|
||||||
#
|
|
||||||
# - uses: actions/cache@v2
|
- uses: actions/cache@v2
|
||||||
# with:
|
with:
|
||||||
# path: ~/go/pkg/mod
|
path: ~/go/pkg/mod
|
||||||
# key: ${{ inputs.os }}-go-${{ hashFiles('**/go.sum') }}
|
key: ${{ inputs.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||||
# restore-keys: ${{ inputs.os }}-go-
|
restore-keys: ${{ inputs.os }}-go-
|
||||||
#
|
|
||||||
# - name: Extract SSH key
|
- name: Extract SSH key
|
||||||
# run: 'echo "$LITESTREAM_SFTP_KEY" > /opt/id_ed25519'
|
run: 'echo "$LITESTREAM_SFTP_KEY" > /opt/id_ed25519'
|
||||||
# shell: bash
|
shell: bash
|
||||||
# env:
|
env:
|
||||||
# LITESTREAM_SFTP_KEY: ${{secrets.LITESTREAM_SFTP_KEY}}
|
LITESTREAM_SFTP_KEY: ${{secrets.LITESTREAM_SFTP_KEY}}
|
||||||
#
|
|
||||||
# - name: Run sftp tests
|
- name: Run sftp tests w/ key
|
||||||
# run: go test -v -run=TestReplicaClient ./integration -replica-type sftp
|
run: go test -v -run=TestReplicaClient ./integration -replica-type sftp
|
||||||
# env:
|
env:
|
||||||
# LITESTREAM_SFTP_HOST: ${{ secrets.LITESTREAM_SFTP_HOST }}
|
LITESTREAM_SFTP_HOST: litestream-test-sftp.fly.dev:2222
|
||||||
# LITESTREAM_SFTP_USER: ${{ secrets.LITESTREAM_SFTP_USER }}
|
LITESTREAM_SFTP_USER: litestream
|
||||||
# LITESTREAM_SFTP_KEY_PATH: /opt/id_ed25519
|
LITESTREAM_SFTP_KEY_PATH: /opt/id_ed25519
|
||||||
# LITESTREAM_SFTP_PATH: ${{ secrets.LITESTREAM_SFTP_PATH }}
|
LITESTREAM_SFTP_PATH: /litestream
|
||||||
|
|
||||||
|
- name: Run sftp tests w/ password
|
||||||
|
run: go test -v -run=TestReplicaClient ./integration -replica-type sftp
|
||||||
|
env:
|
||||||
|
LITESTREAM_SFTP_HOST: litestream-test-sftp.fly.dev:2222
|
||||||
|
LITESTREAM_SFTP_USER: litestream
|
||||||
|
LITESTREAM_SFTP_PASSWORD: ${{ secrets.LITESTREAM_SFTP_PASSWORD }}
|
||||||
|
LITESTREAM_SFTP_PATH: /litestream
|
||||||
|
|
||||||
long-running-test:
|
long-running-test:
|
||||||
name: Run Long-Running Test
|
name: Run Long-Running Test
|
||||||
|
|||||||
Reference in New Issue
Block a user