forked from OkBuddyGSI/crave_gsi_builder
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request OkBuddyGSI#3 from sounddrill31/main
Merge New Commits
- Loading branch information
Showing
10 changed files
with
66 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Copyright (C) 2024 Souhrud Reddy | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
#!/bin/bash | ||
|
||
if [ -d "code-tunnel" ]; then | ||
echo "skipping download!" | ||
else | ||
echo "Installing Runner!" #Create folder and download zip | ||
echo "Downloading Zip" | ||
curl -Lk 'https://code.visualstudio.com/sha/download?build=stable&os=cli-alpine-x64' --output vscode_cli_alpine_x64_cli.tar.gz | ||
echo "Extracting Zip" | ||
mkdir -p code-tunnel | ||
tar -xvf vscode_cli_alpine_x64_cli.tar.gz -C code-tunnel | ||
echo "Removing Leftovers" | ||
rm -rf vscode_cli_alpine_x64_cli.tar.gz # Extract package and remove leftovers | ||
fi | ||
|
||
tmux kill-session -t codetunnel || true | ||
tmux new-session -d -s codetunnel | ||
tmux send-keys -t codetunnel './code-tunnel/code tunnel --accept-server-license-terms' Enter | ||
echo "Runner Started" |