Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/image-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ env:
# in it adds arm64 here. A run that builds fewer platforms than the tags it
# moves never takes an image away from a box on another architecture:
# build/publish-tags.sh keeps what X.Y and X already hold for the rest.
PLATFORMS: "amd64"
PLATFORMS: "amd64 arm64"

jobs:
build:
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ What that means on a bad night:
It runs your existing flows unchanged, too. That's [further down](#flow-import),
because it's a feature, not the point.

Current release is `2.18.4`. The image is `ghcr.io/hotloop-io/hotloop-flow:2.18.4`
Current release is `2.18.5`. The image is `ghcr.io/hotloop-io/hotloop-flow:2.18.5`
for amd64 and arm64, the Helm repo is `https://hotloop.io/hotloop-flow/`, and
[docs/deploying.md](docs/deploying.md) has Kubernetes, Podman and Quadlet. About
104,000 lines of Go, a little under 40 percent of it tests, 117 node types for messages and 39 for FlowLab diagrams, and the race
Expand Down Expand Up @@ -2068,10 +2068,10 @@ podman run --rm -p 1880:1880 -v hotloop-flow-data:/data \
-e HOTLOOP_FLOW_ADMIN_USER=admin \
-e HOTLOOP_FLOW_ADMIN_PASSWORD_HASH='<bcrypt hash>' \
-e HOTLOOP_FLOW_CREDENTIAL_SECRET="$(openssl rand -hex 32)" \
ghcr.io/hotloop-io/hotloop-flow:2.18.4
ghcr.io/hotloop-io/hotloop-flow:2.18.5
```

Generate the hash with `podman run --rm ghcr.io/hotloop-io/hotloop-flow:2.18.4
Generate the hash with `podman run --rm ghcr.io/hotloop-io/hotloop-flow:2.18.5
hash-password -password 'something-long'`. The image is distroless nonroot with
no shell in it, so there is nothing to `exec` into and nothing for anybody who
gets code execution to pivot with.
Expand Down
10 changes: 5 additions & 5 deletions docs/deploying.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ To choose your own instead:

```bash
helm install line3-flows hotloop-flow/hotloop-flow \
--set auth.passwordHash="$(podman run --rm ghcr.io/hotloop-io/hotloop-flow:2.18.4 hash-password -password 'something-long')" \
--set auth.passwordHash="$(podman run --rm ghcr.io/hotloop-io/hotloop-flow:2.18.5 hash-password -password 'something-long')" \
--set hotloopFlow.credentialSecret="$(openssl rand -hex 32)"
```

Expand Down Expand Up @@ -215,7 +215,7 @@ so the unit can be copied around, committed and reviewed without carrying
anything that matters.

```bash
printf '%s' "$(podman run --rm ghcr.io/hotloop-io/hotloop-flow:2.18.4 \
printf '%s' "$(podman run --rm ghcr.io/hotloop-io/hotloop-flow:2.18.5 \
hash-password -password 'something-long')" | podman secret create hotloop-flow-admin-hash -
printf '%s' "$(openssl rand -hex 32)" | podman secret create hotloop-flow-credential-secret -
```
Expand All @@ -234,7 +234,7 @@ After=network-online.target

[Container]
ContainerName=hotloop-flow
Image=ghcr.io/hotloop-io/hotloop-flow:2.18.4
Image=ghcr.io/hotloop-io/hotloop-flow:2.18.5
PublishPort=1880:1880
Volume=hotloop-flow-data:/data
Environment=HOTLOOP_FLOW_ADMIN_USER=admin
Expand Down Expand Up @@ -322,9 +322,9 @@ To try it, not to run a line on:
```bash
podman run --rm -p 1880:1880 -v hotloop-flow-data:/data \
-e HOTLOOP_FLOW_ADMIN_USER=admin \
-e HOTLOOP_FLOW_ADMIN_PASSWORD_HASH="$(podman run --rm ghcr.io/hotloop-io/hotloop-flow:2.18.4 hash-password -password 'something-long')" \
-e HOTLOOP_FLOW_ADMIN_PASSWORD_HASH="$(podman run --rm ghcr.io/hotloop-io/hotloop-flow:2.18.5 hash-password -password 'something-long')" \
-e HOTLOOP_FLOW_CREDENTIAL_SECRET="$(openssl rand -hex 32)" \
ghcr.io/hotloop-io/hotloop-flow:2.18.4
ghcr.io/hotloop-io/hotloop-flow:2.18.5
```

Then open <http://localhost:1880>. That credential secret is new every time you
Expand Down
16 changes: 16 additions & 0 deletions docs/releases/2.18.5.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
HotLoop Flow 2.18.5 brings 2.18.4 to arm64. One image now covers your x86 boxes and your arm64 ones, like a 64-bit Raspberry Pi or an ARM edge gateway. There is no change to the code, the chart, the settings or your flows.

## What changed

- The image is built for linux/amd64 and linux/arm64. The `2.18.5`, `2.18` and `2` tags hold both.
- The README and the install pages name 2.18.5 and say amd64 and arm64.

## New settings

None.

## Upgrade

A plain `helm upgrade` to the 2.18.5 image and chart, or the new tag in your Quadlet unit. The chart takes its image tag from its own version, so an arm64 box on a 2.18.4 chart install moves to 2.18.5 to get its image. If you are on arm64 and stayed on 2.18.3, this is your move; read the 2.18.4 notes for everything new since, which is Safe writes, Deploy history, Message trace and Warm standby in the editor and the node help. Nothing happens on first start and nothing needs migrating.

Image: `ghcr.io/hotloop-io/hotloop-flow:2.18.5`, linux/amd64 and linux/arm64. Chart: `https://hotloop.io/hotloop-flow/`. The README at this tag has the rest, with pictures: https://github.com/HotLoop-io/hotloop-flow/blob/v2.18.5/README.md
Loading