add .github/workflows/app-pipeline-harbor.yml
This commit is contained in:
parent
63c5f0426a
commit
5b5e156df7
45
.github/workflows/app-pipeline-harbor.yml
vendored
Normal file
45
.github/workflows/app-pipeline-harbor.yml
vendored
Normal file
@ -0,0 +1,45 @@
|
||||
name: Setup Vault Server
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
paths:
|
||||
- '.github/workflows/app-pipeline-harbor.yml'
|
||||
workflow_dispatch:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
etup-k3s-cluster:
|
||||
uses: svc-design/actions/.github/workflows/setup-k3s-cluster.yml@main
|
||||
with:
|
||||
domain: 'onwalk.net'
|
||||
cluster_name: 'harbor'
|
||||
ssh_host_ip: '18.162.156.135'
|
||||
ssh_host_name: 'harbor'
|
||||
secrets:
|
||||
GCP_CREDENTIALS_JSON: ${{ secrets.GCP_CREDENTIALS_JSON }}
|
||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
DNS_AK: ${{ secrets.DNS_AK }}
|
||||
DNS_SK: ${{ secrets.DNS_SK }}
|
||||
VAULT_URL: ${{ secrets.VAULT_URL }}
|
||||
VAULT_TOKEN: ${{ secrets.VAULT_TOKEN }}
|
||||
SSH_USER: ${{ secrets.HOST_USER }}
|
||||
needs:
|
||||
- apply-cluster-resources
|
||||
|
||||
setup-harbor-server:
|
||||
uses: svc-design/actions/.github/workflows/setup-observability-server.yml@main
|
||||
with:
|
||||
domain: 'onwalk.net'
|
||||
cluster_name: 'harbor'
|
||||
ssh_host_ip: '18.162.156.135'
|
||||
ssh_host_name: 'harbor'
|
||||
secrets:
|
||||
GCP_CREDENTIALS_JSON: ${{ secrets.GCP_CREDENTIALS_JSON }}
|
||||
SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
|
||||
DNS_AK: ${{ secrets.DNS_AK }}
|
||||
DNS_SK: ${{ secrets.DNS_SK }}
|
||||
SSH_USER: ${{ secrets.HOST_USER }}
|
||||
needs:
|
||||
- setup-k3s-cluster
|
||||
Loading…
Reference in New Issue
Block a user