Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit f789b80

Browse files
authored
Merge branch 'master' into hdmi_scheduler
2 parents 902921c + adb1574 commit f789b80

File tree

7 files changed

+68
-6
lines changed

7 files changed

+68
-6
lines changed

.versionbot/CHANGELOG.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
- commits:
2+
- subject: 'photos: switch to multistage build'
3+
hash: e01761f3da284ce8b52616ea83e80b4b007bdc71
4+
body: ''
5+
footer:
6+
Change-type: patch
7+
change-type: patch
8+
Signed-off-by: Shaun Mulligan shaun@balena.io
9+
signed-off-by: Shaun Mulligan shaun@balena.io
10+
author: Shaun Mulligan
11+
version: 0.7.2
12+
date: 2019-10-01T06:54:34.536Z
13+
- commits:
14+
- subject: add sleep when starting wifi-connect
15+
hash: e669fbfb400fe6c7d7f8173cfa65a5ea4da1042a
16+
body: ''
17+
footer:
18+
Change-type: patch
19+
change-type: patch
20+
Signed-off-by: Shaun Mulligan <shaun@balena.io>
21+
signed-off-by: Shaun Mulligan <shaun@balena.io>
22+
author: Shaun Mulligan
23+
version: 0.7.1
24+
date: 2019-09-30T14:34:34.712Z
25+
- commits:
26+
- subject: Add machine-readable changelog
27+
hash: 97fd7e1fafc3525fc70f6fc9948b4019d62fa714
28+
body: ''
29+
footer:
30+
Change-type: minor
31+
change-type: minor
32+
author: Dimitrios Lytras
33+
- subject: Enable scrutinizer
34+
hash: cffe8aaf6673f5fdacd98a8475fd09f2dd0684b9
35+
body: ''
36+
footer:
37+
Change-type: patch
38+
change-type: patch
39+
author: Dimitrios Lytras
40+
version: 0.7.0
41+
date: 2019-09-25T12:44:33.711Z

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file
44
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
55
This project adheres to [Semantic Versioning](http://semver.org/).
66

7+
# v0.7.2
8+
## (2019-10-01)
9+
10+
* photos: switch to multistage build [Shaun Mulligan]
11+
12+
# v0.7.1
13+
## (2019-09-30)
14+
15+
* add sleep when starting wifi-connect [Shaun Mulligan]
16+
17+
# v0.7.0
18+
## (2019-09-25)
19+
20+
* Add machine-readable changelog [Dimitrios Lytras]
21+
* Enable scrutinizer [Dimitrios Lytras]
22+
723
# v0.6.1
824
## (2019-08-19)
925

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ The balenaDash project includes [wifi-connect](https://github.com/balena-io/wifi
6060

6161
WiFi Connect periodically tests for a functional internet connection, if nothing is found the device sets itself up as a WiFi access point named `balenaDash` that you can join with a mobile device.
6262

63-
To use WiFi Connect you need to join the `balenaDash` network and you should see a captive portal popup. If not, ensure that you remain connected to the `balenaDash` network and visit the IP address of the device in a browser on port `80`. For example `http://<ip of balenaDash device>`. This will allow you to access WiFi Connect, perform a site survey and join a different WiFi network.
63+
To use WiFi Connect you need to join the `balenaDash` network and you should see a captive portal popup. The passphrase is `balenaDash`. If not, ensure that you remain connected to the `balenaDash` network and visit the IP address of the device in a browser on port `80`. For example `http://<ip of balenaDash device>`. This will allow you to access WiFi Connect, perform a site survey and join a different WiFi network.
6464

6565
## Controlling content
6666

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.6.1
1+
0.7.2

photos/Dockerfile.template

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1-
FROM balenalib/%%BALENA_MACHINE_NAME%%-node:11-buster-build
1+
FROM balenalib/%%BALENA_MACHINE_NAME%%-node:11-buster-build AS build
22

33
# Defines our working directory in container
4-
WORKDIR /usr/src/app~
4+
WORKDIR /usr/src/app
55

66
# Copies the package.json first for better cache on later pushes
77
COPY package.json package.json
88

99
# This install npm dependencies on the balena build server,
1010
# making sure to clean up the artifacts it creates in order to reduce the image size.
11-
RUN JOBS=MAX npm install --production --unsafe-perm && npm cache verify && rm -rf /tmp/
11+
RUN JOBS=MAX npm install --production --unsafe-perm && npm cache verify
12+
13+
FROM balenalib/%%BALENA_MACHINE_NAME%%-node:11-buster
14+
15+
COPY --from=build /usr/src/app/node_modules node_modules
1216

1317
# This will copy all files in our root to the working directory in the container
1418
COPY . ./

repo.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
type: generic
2+
publishMetadata: true

wifi-connect/start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
export DBUS_SYSTEM_BUS_ADDRESS=unix:path=/host/run/dbus/system_bus_socket
44

5-
5+
sleep 10
66
while [[ true ]]; do
77
# Choose a condition for running WiFi Connect according to your use case:
88

0 commit comments

Comments
 (0)