You've already forked reloading-manager
Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
8ddac9a56d
|
|||
|
d1d6d24dbb
|
|||
|
6e908bad17
|
|||
|
f6ed88fd78
|
|||
|
b122fca494
|
@@ -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 }}"
|
||||||
@@ -6,6 +6,8 @@ on:
|
|||||||
required: true
|
required: true
|
||||||
default: 'true'
|
default: 'true'
|
||||||
push:
|
push:
|
||||||
|
paths-ignore:
|
||||||
|
- argocd/**/*
|
||||||
branches:
|
branches:
|
||||||
- "*"
|
- "*"
|
||||||
|
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user