From 5b21522b858e2308d0af6e882df490d84e357636 Mon Sep 17 00:00:00 2001 From: Weinong Wang Date: Mon, 2 Dec 2024 10:41:40 -0800 Subject: [PATCH] remove snap since it's unsupported --- .github/workflows/release.yml | 12 ------------ snap/snapcraft.yaml | 25 ------------------------- 2 files changed, 37 deletions(-) delete mode 100644 snap/snapcraft.yaml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bfc5fe22..90744a34 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -101,10 +101,6 @@ jobs: GOARCH: arm64 run: make - - name: Snap Build - uses: snapcore/action-build@2096990827aa966f773676c8a53793c723b6b40f # v1.2.0 - id: snapbuild - - name: Zip uses: montudor/action-zip@a8e75c9faefcd80fac3baf53ef40b9b119d5b702 # v1 with: @@ -163,11 +159,3 @@ jobs: with: args: kubelogin.zip kubelogin-win-amd64.zip kubelogin-win-arm64.zip kubelogin-darwin-amd64.zip kubelogin-darwin-arm64.zip kubelogin-linux-amd64.zip kubelogin-linux-arm64.zip kubelogin-linux-armv7.zip kubelogin.zip.sha256 kubelogin-win-amd64.zip.sha256 kubelogin-win-arm64.zip.sha256 kubelogin-darwin-amd64.zip.sha256 kubelogin-darwin-arm64.zip.sha256 kubelogin-linux-amd64.zip.sha256 kubelogin-linux-arm64.zip.sha256 kubelogin-linux-armv7.zip.sha256 releaseId: ${{ steps.create_release.outputs.id }} - - - name: Publish to Snap Store - uses: snapcore/action-publish@214b86e5ca036ead1668c79afb81e550e6c54d40 # v1.2.0 - env: - SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPSTORE_LOGIN }} - with: - snap: ${{ steps.snapbuild.outputs.snap }} - release: stable diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml deleted file mode 100644 index adbbc005..00000000 --- a/snap/snapcraft.yaml +++ /dev/null @@ -1,25 +0,0 @@ -name: kubelogin # you probably want to 'snapcraft register ' -base: core22 # the base snap is the execution environment for this snap -adopt-info: kubelogin -summary: Azure kubelogin # 79 char long summary -description: | - A Kubernetes credential (exec) plugin implementing azure authentication. - -grade: stable # must be 'stable' to release into candidate/stable channels -confinement: strict # use 'strict' once you have the right plugs and slots -apps: - kubelogin: - command: kubelogin -parts: - kubelogin: - # See 'snapcraft plugins' - build-snaps: - - go - plugin: make - override-build: | - make - snapcraftctl set-version $(git describe --tags) - find . -iname 'kubelogin' -exec cp -r {} $SNAPCRAFT_PART_INSTALL/ \; - - source-type: git - source: https://github.com/Azure/kubelogin