Skip to content

Commit 0f50899

Browse files
authored
Merge pull request #101 from sqlcollaborative/development
Version v0.6.0
2 parents c388906 + 75ff5ec commit 0f50899

File tree

67 files changed

+2067
-778
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+2067
-778
lines changed

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
3+
github: [nvarscar]

.github/workflows/CI.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: CI
2+
on: [pull_request]
3+
4+
jobs:
5+
build:
6+
name: Module imports on all platforms
7+
runs-on: ${{ matrix.os }}
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
os: [ubuntu-latest, windows-latest, macOS-latest]
12+
13+
steps:
14+
- uses: actions/checkout@v1
15+
- name: Perform the import
16+
shell: pwsh
17+
run: Install-Module PSFramework -Force; Import-Module ./dbops.psd1 -ErrorAction Stop

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ Example code:
6767

6868
```powershell
6969
# Ad-hoc deployment of the scripts from a folder myscripts
70-
Install-DBOSqlScript -ScriptPath C:\temp\myscripts -SqlInstance server1 -Database MyDB
70+
Install-DBOScript -ScriptPath C:\temp\myscripts -SqlInstance server1 -Database MyDB
7171
7272
# Execute a list of files as an Ad-hoc query
7373
Get-ChildItem C:\temp\myscripts | Invoke-DBOQuery -SqlInstance server1 -Database MyDB

appveyor.yml

Lines changed: 6 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ version: 0.1.{build}
66
#images
77

88
image:
9-
- Ubuntu1804
109
- Visual Studio 2017
10+
- Ubuntu1804
1111

1212
# Set build info
1313
environment:
@@ -16,16 +16,10 @@ environment:
1616
PGUSER: postgres
1717
PGPASSWORD: Password12!
1818

19-
matrix:
20-
- scenario: all
21-
# - scenario: mysql
22-
23-
2419
for:
2520
- matrix:
2621
only:
2722
- image: Visual Studio 2017
28-
#scenario: all
2923
environment:
3024
mssql_instance: localhost\SQL2017
3125
scenario: windows
@@ -35,34 +29,26 @@ for:
3529
- postgresql
3630
before_test:
3731
- SET PATH=C:\Program Files\PostgreSQL\9.6\bin\;%PATH%
38-
- psql -c "CREATE USER sa WITH PASSWORD 'Password12!';" -U postgres
39-
- psql -c "ALTER USER sa WITH SUPERUSER;" -U postgres
32+
- psql -c "CREATE USER sa WITH SUPERUSER PASSWORD 'Password12!';" -U postgres
4033
- ps: .\tests\appveyor.prep.ps1
4134

4235
- matrix:
4336
only:
4437
- image: Ubuntu1804
45-
scenario: all
4638
environment:
4739
mssql_instance: localhost
40+
scenario: all
41+
TZ: GMT
4842
services:
4943
- mssql
5044
- mysql
5145
- postgresql
5246
before_test:
53-
- sudo -u postgres psql -c "CREATE USER sa WITH PASSWORD 'Password12!';"
54-
- sudo -u postgres psql -c "ALTER USER sa WITH SUPERUSER;"
47+
- sudo -u postgres psql -c "CREATE USER sa WITH SUPERUSER PASSWORD 'Password12!';"
5548
- ps: .\tests\appveyor.prep.ps1
56-
# - docker run --name dbops-oracle -d -p 1521:1521 -e ORACLE_ALLOW_REMOTE=true wnameless/oracle-xe-11g
57-
58-
# before_test:
59-
# # run preparation scripts
60-
# - ps: .\tests\appveyor.prep.ps1
61-
# # create postres user
62-
49+
- docker run --name dbops-oracle -d -p 1521:1521 -e ORACLE_ALLOW_REMOTE=true wnameless/oracle-xe-11g-r2
6350

6451
test_script:
65-
# Test with native PS version
6652
- ps: .\tests\appveyor.pester.ps1
6753
# Collecting results
6854
- ps: .\tests\appveyor.pester.ps1 -Finalize

bin/lib/net35/dbup-sqlserver.dll

0 Bytes
Binary file not shown.

bin/lib/net45/dbup-core.dll

0 Bytes
Binary file not shown.

bin/lib/net45/dbup-mysql.dll

0 Bytes
Binary file not shown.

bin/lib/net45/dbup-oracle.dll

0 Bytes
Binary file not shown.

bin/lib/net45/dbup-postgresql.dll

512 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)