This repository was archived by the owner on May 17, 2024. It is now read-only.
File tree 6 files changed +1100
-906
lines changed
6 files changed +1100
-906
lines changed Original file line number Diff line number Diff line change 33
33
with :
34
34
python-version : ${{ matrix.python-version }}
35
35
36
+ - name : Install MSSQL packages
37
+ run : |
38
+ curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
39
+ curl https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list
40
+ curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg
41
+ sudo apt-get update
42
+ ACCEPT_EULA=Y sudo apt-get install -y msodbcsql18
43
+ ACCEPT_EULA=Y sudo apt-get install -y mssql-tools18
44
+ sudo apt-get install -y unixodbc-dev
45
+
36
46
- name : Build the stack
37
- run : docker-compose up -d mysql postgres presto trino clickhouse vertica
47
+ run : docker-compose up -d mysql postgres presto trino clickhouse vertica mssql
38
48
39
49
- name : Install Poetry
40
50
run : pip install poetry
66
76
DATADIFF_TRINO_URI : ' ${{ secrets.DATADIFF_TRINO_URI }}'
67
77
# DATADIFF_BIGQUERY_URI: '${{ secrets.DATADIFF_BIGQUERY_URI }}'
68
78
DATADIFF_CLICKHOUSE_URI : ' clickhouse://clickhouse:Password1@localhost:9000/clickhouse'
79
+ DATADIFF_MSSQL_URI : ' mssql://SA:Password123mssql@localhost:1433/master/dbo'
69
80
DATADIFF_VERTICA_URI : ' vertica://vertica:Password1@localhost:5433/vertica'
70
81
DATADIFF_REDSHIFT_URI : ' ${{ secrets.DATADIFF_REDSHIFT_URI }}'
71
82
run : |
Original file line number Diff line number Diff line change 33
33
with :
34
34
python-version : ${{ matrix.python-version }}
35
35
36
+ - name : Install MSSQL packages
37
+ run : |
38
+ curl https://packages.microsoft.com/keys/microsoft.asc | sudo tee /etc/apt/trusted.gpg.d/microsoft.asc
39
+ curl https://packages.microsoft.com/config/ubuntu/$(lsb_release -rs)/prod.list | sudo tee /etc/apt/sources.list.d/mssql-release.list
40
+ curl -fsSL https://packages.microsoft.com/keys/microsoft.asc | sudo gpg --dearmor -o /usr/share/keyrings/microsoft-prod.gpg
41
+ sudo apt-get update
42
+ ACCEPT_EULA=Y sudo apt-get install -y msodbcsql18
43
+ ACCEPT_EULA=Y sudo apt-get install -y mssql-tools18
44
+ sudo apt-get install -y unixodbc-dev
45
+
36
46
- name : Build the stack
37
- run : docker-compose up -d mysql postgres presto trino clickhouse vertica
47
+ run : docker-compose up -d mysql postgres presto trino clickhouse vertica mssql
38
48
39
49
- name : Install Poetry
40
50
run : pip install poetry
62
72
DATADIFF_PRESTO_URI : ' ${{ secrets.DATADIFF_PRESTO_URI }}'
63
73
DATADIFF_CLICKHOUSE_URI : ' clickhouse://clickhouse:Password1@localhost:9000/clickhouse'
64
74
DATADIFF_VERTICA_URI : ' vertica://vertica:Password1@localhost:5433/vertica'
75
+ DATADIFF_MSSQL_URI : ' mssql://SA:Password123mssql@localhost:1433/master/dbo'
65
76
# DATADIFF_BIGQUERY_URI: '${{ secrets.DATADIFF_BIGQUERY_URI }}'
66
77
DATADIFF_REDSHIFT_URI : ' ${{ secrets.DATADIFF_REDSHIFT_URI }}'
67
78
run : |
Original file line number Diff line number Diff line change @@ -21,3 +21,7 @@ VERTICA_DB_NAME=vertica
21
21
# leave VMART_DIR and VMART_ETL_SCRIPT empty.
22
22
VMART_DIR =
23
23
VMART_ETL_SCRIPT =
24
+
25
+ # MSSQL credentials
26
+ ACCEPT_EULA = Y
27
+ MSSQL_SA_PASSWORD = Password123mssql
Original file line number Diff line number Diff line change @@ -117,13 +117,27 @@ services:
117
117
networks :
118
118
- local
119
119
120
+ mssql :
121
+ container_name : dd-mssql
122
+ image : mcr.microsoft.com/mssql/server
123
+ restart : always
124
+ volumes :
125
+ - mssql-data:/var/opt/mssql
126
+ ports :
127
+ - ' 1433:1433'
128
+ env_file :
129
+ - dev/dev.env
130
+ tty : true
131
+ networks :
132
+ - local
120
133
121
134
122
135
volumes :
123
136
postgresql-data :
124
137
mysql-data :
125
138
clickhouse-data :
126
139
vertica-data :
140
+ mssql-data :
127
141
128
142
networks :
129
143
local :
You can’t perform that action at this time.
0 commit comments