Skip to content

Commit 841d2d4

Browse files
authored
Revert "Test creating Commit" (#118)
Reverts #117
1 parent 16cff82 commit 841d2d4

File tree

1 file changed

+0
-26
lines changed

1 file changed

+0
-26
lines changed

.devcontainer/postStartCommand.sh

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,5 @@
11
#!/bin/bash
22

3-
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
4-
LATEST_RELEASE=$(bash "$SCRIPT_DIR/refreshTools.sh")
5-
6-
sudo cp .devcontainer/spark.conf /etc/supervisor/conf.d/
7-
8-
# Check git repository state and create initial commit if needed
9-
cd /workspaces/spark-template
10-
echo "Checking git repository state"
11-
if ! git rev-parse HEAD >/dev/null 2>&1; then
12-
echo "No commits found, creating initial commit"
13-
git add . || true
14-
git commit --allow-empty --no-verify -m "Initial commit" --no-gpg-sign || true
15-
fi
16-
17-
cd /tmp/spark
18-
bash spark-sdk-dist/repair.sh
19-
LATEST_RELEASE="$LATEST_RELEASE" WORKSPACE_DIR="$WORKSPACE_DIR" bash /tmp/spark/spark-sdk-dist/install-tools.sh services
20-
cd /workspaces/spark-template
21-
22-
sudo chown node /var/run/
23-
sudo chown -R node /var/log/
24-
25-
supervisord
26-
supervisorctl reread
27-
supervisorctl update
28-
293
# Check if SNAPSHOT_SAS_URL was passed, if so run hydrate.sh
304
if [ -n "$SNAPSHOT_SAS_URL" ]; then
315
WORKSPACE_DIR="/workspaces/spark-template"

0 commit comments

Comments
 (0)