ci: nginx needs dummy TLS certs, frontend major deps now visible
CI / Env docs check (push) Successful in 51s
CI / Docker compose check (push) Successful in 51s
CI / Frontend deps check (push) Failing after 52s
CI / Frontend major deps (push) Failing after 53s
CI / Go build (push) Successful in 53s
CI / Knip (push) Has been skipped
CI / Frontend a11y check (push) Has been skipped
CI / Secrets scan (push) Successful in 54s
CI / Frontend build (push) Successful in 56s
CI / Svelte strict check (push) Has been skipped
CI / Frontend QC (audit) (push) Has been skipped
CI / Frontend QC (typecheck) (push) Has been skipped
CI / Frontend QC (lint) (push) Has been skipped
CI / Nginx config check (push) Failing after 1m0s
CI / go mod tidy (push) Successful in 40s
CI / Go vet (dev) (push) Successful in 2m4s
CI / Go vet (prod) (push) Successful in 2m19s
CI / Go vulnerabilities (push) Successful in 1m35s
CI / Staticcheck (prod) (push) Failing after 3m16s
CI / Staticcheck (dev) (push) Failing after 3m17s
CI / golangci-lint (push) Successful in 4m34s
CI / Security scan (prod) (push) Failing after 4m39s
CI / Security scan (dev) (push) Failing after 4m39s
CI / Tests (prod) (push) Has been skipped
CI / Tests (dev) (push) Has been skipped
CI / Race (prod) (push) Has been skipped
CI / Race (dev) (push) Has been skipped
CI / Env docs check (push) Successful in 51s
CI / Docker compose check (push) Successful in 51s
CI / Frontend deps check (push) Failing after 52s
CI / Frontend major deps (push) Failing after 53s
CI / Go build (push) Successful in 53s
CI / Knip (push) Has been skipped
CI / Frontend a11y check (push) Has been skipped
CI / Secrets scan (push) Successful in 54s
CI / Frontend build (push) Successful in 56s
CI / Svelte strict check (push) Has been skipped
CI / Frontend QC (audit) (push) Has been skipped
CI / Frontend QC (typecheck) (push) Has been skipped
CI / Frontend QC (lint) (push) Has been skipped
CI / Nginx config check (push) Failing after 1m0s
CI / go mod tidy (push) Successful in 40s
CI / Go vet (dev) (push) Successful in 2m4s
CI / Go vet (prod) (push) Successful in 2m19s
CI / Go vulnerabilities (push) Successful in 1m35s
CI / Staticcheck (prod) (push) Failing after 3m16s
CI / Staticcheck (dev) (push) Failing after 3m17s
CI / golangci-lint (push) Successful in 4m34s
CI / Security scan (prod) (push) Failing after 4m39s
CI / Security scan (dev) (push) Failing after 4m39s
CI / Tests (prod) (push) Has been skipped
CI / Tests (dev) (push) Has been skipped
CI / Race (prod) (push) Has been skipped
CI / Race (dev) (push) Has been skipped
- nginx-check: generate self-signed certs so nginx -t can resolve ssl_certificate paths without failing - frontend-deps-major: exit(1) when major updates found + continue- on-error: true so it shows as red/visible but doesn't block pipeline
This commit is contained in:
@@ -667,6 +667,7 @@ jobs:
|
||||
|
||||
frontend-deps-major:
|
||||
name: Frontend major deps
|
||||
continue-on-error: true
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
@@ -705,10 +706,11 @@ jobs:
|
||||
if (major.length) {
|
||||
console.log('Major (out-of-range) updates available — review carefully:');
|
||||
major.forEach(([k, v]) => console.log(' ' + k + ': ' + v.current + ' (wanted: ' + v.wanted + ') -> latest: ' + v.latest));
|
||||
process.exit(1);
|
||||
} else {
|
||||
console.log('All dependencies within semver range, no major updates');
|
||||
process.exit(0);
|
||||
}
|
||||
process.exit(0);
|
||||
});
|
||||
"
|
||||
|
||||
@@ -910,8 +912,10 @@ jobs:
|
||||
|
||||
- name: Validate nginx config
|
||||
run: |
|
||||
mkdir -p /etc/nginx/http.d
|
||||
mkdir -p /etc/nginx/http.d /etc/nginx/certs
|
||||
cp $(pwd)/nginx/conf.d/default.conf /etc/nginx/http.d/default.conf
|
||||
# Create dummy TLS certs so nginx -t can resolve ssl_certificate paths
|
||||
openssl req -x509 -nodes -days 1 -newkey rsa:2048 -keyout /etc/nginx/certs/privkey.pem -out /etc/nginx/certs/fullchain.pem -subj "/CN=localhost" 2>/dev/null
|
||||
# Add compose service names so nginx -t can resolve upstreams
|
||||
echo "127.0.0.1 backend sabredav" >> /etc/hosts
|
||||
nginx -t
|
||||
|
||||
Reference in New Issue
Block a user