Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/integ-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,4 +239,16 @@ jobs:
uses: actions/checkout@v3
with:
path: ${{ env.WORKDIR }}
- run: cd tests/integration/cleanup && ./smb_cleanup.sh ${{ secrets.SMB_SERVER }} ${{ secrets.SMB_SHARE }} "${{ secrets.SMB_USERNAME }}" ${{ secrets.SMB_PASSWORD }}
- run: |
echo "${{ vars.CI_CONFIG_HC_IP50 }}" > tests/integration/integration_config.yml
cat tests/integration/integration_config.yml
echo "sc_password: ${{ secrets.CI_CONFIG_HC_IP50_SC_PASSWORD }}" >> tests/integration/integration_config.yml
echo "smb_password: ${{ secrets.CI_CONFIG_HC_IP50_SMB_PASSWORD }}" >> tests/integration/integration_config.yml
echo "sc_replication_dest_password: ${{ secrets.CI_CONFIG_HC_IP50_SC_REPLICATION_DEST_PASSWORD }}" >> tests/integration/integration_config.yml
ls -al tests/integration/integration_config.yml
- run: |
cd tests/integration/cleanup && ./smb_cleanup.sh \
"$(cat ../integration_config.yml | yq '.smb_server' | sed -e 's/^"//' -e 's/"$//')" \
"$(cat ../integration_config.yml | yq '.smb_share' | sed -e 's/^"//' -e 's/"$//')" \
"$(cat ../integration_config.yml | yq '.smb_username' | sed -e 's/^"//' -e 's/"$//')" \
"$(cat ../integration_config.yml | yq '.smb_password' | sed -e 's/^"//' -e 's/"$//')"
1 change: 1 addition & 0 deletions tests/integration/integration_config.yml.template
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ sc_timeout: 60
# CI tests for vm_import/vm_export require a SMB server
smb_server: <example 10.0.0.3>
smb_share: <example /users>
# Provide username as "domain;username" or only ";username".
smb_username: <example myusername>
smb_password: <example mypassword>
# Replication cluster needs to be cleaned up.
Expand Down