workflows: add app-pipeline-keycloak-server.yml

This commit is contained in:
Haitao Pan 2024-11-11 12:40:58 +08:00
parent 998707c4ca
commit 00de12a599
4 changed files with 33 additions and 9 deletions

View File

@ -0,0 +1,23 @@
name: Setup Keycloak Server
on:
pull_request:
paths:
- '.github/workflows/app-pipeline-keycloak-server.yml'
workflow_dispatch:
branches:
- main
jobs:
setup-keycloak-server:
uses: svc-design/actions/.github/workflows/deploy-docker-keycloak-server.yml@main
with:
domain: 'onwalk.net'
ssh_host_ip: '110.42.238.110'
ssh_host_name: 'cn-gateway'
ssh_host_domain: 'cn-gateway.svc.plus'
secrets:
SSH_USER: ${{ secrets.SSH_USER }}
SUDO_PASSWORD: ${{ secrets.SUDO_PASSWORD }}
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
ANSIBLE_VAULT_PASSWORD: ${{ secrets.ANSIBLE_VAULT_PASSWORD }}

2
.gitmodules vendored
View File

@ -1,6 +1,6 @@
[submodule "ansible"]
path = ansible
url = https://github.com/svc-design/playbook.git
url = https://github.com/svc-design/ansible.git
[submodule "iac_modules"]
path = iac_modules
url = https://github.com/svc-design/iac_modules.git

View File

@ -27,13 +27,13 @@ In this first phase, we focus on implementing OpenID Connect (OIDC) login functi
| **5. CI/CD (Continuous Integration/Delivery)**| Automated build, test, and deployment pipelines. | GitHub Actions |
## key Components Service
| **Name** | **Domain** | **Version** | **Deploy** | **Docker Compose** | **Chart** | **CI/CD** |
|-------------------|--------------------------------|-------------|-----------------------|---------------------|------------------------|-----------------------|
| **1. Keycloak** | keycloak.onwalk.net | 26.0 | Docker | Yes | Yes | GitHub Actions |
| **2. Harbor** | images.onwalk.net | 2.12 | Docker | Yes | Yes | GitHub Actions |
| **3. ChartMuseum** | charts.onwalk.net | 0.14.0 | Docker | Yes | Yes | GitHub Actions |
| **4. Vault** | vault.onwalk.net | 1.15 | Docker | Yes | Yes | GitHub Actions |
| **5. Nginx/OSS** | mirrors.onwalk.net | 1.21 | Kubernetes | Yes | Yes | GitHub Actions |
| **Name** | **Domain** | **Version** | **Deploy** | **Docker Compose** | **Chart** | **CI/CD** |
|-------------------|------------------------|-------------|-----------------------|---------------------|------------------------|-----------------------|
| **1. Keycloak** | keycloak.onwalk.net | 26.0 | Docker | Yes | Yes | GitHub Actions |
| **2. Harbor** | images.onwalk.net | 2.12 | Docker | Yes | Yes | GitHub Actions |
| **3. ChartMuseum** | charts.onwalk.net | 0.14.0 | Docker | Yes | Yes | GitHub Actions |
| **4. Vault** | vault.onwalk.net | 1.15 | Docker | Yes | Yes | GitHub Actions |
| **5. Nginx/OSS** | mirrors.onwalk.net | 1.21 | Kubernetes | Yes | Yes | GitHub Actions |
| **Name** | **Domain** | **Version | Deploy | Docker Compose** | **Chart** | **CI/CD** |
|-------------------|--------------------------------|-------------|---------------------------|---------------------|------------------------|-----------------------|
@ -108,6 +108,7 @@ For more detailed information, please refer to the documentation available in tw
## Getting Started
git submodule add --force https://github.com/svc-design/ansible.git
git submodule add --force https://github.com/svc-design/iac_modules.git
git submodule init
git submodule update

@ -1 +1 @@
Subproject commit 6893a036943c1c0c0f1729771ee713eaa4dda282
Subproject commit f4017b40ed8ae0cdce1e8ef4649b1936e7151559