You've already forked reloading-manager
Squashed commit of the following:
commit 72c6bcce3795dc491c8299b68dded029db5e066e Author: Ron Rise <ron@siteworxpro.com> Date: Thu Apr 17 09:14:24 2025 -0400 My boss forced me to build this feature... Pure shit. commit 64c94d788f1f2b0926faf4326b7819e3dfa6ae85 Author: GitHub Action 🤖 <gitia@siteworxpro.com> Date: Thu Apr 17 12:34:35 2025 +0000 📝🔄 Update deployment manifest with new image tags commit 681f42f59afac7ad771dc7b6102eb1358b83443a Author: Ron Rise <ron@siteworxpro.com> Date: Thu Apr 17 08:19:16 2025 -0400 We're no strangers to love
This commit is contained in:
@@ -108,3 +108,33 @@ jobs:
|
|||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
tags: scr.siteworxpro.com/reloading-manager/backend:latest
|
tags: scr.siteworxpro.com/reloading-manager/backend:latest
|
||||||
push: true
|
push: true
|
||||||
|
|
||||||
|
Deploy:
|
||||||
|
name: 🚀✨ Deploy Application
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
needs: [BuildFrontend, BuildBackend]
|
||||||
|
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
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
fetch-depth: 1
|
||||||
|
|
||||||
|
- name: 📝🔧 Update Deployment Manifest
|
||||||
|
run: |
|
||||||
|
sed "s|__TAG__|${{ gitea.ref_name }}|g" argocd/template/deployment.yml > argocd/deployment/deployment.yml
|
||||||
|
|
||||||
|
- name: 💾✅ Commit Updated Manifest
|
||||||
|
uses: EndBug/add-and-commit@v9
|
||||||
|
with:
|
||||||
|
add: argocd/deployment/deployment.yml
|
||||||
|
author_name: "GitHub Action 🤖"
|
||||||
|
author_email: gitia@siteworxpro.com
|
||||||
|
message: "📝🔄 Update deployment manifest with new image tags"
|
||||||
|
|
||||||
|
|||||||
@@ -1,33 +0,0 @@
|
|||||||
on:
|
|
||||||
workflow_run:
|
|
||||||
workflows: ["build.yml"]
|
|
||||||
types:
|
|
||||||
- completed
|
|
||||||
jobs:
|
|
||||||
Deploy:
|
|
||||||
name: 🚀✨ Deploy Application
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
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
|
|
||||||
uses: actions/checkout@v2
|
|
||||||
with:
|
|
||||||
fetch-depth: 1
|
|
||||||
|
|
||||||
- name: 📝🔧 Update Deployment Manifest
|
|
||||||
run: |
|
|
||||||
sed "s|__TAG__|${{ gitea.ref_name }}|g" argocd/template/deployment.yml > argocd/deployment/deployment.yml
|
|
||||||
|
|
||||||
- name: 💾✅ Commit Updated Manifest
|
|
||||||
uses: EndBug/add-and-commit@v9
|
|
||||||
with:
|
|
||||||
add: argocd/deployment/deployment.yml
|
|
||||||
author_name: "GitHub Action 🤖"
|
|
||||||
author_email: gitia@siteworxpro.com
|
|
||||||
message: "📝🔄 Update deployment manifest with new image tags"
|
|
||||||
@@ -3,7 +3,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- "*"
|
- "*"
|
||||||
|
|
||||||
name: 🧪✨ Unit Tests
|
name: 🧪✨ Unit Tests Workflow
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-javascript:
|
build-javascript:
|
||||||
|
|||||||
@@ -15,10 +15,10 @@ spec:
|
|||||||
- siteworxpro
|
- siteworxpro
|
||||||
containers:
|
containers:
|
||||||
- name: frontend
|
- name: frontend
|
||||||
image: scr.siteworxpro.com/reloading-manager/frontend:test
|
image: scr.siteworxpro.com/reloading-manager/frontend:test-build
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 80
|
- containerPort: 80
|
||||||
- name: backend
|
- name: backend
|
||||||
image: scr.siteworxpro.com/reloading-manager/backend:test
|
image: scr.siteworxpro.com/reloading-manager/backend:test-build
|
||||||
ports:
|
ports:
|
||||||
- containerPort: 8080
|
- containerPort: 8080
|
||||||
|
|||||||
Reference in New Issue
Block a user