-
-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
✨ enhancementNew feature requestNew feature request
Description
Describe the feature you'd like, and why
We need to finish writing the appimage release process so that we can use it in the brew packaging. Some of it has been started here:
smol-k8s-lab/.github/smol-k8s-lab-appimage.yaml
Lines 1 to 40 in 2c4065f
# This is an example for making an AppImage from a python3 smol-k8s-lab application # using virtualenv and pip3 app: smol-k8s-lab ingredients: dist: bookworm sources: - deb http://us.archive.ubuntu.com/ubuntu/ bookworm bookworm-updates bookworm-security main universe - deb http://us.archive.ubuntu.com/ubuntu/ bookworm-updates main universe - deb http://us.archive.ubuntu.com/ubuntu/ bookworm-security main universe packages: - python3.12-venv # these are for making sound work - libasound2-data - libasound2-plugins - libasound2 script: - wget -c https://raw.githubusercontent.com/small-hack/smol-k8s-lab/main/docs/assets/images/icons/logo.png - wget -c https://raw.githubusercontent.com/small-hack/smol-k8s-lab/main/smol_k8s_lab/config/smol-k8s-lab.appdata.xml script: - cp smol-k8s-lab.png ./usr/share/icons/hicolor/256x256/ - cp smol-k8s-lab.png . - mkdir -p usr/share/metainfo/ ; cp smol-k8s-lab.appdata.xml usr/share/metainfo/ - virtualenv --python=python3 usr - ./usr/bin/pip3 install smol-k8s-lab - cat > usr/share/applications/smol-k8s-lab.desktop <<\EOF - [Desktop Entry] - Type=Application - Name=smol-k8s-lab - Comment=CLI and TUI to quickly install slimmer Kubernetes distros and then manage apps declaratively using Argo CD - Icon=smol-k8s-lab - Exec=smol-k8s-lab - Terminal=true - Categories=Application;Development; - Keywords=Python;Kubernetes; - EOF - cp usr/share/applications/smol-k8s-lab.desktop . - usr/bin/pip3 freeze | grep "smol-k8s-lab" | cut -d "=" -f 3 >> ../VERSION smol-k8s-lab/.github/workflows/python-publish.yml
Lines 25 to 31 in 2c4065f
# still figuring out how to make this work, so it is disabled for now # - name: Create an appimage for smol-k8s-lab for use with brew # # see https://github.com/AppImageCommunity/pkg2appimage for more info # run: | # wget -c $(wget -q https://api.github.com/repos/AppImageCommunity/pkg2appimage/releases -O - | grep "pkg2appimage-.*-x86_64.AppImage" | grep browser_download_url | head -n 1 | cut -d '"' -f 4) # chmod +x ./pkg2appimage-*.AppImage # ./pkg2appimage-*.AppImage .github/smol-k8s-lab-appimage.yaml
But I never finished actually testing it. It should work for at least macos and debian though, so we probably need testing processes for that too 🤔
Metadata
Metadata
Assignees
Labels
✨ enhancementNew feature requestNew feature request