Author SHA1 Message Date
renovate fdcdf67186 fix(deps): update dependency graphql to v17
renovate/stability-days Updates have met minimum release age requirement
renovate/artifacts Artifact file update failure
schemas-app / build (pull_request) Failing after 22s
schemas-app / deploy-prod-frostmoln (pull_request) Skipped
2026-10-16 17:16:56 +00:00
renovate d5e1d1e66f fix(deps): update dependency graphql-ws to v6.4.0 (#397)
schemas-app / build (push) Successful in 3m48s
schemas-app / deploy-prod-frostmoln (push) Successful in 1m6s
2026-10-16 16:19:42 +00:00
renovate 11ab393ffc fix(deps): update dependency vue to v3.5.44 (#396)
schemas-app / build (push) Successful in 4m23s
schemas-app / deploy-prod-frostmoln (push) Successful in 1m0s
2026-10-16 09:22:58 +00:00
renovate 365efd3a44 chore(deps): update nginxinc/nginx-unprivileged docker tag to v1.31.7 (#395)
schemas-app / build (push) Successful in 3m51s
schemas-app / deploy-prod-frostmoln (push) Successful in 1m9s
2026-10-15 22:14:52 +00:00
argoyle b6812b9d55 feat: deploy to Frostmoln production (#391)
schemas-app / deploy-prod-frostmoln (push) Successful in 1m16s
schemas-app / build (push) Successful in 59s
Moves the production deploy from AWS to the Frostmoln production cluster (namespace `schemas`), with unboundsoftware/schemas.

- `deploy-prod` (AWS, failing since CI left AWS) → `deploy-prod-frostmoln`: `deploy prod-frostmoln -n schemas`.
- Restricted Pod Security: `nginxinc/nginx-unprivileged` (uid 101, port 8080; 1.31.7 isn't published for it yet, so 1.31.6). `nginx.conf`: no `user`, pid and temp paths under `/tmp`, `listen 8080`. Configs copied with `--chmod=644`. Service is ClusterIP.
- `autoscale-prod`/`pdb-prod` → `-prod-frostmoln`; the ALB ingress → a Traefik one for `/` on `schemas.unbound.se` (the API's `/query` ingress wins on the longer path).

Checked locally (amd64): as uid 101 with all capabilities dropped, `/health`, `/` and SPA routes 200, security headers present.

**Merge with** the schemas PR, after infra#1878 is applied.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01Ma8eHhW59hLAJuLzBnLvUu
Reviewed-on: #391
2026-10-15 21:16:08 +00:00
renovate 9e9260021b chore(deps): update dependency typescript-eslint to v8.71.2 (#394)
schemas-app / build (push) Successful in 4m3s
schemas-app / deploy-prod (push) Failing after 8s
2026-10-15 18:18:16 +00:00
renovate 54f79ff5ff chore(deps): update dependency @graphql-codegen/typed-document-node to v7.2.0 (#393)
schemas-app / build (push) Successful in 3m50s
schemas-app / deploy-prod (push) Failing after 13s
2026-10-15 12:17:58 +00:00
renovate 0c1652d062 chore(deps): update vitest monorepo to v5.0.4 (#392)
schemas-app / build (push) Successful in 3m58s
schemas-app / deploy-prod (push) Failing after 9s
2026-10-15 11:16:51 +00:00
renovate acf6f8df62 chore(deps): update nginx docker tag to v1.31.7 (#390)
schemas-app / build (push) Successful in 22s
schemas-app / deploy-prod (push) Failing after 10s
2026-10-14 19:41:31 +00:00
renovate f85171ce54 chore(deps): update dependency @vitejs/plugin-vue to v6.0.10 (#389)
schemas-app / build (push) Failing after 4s
schemas-app / deploy-prod (push) Skipped
2026-10-13 09:32:11 +00:00
renovate f67e1bf784 fix(deps): update dependency nuxt to v4.6.1 (#388)
schemas-app / build (push) Successful in 7m39s
schemas-app / deploy-prod (push) Failing after 10s
2026-10-13 06:04:32 +00:00
renovate 06193f2d96 chore(deps): update graphqlcodegenerator monorepo (#387)
schemas-app / build (push) Successful in 24m21s
schemas-app / deploy-prod (push) Failing after 8s
2026-10-13 05:37:16 +00:00
10 changed files with 718 additions and 631 deletions

No files matched your search

+18 -4
View File
@@ -18,16 +18,30 @@ jobs:
- name: Build and push - name: Build and push
run: unset GITEA_TOKEN && build && push run: unset GITEA_TOKEN && build && push
deploy-prod: deploy-prod-frostmoln:
needs: build needs: build
if: gitea.ref == 'refs/heads/main' if: gitea.ref == 'refs/heads/main'
runs-on: ubuntu-latest runs-on: ubuntu-latest
env: env:
BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_CONTENT }} BUILDTOOLS_CONTENT: ${{ secrets.BUILDTOOLS_FROSTMOLN_PRODUCTION }}
GITEA_REPOSITORY: ${{ gitea.repository }} GITEA_REPOSITORY: ${{ gitea.repository }}
FM_TENANT: 9ae61342-0f76-476f-8176-e46f6b0b0c32
environment: prod environment: prod
steps: steps:
- uses: actions/checkout@v7 - uses: actions/checkout@v7
- uses: buildtool/setup-buildtools-action@v1 - uses: buildtool/setup-buildtools-action@v1
- name: Deploy to production - name: Install fm
run: deploy prod run: |
sudo install -d -m 0755 /etc/apt/keyrings
sudo curl -fsSL -o /etc/apt/keyrings/frostmoln.gpg https://get.frostmoln.cloud/deb/frostmoln.gpg
sudo curl -fsSL -o /etc/apt/sources.list.d/frostmoln.sources https://get.frostmoln.cloud/deb/frostmoln.sources
sudo apt-get update && sudo apt-get install -y fm
- name: Deploy to Frostmoln production
env:
FROSTMOLN_API_KEY: ${{ secrets.FROSTMOLN_PRODUCTION_DEPLOY_KEY }}
# The cluster API is private: the kubeconfig's exec plugin opens an fm
# tunnel on demand. fm reads the key from its config file, not the env.
run: |
fm auth api-key set "$FROSTMOLN_API_KEY" > /dev/null
fm kubernetes cluster kubeconfig ${{ vars.FROSTMOLN_PRODUCTION_CLUSTER_ID }} --exec --file "$RUNNER_TEMP/kubeconfig"
KUBECONFIG_CONTENT="$(cat "$RUNNER_TEMP/kubeconfig")" deploy prod-frostmoln -n schemas
+4 -3
View File
@@ -12,9 +12,10 @@ RUN npm run postinstall && npm run generate && npm run lint && npm run test:cove
FROM scratch as export FROM scratch as export
COPY --from=builder /build/coverage / COPY --from=builder /build/coverage /
FROM amd64/nginx:1.31.6@sha256:9a54e7e76ae7fb26e733c7d43ca1c8586f1894b876ec8b8ca0124daae38d509b # Unprivileged (uid 101, port 8080): Frostmoln enforces restricted Pod Security.
FROM nginxinc/nginx-unprivileged:1.31.7@sha256:94193d5c4c5df716f412bb08eb97956d98fe6b59886f0bc57d6d3a3402a88a02
MAINTAINER Joakim Olsson <joakim@unbound.se> MAINTAINER Joakim Olsson <joakim@unbound.se>
COPY ./nginx/nginx.conf /etc/nginx/nginx.conf COPY --chmod=644 ./nginx/nginx.conf /etc/nginx/nginx.conf
COPY ./nginx/security_headers.conf /etc/nginx/security_headers.conf COPY --chmod=644 ./nginx/security_headers.conf /etc/nginx/security_headers.conf
COPY --from=builder /build/.output/public/ /usr/share/nginx/html/ COPY --from=builder /build/.output/public/ /usr/share/nginx/html/
File renamed without changes.
+13 -5
View File
@@ -23,6 +23,11 @@ spec:
app.kubernetes.io/name: schemas-app app.kubernetes.io/name: schemas-app
app.kubernetes.io/instance: schemas app.kubernetes.io/instance: schemas
spec: spec:
securityContext:
runAsNonRoot: true
runAsUser: 101
seccompProfile:
type: RuntimeDefault
affinity: affinity:
podAntiAffinity: podAntiAffinity:
preferredDuringSchedulingIgnoredDuringExecution: preferredDuringSchedulingIgnoredDuringExecution:
@@ -39,19 +44,23 @@ spec:
- name: schemas-app - name: schemas-app
image: ${IMAGE} image: ${IMAGE}
imagePullPolicy: IfNotPresent imagePullPolicy: IfNotPresent
securityContext:
allowPrivilegeEscalation: false
capabilities:
drop: ["ALL"]
ports: ports:
- containerPort: 80 - containerPort: 8080
readinessProbe: readinessProbe:
httpGet: httpGet:
path: / path: /
port: 80 port: 8080
initialDelaySeconds: 5 initialDelaySeconds: 5
periodSeconds: 5 periodSeconds: 5
timeoutSeconds: 5 timeoutSeconds: 5
livenessProbe: livenessProbe:
httpGet: httpGet:
path: / path: /
port: 80 port: 8080
initialDelaySeconds: 10 initialDelaySeconds: 10
periodSeconds: 10 periodSeconds: 10
timeoutSeconds: 5 timeoutSeconds: 5
@@ -71,9 +80,8 @@ metadata:
labels: labels:
app.kubernetes.io/name: schemas-app app.kubernetes.io/name: schemas-app
spec: spec:
type: NodePort
selector: selector:
app.kubernetes.io/name: schemas-app app.kubernetes.io/name: schemas-app
ports: ports:
- port: 80 - port: 80
targetPort: 80 targetPort: 8080
+21
View File
@@ -0,0 +1,21 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: schemas-app
annotations:
traefik.ingress.kubernetes.io/router.entrypoints: websecure
traefik.ingress.kubernetes.io/router.tls.certresolver: letsencrypt
spec:
ingressClassName: traefik
rules:
- host: "schemas.unbound.se"
http:
paths:
# Everything but /query, which the schemas API's longer path takes.
- path: /
pathType: Prefix
backend:
service:
name: schemas-app
port:
number: 80
-25
View File
@@ -1,25 +0,0 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: schemas-app-ingress
annotations:
alb.ingress.kubernetes.io/group.name: "default"
alb.ingress.kubernetes.io/group.order: "15"
alb.ingress.kubernetes.io/scheme: internet-facing
alb.ingress.kubernetes.io/target-type: instance
alb.ingress.kubernetes.io/listen-ports: '[{"HTTP": 80},{"HTTPS": 443}]'
alb.ingress.kubernetes.io/ssl-redirect: "443"
alb.ingress.kubernetes.io/healthcheck-path: '/'
spec:
ingressClassName: "alb"
rules:
- host: "schemas.unbound.se"
http:
paths:
- path: /*
pathType: ImplementationSpecific
backend:
service:
name: schemas-app
port:
number: 80
File renamed without changes.
+9 -3
View File
@@ -1,14 +1,20 @@
user nginx;
worker_processes auto; worker_processes auto;
error_log /var/log/nginx/error.log notice; error_log /var/log/nginx/error.log notice;
pid /var/run/nginx.pid; pid /tmp/nginx.pid;
events { events {
worker_connections 1024; worker_connections 1024;
} }
http { http {
# Writable by the unprivileged (uid 101) worker.
client_body_temp_path /tmp/client_temp;
proxy_temp_path /tmp/proxy_temp_path;
fastcgi_temp_path /tmp/fastcgi_temp;
uwsgi_temp_path /tmp/uwsgi_temp;
scgi_temp_path /tmp/scgi_temp;
include /etc/nginx/mime.types; include /etc/nginx/mime.types;
default_type application/octet-stream; default_type application/octet-stream;
types { types {
@@ -22,7 +28,7 @@ http {
keepalive_timeout 65; keepalive_timeout 65;
server { server {
listen 80; listen 8080;
server_name localhost; server_name localhost;
root /usr/share/nginx/html; root /usr/share/nginx/html;
index index.html index.htm; index index.html index.htm;
+641 -579
View File
File diff suppressed because it is too large. Load diff
+12 -12
View File
@@ -18,13 +18,13 @@
"lintfix": "eslint --fix . && npm run lint:style --fix" "lintfix": "eslint --fix . && npm run lint:style --fix"
}, },
"dependencies": { "dependencies": {
"@apollo/client": "4.3.3", "@apollo/client": "3.14.1",
"@auth0/auth0-vue": "2.11.0", "@auth0/auth0-vue": "2.11.0",
"@vue/apollo-composable": "4.2.2", "@vue/apollo-composable": "4.2.2",
"graphql": "16.14.2", "graphql": "17.0.2",
"graphql-ws": "6.3.0", "graphql-ws": "6.4.0",
"nuxt": "4.6.0", "nuxt": "4.6.1",
"vue": "3.5.43", "vue": "3.5.44",
"vuetify-nuxt-module": "0.19.5" "vuetify-nuxt-module": "0.19.5"
}, },
"version": "1.0.0", "version": "1.0.0",
@@ -36,17 +36,17 @@
"devDependencies": { "devDependencies": {
"@commitlint/cli": "21.2.3", "@commitlint/cli": "21.2.3",
"@commitlint/config-conventional": "21.2.3", "@commitlint/config-conventional": "21.2.3",
"@graphql-codegen/cli": "7.4.5", "@graphql-codegen/cli": "7.4.6",
"@graphql-codegen/typed-document-node": "7.1.1", "@graphql-codegen/typed-document-node": "7.2.0",
"@graphql-codegen/typescript": "6.1.1", "@graphql-codegen/typescript": "6.1.2",
"@graphql-codegen/typescript-operations": "6.1.10", "@graphql-codegen/typescript-operations": "6.1.10",
"@graphql-codegen/typescript-vue-apollo": "5.0.1", "@graphql-codegen/typescript-vue-apollo": "5.0.1",
"@nuxt/devtools": "3.4.2", "@nuxt/devtools": "3.4.2",
"@nuxt/eslint": "1.17.0", "@nuxt/eslint": "1.17.0",
"@nuxtjs/stylelint-module": "5.2.1", "@nuxtjs/stylelint-module": "5.2.1",
"@stylistic/eslint-plugin": "5.10.0", "@stylistic/eslint-plugin": "5.10.0",
"@vitejs/plugin-vue": "6.0.9", "@vitejs/plugin-vue": "6.0.10",
"@vitest/coverage-v8": "5.0.3", "@vitest/coverage-v8": "5.0.4",
"@vue/test-utils": "2.5.1", "@vue/test-utils": "2.5.1",
"eslint": "10.12.0", "eslint": "10.12.0",
"eslint-plugin-simple-import-sort": "14.0.0", "eslint-plugin-simple-import-sort": "14.0.0",
@@ -57,8 +57,8 @@
"stylelint-config-recommended-vue": "2.0.0", "stylelint-config-recommended-vue": "2.0.0",
"stylelint-config-standard": "40.0.0", "stylelint-config-standard": "40.0.0",
"typescript": "6.0.3", "typescript": "6.0.3",
"typescript-eslint": "8.71.1", "typescript-eslint": "8.71.2",
"vitest": "5.0.3", "vitest": "5.0.4",
"vue-eslint-parser": "10.4.1" "vue-eslint-parser": "10.4.1"
}, },
"overrides": { "overrides": {