Compare commits
8
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
303da88239 | ||
|
|
9f3db93f93 | ||
|
|
436cbfb2c6 | ||
|
|
cff8ba4b85 | ||
|
|
e7dfef2ebc | ||
|
|
d0cb810bbe | ||
|
|
ffb31e7f33 | ||
|
|
6cc48b6fa5 |
@@ -17,19 +17,26 @@ jobs:
|
|||||||
name: CI
|
name: CI
|
||||||
runs-on: node
|
runs-on: node
|
||||||
steps:
|
steps:
|
||||||
- name: Install Node.js and Docker
|
- name: Install Docker and corepack
|
||||||
run: |
|
run: |
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y nodejs docker.io
|
apt-get install -y docker.io
|
||||||
|
corepack enable
|
||||||
|
|
||||||
- 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: npm install
|
run: pnpm install --ignore-scripts
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: npm test -- --run 2>&1 || echo "Tests completed"
|
run: pnpm test -- --run 2>&1 || echo "Tests completed"
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: pnpm run build
|
||||||
|
|
||||||
- name: Get short SHA
|
- name: Get short SHA
|
||||||
id: sha
|
id: sha
|
||||||
|
|||||||
@@ -1,2 +1,3 @@
|
|||||||
ignore-scripts=false
|
ignore-scripts=false
|
||||||
enable-pre-post-scripts=true
|
enable-pre-post-scripts=true
|
||||||
|
minimum-release-age=0
|
||||||
|
|||||||
@@ -6,6 +6,9 @@ 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,6 +8,10 @@ resources:
|
|||||||
- service.yaml
|
- service.yaml
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
|
|
||||||
# Decrypt secrets via SOPS before applying
|
# ArgoCD Image Updater configuration - for tag updates
|
||||||
sops:
|
images:
|
||||||
version: 3
|
- name: forgejo.riotpiao.com/rock/portfolio
|
||||||
|
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,6 +12,7 @@
|
|||||||
"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
+849
-747
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user