-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathsnapcraft.yaml
45 lines (40 loc) · 1.53 KB
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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: # location of the source code
- on amd64 to amd64: https://bin.equinox.io/a/cp4zbqoWWC1/ngrok-v3-3.19.1-linux-amd64.zip
- on amd64 to i386: https://bin.equinox.io/a/7RDEFXtBbAj/ngrok-v3-3.19.1-linux-386.zip
- on amd64 to armhf: https://bin.equinox.io/a/fB2XkincXBG/ngrok-v3-3.19.1-linux-arm.zip
- on amd64 to arm64: https://bin.equinox.io/a/96AhmnoTXuz/ngrok-v3-3.19.1-linux-arm64.zip
- on amd64 to s390x: https://bin.equinox.io/a/kLoGADrsu9d/ngrok-v3-3.19.1-linux-s390x.zip
override-pull:
| # pwd is the part's source directory in parts/<part name>/src/
craftctl default
craftctl set version=3.19.1
plugs:
ngrok-config:
interface: personal-files
write:
- $HOME/.ngrok2
apps:
ngrok:
command: ngrok
plugs: [network, network-bind, home, ngrok-config]