@@ -108,32 +108,29 @@ for:
108
108
- docker
109
109
before_build :
110
110
- sh : |
111
- # Do not run the Azure Cosmos Emulator for Linux for now
112
- echo "Azure Cosmos Emulator for Linux is not being run at the moment"
113
-
114
- ## Start Azure Cosmos Emulator on Linux
115
- ## Pull Azure Cosmos Emulator Docker image
116
- #echo "Pulling Azure Cosmos Emulator Docker image for Linux ..."
117
- #bash ./pull-docker-azure-cosmos-emulator-linux.sh
118
-
119
- ## Start Azure Cosmos Emulator container
120
- #echo "Running Azure Cosmos Emulator Docker container ..."
121
- #nohup bash ./run-docker-azure-cosmos-emulator-linux.sh &
122
-
123
- ## Wait for Docker container being started in the background
124
- #echo "Waiting 60 seconds before trying to download Azure Cosmos Emulator SSL certificate ..."
125
- #sleep 60
126
-
127
- ## Print the background process output to see whether there are any errors
128
- #if [ -f "./nohup.out" ]; then
129
- # echo "--- BEGIN CONTENTS OF NOHUP.OUT ---"
130
- # cat ./nohup.out
131
- # echo "--- END CONTENTS OF NOHUP.OUT ---"
132
- #fi
133
-
134
- ## Install SSL certificate to be able to access the emulator
135
- #echo "Installing Azure Cosmos Emulator SSL certificate ..."
136
- #sudo bash ./install-azure-cosmos-emulator-linux-certificates.sh
111
+ # Start Azure Cosmos Emulator on Linux
112
+ # Pull Azure Cosmos Emulator Docker image
113
+ echo "Pulling Azure Cosmos Emulator Docker image for Linux ..."
114
+ bash ./pull-docker-azure-cosmos-emulator-linux.sh
115
+
116
+ # Start Azure Cosmos Emulator container
117
+ echo "Running Azure Cosmos Emulator Docker container ..."
118
+ nohup bash ./run-docker-azure-cosmos-emulator-linux.sh &
119
+
120
+ # Wait for Docker container being started in the background
121
+ echo "Waiting 60 seconds before trying to download Azure Cosmos Emulator SSL certificate ..."
122
+ sleep 60
123
+
124
+ # Print the background process output to see whether there are any errors
125
+ if [ -f "./nohup.out" ]; then
126
+ echo "--- BEGIN CONTENTS OF NOHUP.OUT ---"
127
+ cat ./nohup.out
128
+ echo "--- END CONTENTS OF NOHUP.OUT ---"
129
+ fi
130
+
131
+ # Install SSL certificate to be able to access the emulator
132
+ echo "Installing Azure Cosmos Emulator SSL certificate ..."
133
+ sudo bash ./install-azure-cosmos-emulator-linux-certificates.sh
137
134
138
135
build_script :
139
136
- pwsh : |
0 commit comments