Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
198b6c4295 |
@@ -17,25 +17,22 @@ jobs:
|
|||||||
name: CI
|
name: CI
|
||||||
runs-on: node
|
runs-on: node
|
||||||
steps:
|
steps:
|
||||||
- name: Install Docker and corepack
|
- name: Install Node.js and Docker
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y docker.io
|
apt-get install -y nodejs npm docker.io
|
||||||
corepack enable
|
npm install -g pnpm
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Install pnpm via corepack
|
|
||||||
run: corepack install
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install --ignore-scripts
|
run: pnpm install --frozen-lockfile
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run linter
|
||||||
run: pnpm test -- --run 2>&1 || echo "Tests completed"
|
run: pnpm run lint 2>&1 || echo "Lint completed"
|
||||||
|
|
||||||
- name: Build
|
- name: Build Next.js app
|
||||||
run: pnpm run build
|
run: pnpm run build
|
||||||
|
|
||||||
- name: Get short SHA
|
- name: Get short SHA
|
||||||
|
|||||||
@@ -1,3 +1,2 @@
|
|||||||
ignore-scripts=false
|
ignore-scripts=false
|
||||||
enable-pre-post-scripts=true
|
enable-pre-post-scripts=true
|
||||||
minimum-release-age=0
|
|
||||||
|
|||||||
@@ -6,9 +6,6 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
app.kubernetes.io/name: portfolio
|
app.kubernetes.io/name: portfolio
|
||||||
app.kubernetes.io/component: web
|
app.kubernetes.io/component: web
|
||||||
annotations:
|
|
||||||
argocd-image-updater.argoproj.io/image-list: portfolio=forgejo.riotpiao.com/rock/portfolio
|
|
||||||
argocd-image-updater.argoproj.io/portfolio.update-strategy: latest
|
|
||||||
spec:
|
spec:
|
||||||
replicas: 2
|
replicas: 2
|
||||||
selector:
|
selector:
|
||||||
|
|||||||
@@ -8,10 +8,6 @@ resources:
|
|||||||
- service.yaml
|
- service.yaml
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
|
|
||||||
# ArgoCD Image Updater configuration - for tag updates
|
# Decrypt secrets via SOPS before applying
|
||||||
images:
|
sops:
|
||||||
- name: forgejo.riotpiao.com/rock/portfolio
|
version: 3
|
||||||
newTag: latest
|
|
||||||
|
|
||||||
# Note: SOPS decryption is handled by ArgoCD repo-server plugin,
|
|
||||||
# not via kustomization.yaml, to allow Image Updater to parse this file
|
|
||||||
|
|||||||
@@ -12,7 +12,6 @@
|
|||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"packageManager": "[email protected]",
|
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"framer-motion": "^11.0.0",
|
"framer-motion": "^11.0.0",
|
||||||
"lucide-react": "^1.41.0",
|
"lucide-react": "^1.41.0",
|
||||||
|
|||||||
Generated
+573
-713
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user