Files
snap-ngrok/snapcraft.yaml
T
2026-05-15 10:10:06 -04:00

47 lines
1.5 KiB
YAML

name: ngrok
adopt-info: ngrok
summary: ngrok secure introspectable tunnels to localhost.
description: ngrok is a secure ingress platform that enables developers to add global server load balancing, reverse proxy, firewall, API gateway and Kubernetes Ingress to applications and APIs.
base: core22 # Ubuntu 22.04 LTS
grade: stable
confinement: strict
architectures: # github actions uses amd64 as host architecture
- build-on: [amd64]
build-for: amd64
- build-on: [amd64, i386]
build-for: i386
- build-on: [amd64, armhf]
build-for: armhf
- build-on: [amd64, arm64]
build-for: arm64
- build-on: [amd64, s390x]
build-for: s390x
parts:
ngrok:
plugin: dump # used for unpacking the zip files
source:
- on amd64 to amd64: https://bin.ngrok.com/a/ieEThFjwp4M/ngrok-v3-3.39.2-linux-amd64.zip
- on amd64 to i386: https://bin.ngrok.com/a/d4FGpiiK6iM/ngrok-v3-3.39.2-linux-386.zip
- on amd64 to armhf: https://bin.ngrok.com/a/iCdaCG7wzro/ngrok-v3-3.39.2-linux-arm.zip
- on amd64 to arm64: https://bin.ngrok.com/a/chhC5ScP3MS/ngrok-v3-3.39.2-linux-arm64.zip
- on amd64 to s390x: https://bin.ngrok.com/a/d6uGrL2FiSk/ngrok-v3-3.39.2-linux-s390x.zip
override-pull:
| # pwd is the part's source directory in parts/<part name>/src/
craftctl default
craftctl set version=3.39.2
plugs:
ngrok-config:
interface: personal-files
write:
- $HOME/.ngrok2
apps:
ngrok:
command: ngrok
plugs: [network, network-bind, home, ngrok-config]