Skip to content

Commit 04081b5

Browse files
committed
merged 0.17 from dev
1 parent 7f305d1 commit 04081b5

39 files changed

+205
-258
lines changed

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "Res-Edge-Labs",
2+
"name": "Pizza-Labs",
33
"dockerFile": "Dockerfile",
44

55
// do not change these if you want Docker in Docker support

.devcontainer/on-create.sh

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
#!/bin/bash
22

3-
# if you change this, you will have to update the sql and api containers as well
4-
export MSSQL_SA_PASSWORD=Res-Edge23
5-
63
# this runs as part of pre-build
74

85
echo "on-create start"
96
echo "$(date +'%Y-%m-%d %H:%M:%S') on-create start" >> "$HOME/status"
107

8+
export MSSQL_NAME=localhost,31433
9+
1110
# Change shell to zsh for vscode
1211
sudo chsh --shell /bin/zsh vscode
1312

@@ -30,7 +29,7 @@ sudo chsh --shell /bin/zsh vscode
3029
echo "export KIC_BASE=$PWD"
3130
echo "export KIC_REPO_FULL=\$(git remote get-url --push origin)"
3231
echo "export KIC_BRANCH=\$(git branch --show-current)"
33-
echo "export MSSQL_SA_PASSWORD=$MSSQL_SA_PASSWORD"
32+
echo "export MSSQL_NAME=$MSSQL_NAME"
3433
echo ""
3534

3635
echo "if [ -z \$DS_URL ]; then"
@@ -59,7 +58,7 @@ sudo chsh --shell /bin/zsh vscode
5958
{
6059
echo '#!/bin/zsh'
6160
echo ""
62-
echo '/opt/mssql-tools/bin/sqlcmd -d ist -S localhost,31433 -U sa -P "$MSSQL_SA_PASSWORD" "$@"'
61+
echo '/opt/mssql-tools/bin/sqlcmd -d ist -S "$MSSQL_NAME" -U sa -P "$MSSQL_SA_PASSWORD" "$@"'
6362
} > "$HOME/bin/sql"
6463
chmod +x "$HOME/bin/sql"
6564

@@ -108,8 +107,8 @@ kic cluster create
108107
echo "Pulling docker images"
109108
docker pull mcr.microsoft.com/dotnet/sdk:7.0
110109
docker pull mcr.microsoft.com/dotnet/aspnet:7.0-alpine
111-
docker pull ghcr.io/cse-labs/res-edge-webv:0.16
112-
docker pull ghcr.io/cse-labs/res-edge-automation:0.16
110+
docker pull ghcr.io/cse-labs/res-edge-webv:0.17
111+
docker pull ghcr.io/cse-labs/res-edge-automation:0.17
113112

114113
sudo apt-get update
115114

.devcontainer/post-start.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ echo "$(date +'%Y-%m-%d %H:%M:%S') post-start start" >> "$HOME/status"
88
echo "Pulling docker images"
99
docker pull mcr.microsoft.com/dotnet/sdk:7.0
1010
docker pull mcr.microsoft.com/dotnet/aspnet:7.0-alpine
11-
docker pull ghcr.io/cse-labs/res-edge-webv:0.16
12-
docker pull ghcr.io/cse-labs/res-edge-automation:0.16
11+
docker pull ghcr.io/cse-labs/res-edge-webv:0.17
12+
docker pull ghcr.io/cse-labs/res-edge-automation:0.17
1313

1414
echo "post-start complete"
1515
echo "$(date +'%Y-%m-%d %H:%M:%S') post-start complete" >> "$HOME/status"

.ds/commands/cicd

Lines changed: 0 additions & 17 deletions
This file was deleted.

.ds/commands/overlay

Lines changed: 0 additions & 57 deletions
This file was deleted.

.ds/commands/port-forward/api

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
kubectl port-forward -n res-edge svc/api 8080:8080

.ds/commands/port-forward/mssql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
kubectl port-forward -n res-edge svc/mssql 1433:1433

.ds/commands/port-forward/ui

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
kubectl port-forward -n res-edge svc/ui 8088:8088

.ds/commands/test/all

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ echo "Running tests on the cluster with both successful and failing requests"
44

55
# Integration.json is executed 5 times to generate more metrics for dashboard
66
docker run --net host --rm \
7-
ghcr.io/cse-labs/res-edge-webv:0.16 \
7+
ghcr.io/cse-labs/res-edge-webv:0.17 \
88
--server "${DS_URL}" \
99
--log-format TsvMin \
1010
--timeout 5 \

.ds/commands/test/integration

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ echo "Running integration tests on the cluster with failing requests (400 and 40
55
#!/bin/bash
66

77
docker run --net host --rm \
8-
ghcr.io/cse-labs/res-edge-webv:0.16 \
8+
ghcr.io/cse-labs/res-edge-webv:0.17 \
99
--server "${DS_URL}" \
1010
--log-format TsvMin \
1111
--timeout 5 \

0 commit comments

Comments
 (0)