5 Commits

Author SHA1 Message Date
8ddac9a56d 🚀 Update push command in CI workflow for release branch
All checks were successful
🧪 ✨ Unit Tests Workflow / 🧪 📜 JavaScript Tests (push) Successful in 1m40s
🧪 ✨ Unit Tests Workflow / 🧪 🐹 GolangCI-Lint (push) Successful in 1m43s
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Successful in 3m30s
Modified the push command in the CI workflow to correctly target the release branch for deployment. This ensures that changes are pushed to the appropriate branch, enhancing the deployment process.
2026-02-06 20:42:46 -05:00
d1d6d24dbb remove redundant Siteworx CA certificates installation steps from CI workflow
Some checks failed
🧪 ✨ Unit Tests Workflow / 🧪 📜 JavaScript Tests (push) Successful in 1m29s
🧪 ✨ Unit Tests Workflow / 🧪 🐹 GolangCI-Lint (push) Successful in 1m44s
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Successful in 3m23s
🏗️ ✨ Build Workflow / 🖼️ 🔨 Build Frontend (push) Successful in 4m51s
🏗️ ✨ Build Workflow / 🖥️ 🔨 Build Backend (push) Successful in 6m4s
🏗️ ✨ Build Workflow / 🚀 ✨ Deploy Application (push) Failing after 35s
2026-02-06 20:20:25 -05:00
6e908bad17 bump frontend and backend image versions to v0.0.37 2026-02-06 20:10:21 -05:00
f6ed88fd78 ignore ArgoCD paths in push trigger for CI workflow
All checks were successful
🧪 ✨ Unit Tests Workflow / 🧪 📜 JavaScript Tests (push) Successful in 1m45s
🧪 ✨ Unit Tests Workflow / 🧪 🐹 GolangCI-Lint (push) Successful in 1m47s
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Successful in 3m22s
2026-02-06 20:09:48 -05:00
b122fca494 add checkout step for release branch in CI build process
Some checks failed
🧪 ✨ Unit Tests Workflow / 🧪 📜 JavaScript Tests (push) Has been cancelled
🧪 ✨ Unit Tests Workflow / 🧪 🐹 GolangCI-Lint (push) Has been cancelled
🧪 ✨ Unit Tests Workflow / 🔍 🐹 Go Tests (push) Has been cancelled
2026-02-06 20:09:15 -05:00
3 changed files with 7 additions and 25 deletions

View File

@@ -10,13 +10,6 @@ jobs:
name: 🖼️ 🔨 Build Frontend name: 🖼️ 🔨 Build Frontend
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 🛡️ 🔒 Add Siteworx CA Certificates
run: |
apt update && apt install -yq ca-certificates curl
curl -Ls https://siteworxpro.com/hosted/Siteworx+Root+CA.pem -o /usr/local/share/ca-certificates/sw.crt
update-ca-certificates
- name: 📖 🔍 Checkout Repository Code - name: 📖 🔍 Checkout Repository Code
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
@@ -62,13 +55,6 @@ jobs:
name: 🖥️ 🔨 Build Backend name: 🖥️ 🔨 Build Backend
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 🛡️🔒 Add Siteworx CA Certificates
run: |
apt update && apt install -yq ca-certificates curl
curl -Ls https://siteworxpro.com/hosted/Siteworx+Root+CA.pem -o /usr/local/share/ca-certificates/sw.crt
update-ca-certificates
- name: 📖🔍 Checkout Repository Code - name: 📖🔍 Checkout Repository Code
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
@@ -111,13 +97,6 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [BuildFrontend, BuildBackend] needs: [BuildFrontend, BuildBackend]
steps: steps:
- name: 🛡️🔒 Add Siteworx CA Certificates
run: |
apt update && apt install -yq ca-certificates curl
curl -Ls https://siteworxpro.com/hosted/Siteworx+Root+CA.pem -o /usr/local/share/ca-certificates/sw.crt
update-ca-certificates
- name: 📖 🔍 Checkout Repository Code - name: 📖 🔍 Checkout Repository Code
uses: actions/checkout@v2 uses: actions/checkout@v2
with: with:
@@ -146,8 +125,9 @@ jobs:
git config --global push.autoSetupRemote true git config --global push.autoSetupRemote true
git remote rm origin && git remote add origin "git@gitea.siteworxpro.com:siteworxpro/reloading-manager.git" git remote rm origin && git remote add origin "git@gitea.siteworxpro.com:siteworxpro/reloading-manager.git"
git add -f "argocd/deployment/*" || true git add -f "argocd/deployment/*" || true
git checkout -b release/${{ gitea.ref_name }}-deploy || git checkout release/${{ gitea.ref_name }}-deploy
git commit -m "Build Auto Commit" || echo "No changes to commit" git commit -m "Build Auto Commit" || echo "No changes to commit"
git push origin HEAD:${{ gitea.ref_name }} -o ci.skip || echo "No changes to push" git push origin release/${{ gitea.ref_name }} -o ci.skip || echo "No changes to push"
- name: 🚀 ✨ Create Pull Request - name: 🚀 ✨ Create Pull Request
uses: peter-evans/create-pull-request@v7 uses: peter-evans/create-pull-request@v7
@@ -159,4 +139,4 @@ jobs:
title: "🚀 ✨ Release ${GITHUB_REF_NAME} - Deploy" title: "🚀 ✨ Release ${GITHUB_REF_NAME} - Deploy"
branch: release/${{ gitea.ref_name }}-deploy branch: release/${{ gitea.ref_name }}-deploy
committer: "Gitea Action 🤖 <gitia@siteworxpro.com>" committer: "Gitea Action 🤖 <gitia@siteworxpro.com>"
body: "📝 🔄 Update deployment manifest with new image tags for release ${GITHUB_REF_NAME}" body: "📝 🔄 Update deployment manifest with new image tags for release ${{ gitea.ref_name }}"

View File

@@ -6,6 +6,8 @@ on:
required: true required: true
default: 'true' default: 'true'
push: push:
paths-ignore:
- argocd/**/*
branches: branches:
- "*" - "*"

View File

@@ -19,11 +19,11 @@ spec:
- name: siteworxpro - name: siteworxpro
containers: containers:
- name: frontend - name: frontend
image: scr.siteworxpro.com/reloading-manager/frontend:v0.0.36 image: scr.siteworxpro.com/reloading-manager/frontend:v0.0.37
ports: ports:
- containerPort: 80 - containerPort: 80
- name: backend - name: backend
image: scr.siteworxpro.com/reloading-manager/backend:v0.0.36 image: scr.siteworxpro.com/reloading-manager/backend:v0.0.37
ports: ports:
- containerPort: 8080 - containerPort: 8080
envFrom: envFrom: