From 00de12a59915cde0bcae5bc85d2a648e5f6496fe Mon Sep 17 00:00:00 2001 From: Haitao Pan Date: Mon, 11 Nov 2024 12:40:58 +0800 Subject: [PATCH] workflows: add app-pipeline-keycloak-server.yml --- .../app-pipeline-keycloak-server.yml | 23 +++++++++++++++++++ .gitmodules | 2 +- README.md | 15 ++++++------ ansible | 2 +- 4 files changed, 33 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/app-pipeline-keycloak-server.yml diff --git a/.github/workflows/app-pipeline-keycloak-server.yml b/.github/workflows/app-pipeline-keycloak-server.yml new file mode 100644 index 00000000..5ad7bde6 --- /dev/null +++ b/.github/workflows/app-pipeline-keycloak-server.yml @@ -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 }} diff --git a/.gitmodules b/.gitmodules index fa00b366..2c1daadf 100644 --- a/.gitmodules +++ b/.gitmodules @@ -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 diff --git a/README.md b/README.md index f9281008..f4740988 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/ansible b/ansible index 6893a036..f4017b40 160000 --- a/ansible +++ b/ansible @@ -1 +1 @@ -Subproject commit 6893a036943c1c0c0f1729771ee713eaa4dda282 +Subproject commit f4017b40ed8ae0cdce1e8ef4649b1936e7151559