-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdocker-compose.yaml
34 lines (34 loc) · 2.27 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
services:
build-template-artifacts:
image: ubuntu:22.04
working_dir: /dcs-for-azure-templates
volumes:
- $PWD:/dcs-for-azure-templates
command: >
sh -c "
mkdir -p releases
apt-get update &&
apt-get install -y zip &&
mkdir -p releases &&
cp VERSION.md dcsazure_ADLS_to_ADLS_delimited_discovery_pl/VERSION.md &&
zip dcsazure_ADLS_to_ADLS_delimited_discovery_pl.zip dcsazure_ADLS_to_ADLS_delimited_discovery_pl/* &&
cp VERSION.md dcsazure_ADLS_to_ADLS_delimited_mask_pl/VERSION.md &&
zip dcsazure_ADLS_to_ADLS_delimited_mask_pl.zip dcsazure_ADLS_to_ADLS_delimited_mask_pl/* &&
cp VERSION.md dcsazure_ADLS_to_ADLS_parquet_discovery_pl/VERSION.md &&
zip dcsazure_ADLS_to_ADLS_parquet_discovery_pl.zip dcsazure_ADLS_to_ADLS_parquet_discovery_pl/* &&
cp VERSION.md dcsazure_ADLS_to_ADLS_parquet_mask_pl/VERSION.md &&
zip dcsazure_ADLS_to_ADLS_parquet_mask_pl.zip dcsazure_ADLS_to_ADLS_parquet_mask_pl/* &&
cp VERSION.md dcsazure_Snowflake_to_Snowflake_discovery_pl/VERSION.md &&
zip dcsazure_Snowflake_to_Snowflake_discovery_pl.zip dcsazure_Snowflake_to_Snowflake_discovery_pl/* &&
cp VERSION.md dcsazure_Snowflake_to_Snowflake_mask_pl/VERSION.md &&
zip dcsazure_Snowflake_to_Snowflake_mask_pl.zip dcsazure_Snowflake_to_Snowflake_mask_pl/* &&
cp VERSION.md dcsazure_Databricks_to_Databricks_discovery_pl/VERSION.md &&
zip dcsazure_Databricks_to_Databricks_discovery_pl.zip dcsazure_Databricks_to_Databricks_discovery_pl/* &&
cp VERSION.md dcsazure_Databricks_to_Databricks_mask_pl/VERSION.md &&
zip dcsazure_Databricks_to_Databricks_mask_pl.zip dcsazure_Databricks_to_Databricks_mask_pl/* &&
cp VERSION.md dcsazure_AzureSQL_to_AzureSQL_discovery_pl/VERSION.md &&
zip dcsazure_AzureSQL_to_AzureSQL_discovery_pl.zip dcsazure_AzureSQL_to_AzureSQL_discovery_pl/* &&
cp VERSION.md dcsazure_AzureSQL_to_AzureSQL_mask_pl/VERSION.md &&
zip dcsazure_AzureSQL_to_AzureSQL_mask_pl.zip dcsazure_AzureSQL_to_AzureSQL_mask_pl/* &&
rm *_pl/VERSION.md &&
mv *.zip releases/."