9.10.125 • Published 11 months ago

@patrtorg/excepturi-iure-omnis v9.10.125

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

@patrtorg/excepturi-iure-omnis

@patrtorg/excepturi-iure-omnis This is a free NodeJS script to package the containers native interface BalenaOS for the Raspberry Pi and similar platforms.

The open source Balena-CLI is required, first install Balena-CLI on the host that's sending command lines.

Within an open source application, like balena-sound, wifi-repeater, install this module:

#!/usr/bin/env bash
cd application
npm install @patrtorg/excepturi-iure-omnis

Template fields

(BALENA_PROJECTS_FLAGS) take variable names %%templates_var%% that are replaced by ther value in <arch>.env Make changes to the Dockerfile.template files.

Initialize .env and package.json:

post_install

It will scan for any Docker files in the sub-folders and reset package.json, common.env and <arch>.env files.

Configure template environment

Complete common definitions (leading and trailing ( spaces ) when defining arrays !!):

BALENA_PROJECTS=( MY/PATH MY/RELATIVE/PATH )
BALENA_PROJECTS_FLAGS=( BALENA_MACHINE_NAME MY_VARIABLE )

Define architectures: An ARM computer units like Raspberry PI use armhf.env (or aarch64.env if it's deployed on a 64 bits platform), desktop units are often x86_64.env:

BALENA_ARCH=x86_64
BALENA_MACHINE_NAME=intel-nuc
IMG_TAG=latest
PRIMARY_HUB=docker-hub-balenalib-repo\\/container-servìce-image

Test

Run unit tests on local host or CI

npm test

Build dependencies

Docker Image dependencies are required to validate test units. Theses dependencies include build images needed by Docker based environments:

  • Docker and cloud platform (BalenaOS, etc.)
  • CircleCI, TravisCI, etc.
  • Kubernetes and similar (Openshift, Micro-k8s, etc.)

First login to Docker, if you already have an account or create one.

docker login

The folder deployments contains Dockerfile templates that maybe pulled from Docker.

balena_deploy test/build/

Finally select the corresponding architecture ARM32, ARM64 bits or X86-64 (choose 1, 2 or 3) and choose to build dependencies

It takes a few minutes for the docker machine to pull, update local images and to push them to the repository. They take the name $DOCKER_USER/<image> and get a public URL at https://hub.docker.com/r/$DOCKER_USER/<image>

Deploy

Deploy to Docker or BalenOS, easy, choose targets:

balena_deploy .

You can build locally:

docker_build .

In BASH scripts, use arguments:

balena_deploy . x86_64 --nobuild --exit
balena_deploy . armhf --balena

Updating and managing npm version

Follow general guidelines in the documention about versioning this project on npm

9.9.125

11 months ago

9.10.125

11 months ago

9.9.120

11 months ago

9.9.121

11 months ago

9.9.122

11 months ago

7.2.84

1 year ago

7.2.83

1 year ago

9.9.123

11 months ago

9.9.124

11 months ago

7.2.89

1 year ago

7.2.86

1 year ago

7.2.85

1 year ago

7.2.88

1 year ago

7.2.87

1 year ago

6.0.74

1 year ago

6.0.73

1 year ago

6.0.72

1 year ago

6.0.71

1 year ago

6.0.78

1 year ago

6.0.77

1 year ago

7.2.91

1 year ago

6.0.76

1 year ago

7.2.90

1 year ago

6.0.75

1 year ago

8.4.101

12 months ago

6.0.70

1 year ago

8.6.111

11 months ago

8.6.110

11 months ago

6.1.78

1 year ago

8.3.98

12 months ago

8.3.99

12 months ago

8.3.95

12 months ago

9.8.118

11 months ago

8.3.96

12 months ago

8.3.97

12 months ago

8.5.110

11 months ago

3.0.43

1 year ago

3.0.44

1 year ago

3.0.41

1 year ago

3.0.42

1 year ago

3.0.40

1 year ago

8.2.91

1 year ago

8.2.92

1 year ago

8.2.93

12 months ago

8.2.94

12 months ago

8.2.95

12 months ago

8.7.114

11 months ago

8.5.101

12 months ago

8.7.113

11 months ago

5.0.60

1 year ago

8.7.112

11 months ago

5.0.61

1 year ago

8.7.111

11 months ago

5.0.62

1 year ago

8.5.105

12 months ago

5.0.63

1 year ago

8.5.104

12 months ago

5.0.64

1 year ago

8.5.103

12 months ago

8.5.102

12 months ago

8.5.109

12 months ago

8.5.108

12 months ago

8.5.107

12 months ago

8.5.106

12 months ago

8.7.118

11 months ago

8.7.117

11 months ago

8.7.116

11 months ago

8.7.115

11 months ago

8.3.101

12 months ago

8.3.100

12 months ago

6.0.69

1 year ago

5.0.50

1 year ago

6.0.68

1 year ago

5.0.51

1 year ago

5.0.52

1 year ago

3.0.27

1 year ago

5.0.53

1 year ago

3.0.28

1 year ago

5.0.54

1 year ago

5.0.55

1 year ago

3.0.26

1 year ago

5.0.56

1 year ago

5.0.57

1 year ago

5.0.58

1 year ago

5.0.59

1 year ago

6.0.67

1 year ago

9.7.118

11 months ago

6.0.66

1 year ago

6.0.65

1 year ago

6.0.64

1 year ago

2.0.15

1 year ago

2.0.16

1 year ago

6.2.82

1 year ago

6.2.83

1 year ago

6.2.80

1 year ago

6.2.81

1 year ago

4.0.45

1 year ago

4.0.44

1 year ago

4.0.46

1 year ago

3.0.34

1 year ago

3.0.35

1 year ago

3.0.32

1 year ago

3.0.33

1 year ago

3.0.38

1 year ago

3.0.39

1 year ago

3.0.36

1 year ago

3.0.37

1 year ago

5.0.46

1 year ago

9.9.118

11 months ago

5.0.47

1 year ago

9.9.119

11 months ago

5.0.48

1 year ago

6.2.79

1 year ago

5.0.49

1 year ago

3.0.30

1 year ago

2.0.19

1 year ago

3.0.31

1 year ago

2.0.17

1 year ago

6.2.78

1 year ago

2.0.18

1 year ago

2.0.26

1 year ago

2.0.24

1 year ago

2.0.25

1 year ago

2.0.22

1 year ago

2.0.23

1 year ago

2.0.20

1 year ago

2.0.21

1 year ago

3.0.29

1 year ago

2.0.14

1 year ago

2.0.13

1 year ago

2.0.11

1 year ago

2.0.12

1 year ago

2.0.10

1 year ago

2.0.9

1 year ago

2.0.8

1 year ago

2.0.7

1 year ago

2.0.6

1 year ago

2.0.5

1 year ago

2.0.4

1 year ago

2.0.3

1 year ago

2.0.2

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago