Skip to content

Commit ecb2489

Browse files
Merge branch 'main' into typescript_node_trixie
2 parents 1f6f293 + 3dca5f1 commit ecb2489

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+31504
-2373
lines changed

build/upgrade-lockfiles.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
3+
# Pass image name to upgrade only a single image, else it upgrades all the images
4+
IMAGE_NAME=$1
5+
workspaceFolder="/workspaces/images/src"
6+
7+
if [ ! -z "$IMAGE_NAME" ]; then
8+
echo "-----------------------------------------------"
9+
echo "Upgrading image $IMAGE_NAME"
10+
echo "-----------------------------------------------"
11+
devcontainer upgrade --workspace-folder "${workspaceFolder}/${IMAGE_NAME}/"
12+
exit 0
13+
fi
14+
15+
for dir in /workspaces/images/src/*/
16+
do
17+
cd "${dir}"
18+
image=$(basename $dir)
19+
echo "-----------------------------------------------"
20+
echo "Upgrading image $image"
21+
echo "-----------------------------------------------"
22+
devcontainer upgrade --workspace-folder .
23+
cd ..
24+
done

0 commit comments

Comments
 (0)