Skip to content

Commit

Permalink
refactor without makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
usrbinkat committed Feb 1, 2024
1 parent b108c7d commit 65895de
Showing 1 changed file with 13 additions and 17 deletions.
30 changes: 13 additions & 17 deletions .github/workflows/kind.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,25 +32,26 @@ jobs:
ci-kargo-kind:
runs-on: ubuntu-latest

container:
image: ghcr.io/containercraft/konductor:latest
options: --user root --privileged --security-opt seccomp=unconfined --network host

steps:
- name: Set Workspace Permissions
id: chown-workspaces
- name: Kubernetes KinD Cluster
uses: helm/[email protected]
with:
wait: 2m
cluster_name: cilium
config: hack/kind.yaml
ignore_failed_clean: true

- name: Kubectl Get Pods
id: kubectl-get-pods
env:
ACTIONS_STEP_DEBUG: true
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
KUBEDIR: .kube
KUBECONFIG: .kube/config
KUBEDIR: .kube
run: |
set -x
#chown -R $(whoami):$(whoami) /__w $HOME
ip a
docker ps --all
ip a
kubectl get po --all-namespaces
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -64,13 +65,10 @@ jobs:
ACTIONS_STEP_DEBUG: true
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
KUBEDIR: .kube
KUBECONFIG: .kube/config
KUBEDIR: .kube
run: |
set -x
direnv allow
mkdir -p ${KUBEDIR} && touch ${KUBECONFIG} && sudo chmod 600 ${KUBECONFIG}
sudo kind create cluster --retain --config=hack/kind.yaml --kubeconfig $KUBECONFIG
docker ps --all
echo "KUBECONFIG: $KUBECONFIG"
kubectl config get-contexts --kubeconfig $KUBECONFIG
Expand All @@ -85,7 +83,6 @@ jobs:
KUBECONFIG: .kube/config
run: |
set -x
direnv allow
pulumi login
pulumi install
pulumi stack select --create dev
Expand All @@ -107,7 +104,6 @@ jobs:
id: clean-all
if: always()
run: |
direnv allow
make clean-all
env:
ACTIONS_STEP_DEBUG: false
Expand Down

0 comments on commit 65895de

Please sign in to comment.