Skip to content

Commit

Permalink
Generated from base-vm
Browse files Browse the repository at this point in the history
  • Loading branch information
Generate.yml committed Dec 9, 2023
1 parent 0f7215f commit 7d99de7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
port: 8000
- name: Test in Solaris
id: test
uses: vmactions/solaris-vm@9cfa3cae81a82bda233ac0365996f1c6dcae4e1a
uses: vmactions/solaris-vm@513e769c5807e8f9764c746e7d3af678bcaafad4
with:
envs: 'DEBUG MYTOKEN MYTOKEN2'
prepare: |
Expand Down Expand Up @@ -84,7 +84,7 @@ jobs:
- uses: actions/checkout@v4
- name: Test in Solaris
id: test
uses: vmactions/solaris-vm@9cfa3cae81a82bda233ac0365996f1c6dcae4e1a
uses: vmactions/solaris-vm@513e769c5807e8f9764c746e7d3af678bcaafad4
with:
envs: 'MYTOKEN MYTOKEN2'
prepare: |
Expand Down
8 changes: 4 additions & 4 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,9 +187,9 @@ rsyncBackFromVM() {

installRsyncInVM() {
ssh "$osname" sh <<EOF
if ! command -v rsync; then
$VM_INSTALL_CMD $VM_RSYNC_PKG
fi
EOF

}
Expand All @@ -201,9 +201,9 @@ runSSHFSInVM() {
elif [ "$VM_SSHFS_PKG" ]; then
echo "Installing $VM_SSHFS_PKG"
ssh "$osname" sh <<EOF
if ! command -v sshfs ; then
$VM_INSTALL_CMD $VM_SSHFS_PKG
fi
EOF
echo "Run sshfs"
ssh "$osname" sh <<EOF
Expand Down

0 comments on commit 7d99de7

Please sign in to comment.