fix/cicd #3

Merged
marcio.fernandes merged 62 commits from fix/cicd into master 2025-11-22 17:43:58 +00:00
Showing only changes of commit cf650391c4 - Show all commits

View File

@@ -18,20 +18,17 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
- name: setup actions from
- name: fetch limbo public actions
run: |
ls -lah ${{ runner.temp }}
ls -lah ${{ gitea.workspace }}
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
ln -s ${{ runner.temp }}/gitea_src/.gitea/actions/kubectl-setup ${{ gitea.workspace }}/.gitea/actions/kubectl-setup
ls -lah ${{ gitea.workspace }}/.gitea/actions/kubectl-setup
ls -lah ${{ gitea.workspace }}/.gitea/actions/kubectl-setup/*
for dir in ${{ runner.temp }}/gitea_src/.gitea/actions/*; do
ln -s "$dir" "${{ gitea.workspace }}/.gitea/limbo_actions/$(basename "$dir")"
done
- name: Setup kubectl
uses: ./.gitea/actions/kubectl-setup
uses: ./.gitea/limbo_actions/kubectl-setup
with:
kube_server: ${{ secrets.CASA_VLAN_KUBE_SERVER }}
kube_ca_base64: ${{ secrets.CASA_VLAN_KUBE_CA_BASE64 }}