-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy pathrockcraft.yaml
More file actions
62 lines (54 loc) · 1.88 KB
/
Copy pathrockcraft.yaml
File metadata and controls
62 lines (54 loc) · 1.88 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
name: ella-core
base: bare
build-base: ubuntu@24.04
adopt-info: core-release-data
summary: Ella Core is a secure, reliable, and easy to operate mobile network.
description: |
Ella Core is a mobile core network designed for private deployments. It consolidates the complexity of traditional 4G and 5G networks into a single application, offering simplicity, reliability, and security.
Typical mobile networks are expensive, complex, and inadequate for private deployments. They require a team of experts to deploy, maintain, and operate. Open source alternatives are often incomplete, difficult to use, and geared towards research and development. Ella Core is a production-geared solution that simplifies the deployment and operation of private mobile networks.
Use Ella Core where you need mobile connectivity: in a factory, a warehouse, a farm, a stadium, a ship, a military base, or a remote location.
platforms:
amd64:
arm64:
services:
ella-core:
override: replace
summary: Ella Core is a private mobile network.
command: core --config /core.yaml
startup: enabled
on-failure: restart
parts:
core:
plugin: go
source: .
source-type: local
build-packages:
- git
build-snaps:
- go/1.26/stable
- node/24/stable
stage-packages:
- libc6_libs
override-build: |
npm install --prefix ui
npm run build --prefix ui
REVISION=`git rev-parse HEAD`
go build -v -o ${CRAFT_PART_INSTALL}/bin/core -ldflags "-X github.com/ellanetworks/core/version.GitCommit=${REVISION}" ./cmd/core
ip:
plugin: nil
stage-packages:
- iproute2
iptables:
plugin: nil
stage-packages:
- iptables
core-release-data:
plugin: nil
source: .
override-build: |
version="$(cat version/VERSION)"
craftctl set version="$version"
config:
plugin: dump
source: config/
source-type: local