From 3d07dfda64d4a92e0ef9f92256b73c7519cbe373 Mon Sep 17 00:00:00 2001 From: Pim Kunis Date: Fri, 3 May 2024 13:50:10 +0200 Subject: [PATCH] Remove Forgejo action --- .forgejo/workflows/deploy.yaml | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 .forgejo/workflows/deploy.yaml diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml deleted file mode 100644 index 342f894..0000000 --- a/.forgejo/workflows/deploy.yaml +++ /dev/null @@ -1,24 +0,0 @@ -on: [ push ] -jobs: - blog-pim: - runs-on: docker - container: - image: git.kun.is/home/forgejo-nix-action:687d16c49ea7936068bac64ec68c480a9d681962 - options: "-v /var/run/secrets/kubernetes.io/serviceaccount:/var/run/secrets/kubernetes.io/serviceaccount" - steps: - # - name: Clone repository - # run: git clone ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git src - # - run: "curl --cacert /var/run/secrets/kubernetes.io/serviceaccount/ca.crt -H \"Authorization: Bearer $(cat /var/run/secrets/kubernetes.io/serviceaccount/token)\" https://kubernetes.default.svc/api/v1/namespaces/default/pods" - - run: nix build nixpkgs#k3s - # - run: nix run nixpkgs#kubectl -- config set-cluster my-cluster --server=https://kubernetes.default --certificate-authority=/var/run/secrets/kubernetes.io/serviceaccount/ca.crt - # - run: nix run nixpkgs#kubectl -- config set-credentials my-service-account --token=$(cat /var/run/secrets/kubernetes.io/serviceaccount/token) - # - run: nix run nixpkgs#kubectl -- config set-context my-context --cluster=my-cluster --user=my-service-account - # - run: nix run nixpkgs#kubectl -- config use-context my-context - # - run: nix run nixpkgs#kubectl -- get pods - # - run: | - # mkdir -p ~/.config/sops/age - # echo -n "${{ secrets.AGE_SECRET_KEY }}" > ~/.config/sops/age/keys.txt - # - run: | - # cd src - # nix build .#kubenix.x86_64-linux - # bash result/bin/kubenix apply --all