ci: Removed scoop workflow [skip ci]

This commit is contained in:
2024-12-19 18:25:05 -07:00
parent e585eb46ea
commit ff67eebcea
5 changed files with 2 additions and 74 deletions
+1 -22
View File
@@ -287,13 +287,6 @@ jobs:
name: Publish Chocolatey Package
runs-on: windows-latest
steps:
- name: Configure SSH for Git
run: |
mkdir -p ~/.ssh
echo "${{ secrets.RELEASE_BOT_SSH_KEY }}" > ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keyscan -H github.com >> ~/.ssh/known_hosts
- name: Checkout repository
uses: actions/checkout@v4
with:
@@ -323,13 +316,7 @@ jobs:
- name: Package and Publish package to Chocolatey
run: |
# Cleanup old package files
if (-not (Test-Path -Path './deployment/chocolatey/tools' -PathType Container)) {
New-Item -Path './deployment/chocolatey/tools' -ItemType Directory
}
rm -Force ./deployment/chocolatey/tools/chocolateyinstall.ps1
rm -Force ./deployment/chocolatey/managarr.nuspec
mkdir ./deployment/chocolatey/tools
# Run packaging script
python "./deployment/chocolatey/packager.py" ${{ env.RELEASE_VERSION }} "./deployment/chocolatey/managarr.nuspec.template" "./deployment/chocolatey/managarr.nuspec" ${{ env.WINDOWS_SHA }}
python "./deployment/chocolatey/packager.py" ${{ env.RELEASE_VERSION }} "./deployment/chocolatey/chocolateyinstall.ps1.template" "./deployment/chocolatey/tools/chocolateyinstall.ps1" ${{ env.WINDOWS_SHA }}
@@ -342,14 +329,6 @@ jobs:
$version = $version -replace " ", "."
choco push $version.nupkg -s https://push.chocolatey.org/ --api-key ${{ secrets.CHOCOLATEY_API_KEY }};
# Persist changes into repo
cd ../../
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add ./deployment/chocolatey/tools/chocolateyinstall.ps1 ./deployment/chocolatey/managarr.nuspec
git commit -m "chore: Update Chocolatey package for version ${{ env.RELEASE_VERSION }} [skip ci]"
git push origin main
publish-docker-image:
needs: [publish-github-release]
name: Publishing Docker image to Docker Hub
+1 -2
View File
@@ -40,8 +40,7 @@ Alternatively, you can try out the demo container without downloading anything b
### Chocolatey (Windows)
The Managarr Chocolatey package is located [here](https://community.chocolatey.org/packages/managarr). Please note that validation
of Chocolatey packages take quite some time, and thus the package may not be available immediately after a new release. If you want the
latest version and don't want to wait, use the Scoop installation method instead.
of Chocolatey packages take quite some time, and thus the package may not be available immediately after a new release.
```powershell
choco install managarr
-25
View File
@@ -1,25 +0,0 @@
{
"homepage": "https://github.com/Dark-Alex-17/managarr",
"description": "A fast and simple dashboard for Kubernetes",
"version": "0.4.1",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://github.com/Dark-Alex-17/managarr/releases/download/v0.4.1/managarr-windows.tar.gz",
"hash": "c27e191f4290501287ca16268d9c2029e1f5cd01f7c2ac2be3cdfee80395f719"
}
},
"bin": "managarr.exe",
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/Dark-Alex-17/managarr/releases/download/v0.4.1/managarr-windows.tar.gz",
"hash": {
"url": "https://github.com/Dark-Alex-17/managarr/releases/download/v0.4.1/managarr-windows.sha256",
"regex": "$sha256"
}
}
}
}
}
-25
View File
@@ -1,25 +0,0 @@
{
"homepage": "https://github.com/Dark-Alex-17/managarr",
"description": "A fast and simple dashboard for Kubernetes",
"version": "$version",
"license": "MIT",
"architecture": {
"64bit": {
"url": "https://github.com/Dark-Alex-17/managarr/releases/download/v$version/managarr-windows.tar.gz",
"hash": "$hash_64"
}
},
"bin": "managarr.exe",
"checkver": "github",
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/Dark-Alex-17/managarr/releases/download/v$version/managarr-windows.tar.gz",
"hash": {
"url": "https://github.com/Dark-Alex-17/managarr/releases/download/v$version/managarr-windows.sha256",
"regex": "$sha256"
}
}
}
}
}