chore: fix workflow
This commit is contained in:
parent
73ff1c977e
commit
09a8a5622a
@ -15,29 +15,34 @@ jobs:
|
|||||||
KUBECONFIG: "/tmp/.kubeconfig"
|
KUBECONFIG: "/tmp/.kubeconfig"
|
||||||
RUSTUP_HOME: "/toolcache/rust/.rustup"
|
RUSTUP_HOME: "/toolcache/rust/.rustup"
|
||||||
CARGO_HOME: "/toolcache/rust/.cargo"
|
CARGO_HOME: "/toolcache/rust/.cargo"
|
||||||
KYD: ${{ secrets.KYD}}
|
#KYD: ${{ secrets.KYD}}
|
||||||
steps:
|
steps:
|
||||||
- name: Init job triggered by event
|
- name: Init job triggered by event
|
||||||
run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event "
|
run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event "
|
||||||
- name: Workspace
|
- name: Workspace
|
||||||
run: |
|
run: |
|
||||||
echo "🔎 Branch name ${{ gitea.ref }} from repository ${{ gitea.repository }}."
|
echo "🔎 Branch name ${{ gitea.ref }} from repository ${{ gitea.repository }}."
|
||||||
KYD=$(echo "${{ secrets.KYD }}" | base64 -d)
|
mkdir -p "$HOME/.ssh"
|
||||||
echo "$KYD"
|
echo "${{ secrets.KYD }}" | base64 -d > "$HOME/.ssh/id_clrepo"
|
||||||
|
echo "${{ vars.K8_JOB }}" > $HOME/.ssh/config
|
||||||
|
#KYD=$(echo "${{ secrets.KYD }}" | base64 -d)
|
||||||
# ls ${{ gitea.workspace }}
|
# ls ${{ gitea.workspace }}
|
||||||
- name: Check out repository code
|
# - name: Check out repository code
|
||||||
uses: actions/checkout@v3
|
# uses: actions/checkout@v3
|
||||||
with:
|
# with:
|
||||||
ssh-key: "$KYD"
|
# ssh-key: "$KYD"
|
||||||
persist-credentials: true
|
# persist-credentials: true
|
||||||
#submodules: 'recursive'
|
# github-server-url: git@clrepo.tls13.io:9623
|
||||||
# Defs in https://github.com/actions/checkout
|
# #submodules: 'recursive'
|
||||||
#run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
# # Defs https://gitea.com/actions/checkout
|
||||||
|
# #run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||||
- name: Submodules update
|
- name: Submodules update
|
||||||
run: |
|
run: |
|
||||||
|
git clone --recurse-submodules ssh://git@clrepo.tls13.io:9623/${{ gitea.repository }}.git ${{ gitea.workspace }}
|
||||||
cd ${{ gitea.workspace }}
|
cd ${{ gitea.workspace }}
|
||||||
while true; do sleep 50 ; done
|
while true; do sleep 20; done
|
||||||
#git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
# echo ${{ gitea.ssh_url }}
|
||||||
- name: Install Rust
|
- name: Install Rust
|
||||||
run: |
|
run: |
|
||||||
printf "\n\t🐋 Installing dependencies 🐋\t\n"
|
printf "\n\t🐋 Installing dependencies 🐋\t\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user