fix/cicd #3
@@ -18,20 +18,17 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: setup actions from
|
- name: fetch limbo public actions
|
||||||
run: |
|
run: |
|
||||||
ls -lah ${{ runner.temp }}
|
|
||||||
ls -lah ${{ gitea.workspace }}
|
|
||||||
|
|
||||||
mkdir -p ${{ runner.temp }}/gitea_src
|
mkdir -p ${{ runner.temp }}/gitea_src
|
||||||
mkdir -p ${{ gitea.workspace }}/.gitea/actions
|
mkdir -p ${{ gitea.workspace }}/.gitea/limbo_actions
|
||||||
git clone -b main --depth=1 https://git.limbosolutions.com/kb/gitea ${{ runner.temp }}/gitea_src
|
git clone -b main --depth=1 https://git.limbosolutions.com/kb/gitea ${{ runner.temp }}/gitea_src
|
||||||
ln -s ${{ runner.temp }}/gitea_src/.gitea/actions/kubectl-setup ${{ gitea.workspace }}/.gitea/actions/kubectl-setup
|
for dir in ${{ runner.temp }}/gitea_src/.gitea/actions/*; do
|
||||||
ls -lah ${{ gitea.workspace }}/.gitea/actions/kubectl-setup
|
ln -s "$dir" "${{ gitea.workspace }}/.gitea/limbo_actions/$(basename "$dir")"
|
||||||
ls -lah ${{ gitea.workspace }}/.gitea/actions/kubectl-setup/*
|
done
|
||||||
|
|
||||||
- name: Setup kubectl
|
- name: Setup kubectl
|
||||||
uses: ./.gitea/actions/kubectl-setup
|
uses: ./.gitea/limbo_actions/kubectl-setup
|
||||||
with:
|
with:
|
||||||
kube_server: ${{ secrets.CASA_VLAN_KUBE_SERVER }}
|
kube_server: ${{ secrets.CASA_VLAN_KUBE_SERVER }}
|
||||||
kube_ca_base64: ${{ secrets.CASA_VLAN_KUBE_CA_BASE64 }}
|
kube_ca_base64: ${{ secrets.CASA_VLAN_KUBE_CA_BASE64 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user