Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

Commit 242d7dd

Browse files
authored
Restore single runtime image (#309)
* Restore single runtime image * Revert nodejs test versions * Update requirements.txt * Fix npm audit. * typo quote. * Remove ref * Update project.yaml * Disk now appears to be required. * Fix vulnerabilities. * knew it.
1 parent 5de2113 commit 242d7dd

File tree

6 files changed

+91
-32
lines changed

6 files changed

+91
-32
lines changed

.github/workflows/project.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
UPSUN_CLI_NO_INTERACTION: 1
1515
UPSUN_CLI_TOKEN: ${{secrets.DEVREL_USER_UPSUN_TOKEN}}
1616

17-
PHP_VERSION: '8.2'
17+
PHP_VERSION: '8.3'
1818

1919
UPSUN_HOST_REGION: "ca-1"
2020
UPSUN_HOST_SUFFIX: "platform.sh"

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
matrix:
1919
# These versions match Upsun support
2020
# Node.js: https://docs.upsun.com/languages/nodejs.html#supported-versions
21-
node-version: [18.x, 20.x, 22.x]
21+
node-version: [18.x, 20.x, 21.x]
2222
# Python: https://docs.upsun.com/languages/python.html#supported-versions
2323
python-version: ['3.9', '3.10', '3.11', '3.12']
2424

.upsun/config.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@ applications:
99
source:
1010
root: "frontend"
1111

12-
stack:
13-
- "nodejs@22"
12+
type: "nodejs:18"
1413

1514
variables:
1615
env:
@@ -49,8 +48,7 @@ applications:
4948
source:
5049
root: "backend"
5150

52-
stack:
53-
51+
type: "python:3.12"
5452

5553
hooks:
5654
build: |

backend/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ Pygments==2.17.2
3232
pyparsing==3.1.1
3333
python-dotenv==1.0.1
3434
redis==4.5.4
35-
requests==2.31.0
35+
requests==2.32.0
3636
rich==13.7.0
3737
six==1.16.0
3838
sortedcontainers==2.4.0
3939
toml==0.10.2
40-
urllib3==2.1.0
40+
urllib3==2.2.2
4141
webencodings==0.5.1
4242
Werkzeug==3.0.3
4343
pylint==3.0.3
44-
black==24.4.0
44+
black==24.4.0

frontend/package-lock.json

Lines changed: 80 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src/commands.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,20 +39,20 @@
3939
"merge_production": {
4040
"user": {
4141
"merge": "upsun merge staging",
42-
"resources_set": "upsun resources:set \\\n\t--count backend:2 \\\n\t--size redis_service:0.5 \\\n\t-e main",
42+
"resources_set": "upsun resources:set \\\n\t--count backend:2 \\\n\t--size redis_service:0.5 \\\n\t--disk backend:0,frontend:0 \\\n\t-e main",
4343
"get_url": "upsun url --primary -e main"
4444
},
4545
"test": {
4646
"merge": "upsun merge $STAGING_BRANCH",
47-
"resources_set": "upsun resources:set \\\n\t--count backend:2 \\\n\t--size redis_service:0.5 \\\n\t-e $DEFAULT_BRANCH"
47+
"resources_set": "upsun resources:set \\\n\t--count backend:2 \\\n\t--size redis_service:0.5 \\\n\t--disk backend:0,frontend:0 \\\n\t-e $DEFAULT_BRANCH"
4848
}
4949
},
5050
"scale": {
5151
"user": {
52-
"resources_set": "upsun resources:set \\\n\t--size redis_service:0.1 \\\n\t-e main"
52+
"resources_set": "upsun resources:set \\\n\t--size redis_service:0.1 \\\n\t--disk backend:0,frontend:0 \\\n\t-e main"
5353
},
5454
"test": {
55-
"resources_set": "upsun resources:set \\\n\t--size redis_service:0.1 \\\n\t-e $DEFAULT_BRANCH"
55+
"resources_set": "upsun resources:set \\\n\t--size redis_service:0.1 \\\n\t--disk backend:0,frontend:0 \\\n\t-e $DEFAULT_BRANCH"
5656
}
5757
},
5858
"complete": {

0 commit comments

Comments
 (0)