Files
harmony/.gitea/workflows/check.yml
Reda Tarzalt caf8882964
Some checks failed
Run Check Script / check (pull_request) Failing after 1m59s
make container share host network
2026-05-20 10:19:44 -04:00

40 lines
953 B
YAML

name: Run Check Script
on:
push:
branches:
- master
pull_request:
jobs:
check:
runs-on: docker
container:
image: hub.nationtech.io/harmony/harmony_composer:latest
options: --network host
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install kubectl
run: |
KUBECTL_VERSION=v1.31.5
curl -LO "https://dl.k8s.io/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl"
chmod +x kubectl
mv kubectl /usr/local/bin/kubectl
kubectl version --client
- name: Run check script
run: bash build/check.sh
- name: Debug kube connectivity
if: always()
run: |
echo "PATH=$PATH"
kubectl config current-context || true
kubectl config view --minify --raw || true
kubectl cluster-info || true
kubectl get nodes -v=8 || true
docker ps || true