perf(jenkins): disable astro telemetry and add pnpm cache

This commit is contained in:
2026-01-07 16:56:44 +01:00
parent 24651d3d1d
commit 25b5a43074
3 changed files with 5 additions and 1 deletions

View File

@@ -2,6 +2,8 @@
FROM node:24-alpine AS build FROM node:24-alpine AS build
RUN corepack enable && corepack prepare pnpm@latest --activate RUN corepack enable && corepack prepare pnpm@latest --activate
ENV ASTRO_TELEMETRY_DISABLED=1
WORKDIR /app WORKDIR /app
# Copy depedencies # Copy depedencies

2
Jenkinsfile vendored
View File

@@ -5,6 +5,8 @@ pipeline {
CONTAINER_NAME = "portfolio" CONTAINER_NAME = "portfolio"
DOCKER_NETWORK = "reverse-proxy" DOCKER_NETWORK = "reverse-proxy"
DOCKER_HOST = "unix:///var/run/docker.sock" DOCKER_HOST = "unix:///var/run/docker.sock"
// Optimization
PNPM_CACHE = "/var/jenkins_home/pnpm-cache"
} }
stages { stages {
stage('Checkout') { stage('Checkout') {

View File

@@ -3,7 +3,7 @@ const today = new Date();
--- ---
<footer> <footer>
&copy; {today.getFullYear()} Your name here. All rights reserved. &copy; {today.getFullYear()} Lucas Royer. All rights reserved.
<div class="social-links"> <div class="social-links">
<a href="https://m.webtoo.ls/@astro" target="_blank"> <a href="https://m.webtoo.ls/@astro" target="_blank">
<span class="sr-only">Follow Astro on Mastodon</span> <span class="sr-only">Follow Astro on Mastodon</span>