Skip to content

Commit c98f0ac

Browse files
authored
[universal] - check toolings - monthly task (#1273)
* Updating node and ruby pinned versions for universal image * Updating node and ruby pinned versions for universal image * Updating node and ruby pinned versions for universal image * Update test.sh to test universal smoke test * To check the GitHub runner credential * Reverting the debug statements * Testing the disable Apparmor * Reverting the fixes * Update smoke-universal.yaml to resolve conflict
1 parent 4128075 commit c98f0ac

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

.github/workflows/smoke-base-alpine.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
- name: Checkout
2121
id: checkout
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v3
2323

2424
- name: Smoke test
2525
id: smoke_test

src/universal/.devcontainer/devcontainer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
"version": "latest"
1919
},
2020
"ghcr.io/devcontainers/features/node:1": {
21-
"version": "20",
22-
"additionalVersions": "18"
21+
"version": "22",
22+
"additionalVersions": "20"
2323
},
2424
"./local-features/nvs": "latest",
2525
"ghcr.io/devcontainers/features/python:1": {
@@ -39,8 +39,8 @@
3939
"version": "latest"
4040
},
4141
"ghcr.io/devcontainers/features/ruby:1": {
42-
"version": "3.3.4",
43-
"additionalVersions": "3.3.2"
42+
"version": "3.4.1",
43+
"additionalVersions": "3.3.6"
4444
},
4545
"ghcr.io/devcontainers/features/java:1": {
4646
"version": "21",

src/universal/.devcontainer/local-features/setup-user/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ find "${OPT_DIR}" -type d | xargs -n 1 chmod g+s
9292
echo "Defaults secure_path=\"${DOTNET_PATH}:${NODE_PATH}/bin:${PHP_PATH}/bin:${PYTHON_PATH}/bin:${JAVA_PATH}/bin:${RUBY_PATH}/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/bin:/usr/local/share:/home/${USERNAME}/.local/bin:${PATH}\"" >> /etc/sudoers.d/$USERNAME
9393

9494
# Temporary: Due to GHSA-c2qf-rxjj-qqgw
95-
bash -c ". /usr/local/share/nvm/nvm.sh && nvm use 18"
95+
bash -c ". /usr/local/share/nvm/nvm.sh && nvm use 22"
9696
bash -c "npm -g install -g npm@9.8.1"
9797
bash -c ". /usr/local/share/nvm/nvm.sh && nvm use stable"
9898

src/universal/test-project/test.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ expectedCount=2
9797
checkVersionCount "two versions of node are present" $count $expectedCount
9898
echo $(echo "node versions" && ls -a /usr/local/share/nvm/versions/node)
9999
checkBundledNpmVersion "default" "9.8.0"
100-
checkBundledNpmVersion "18" "9.8.1"
100+
checkBundledNpmVersion "22" "9.8.1"
101101

102102
# PHP
103103
check "php" php --version
@@ -138,7 +138,7 @@ check "RAILS_DEVELOPMENT_HOSTS is set correctly" echo $RAILS_DEVELOPMENT_HOSTS |
138138
check "oryx" oryx --version
139139

140140
# Ensures nvm works in a Node Project
141-
check "default-node-version" bash -c "node --version | grep 20."
141+
check "default-node-version" bash -c "node --version | grep 22."
142142
check "default-node-location" bash -c "which node | grep /home/codespace/nvm/current/bin"
143143
check "oryx-build-node-projectr" bash -c "oryx build ./sample/node"
144144
check "oryx-configured-current-node-version" bash -c "ls -la /home/codespace/nvm/current | grep /opt/nodejs"

0 commit comments

Comments
 (0)