Skip to content

Commit f016cae

Browse files
committed
Create Cloud database
1 parent 8235695 commit f016cae

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/Windows.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@ jobs:
4646
new-item ${{ github.workspace }}/install -itemtype directory
4747
new-item ${{ github.workspace }}/package -itemtype directory
4848
49+
- name: Create Test Database
50+
run: |
51+
$timestamp = [math]::Round([double](Get-Date -UFormat %s) * 1000)
52+
$creds = New-Object System.Management.Automation.PSCredential("default", (ConvertTo-SecureString "${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_PASSWORD_SMT }}" -AsPlainText -Force))
53+
Invoke-WebRequest -Uri "https://${{ secrets.INTEGRATIONS_TEAM_TESTS_CLOUD_HOST_SMT }}:8443/?query=" -Method POST -ContentType "text/plain" -Body "create database test${timestamp}_odbc" -Credential $creds
54+
55+
4956
- name: Clone the repo
5057
uses: actions/checkout@v4
5158
with:

0 commit comments

Comments
 (0)