Skip to content

Commit

Permalink
openBalena on balenaOS
Browse files Browse the repository at this point in the history
* orchestrate openBalena on ephemeral device(s) in AWS with GH Actions workflow
* uses another balenaVirt project to create a virtual test device
* adds placeholder openBalena test suite using docker:dind pseudo builder
* socialized with vanilla dockerd/compose

Change-type: major
  • Loading branch information
ab77 committed Apr 22, 2024
1 parent ea07d43 commit e0ab6f1
Show file tree
Hide file tree
Showing 51 changed files with 1,665 additions and 1,692 deletions.
679 changes: 679 additions & 0 deletions .github/workflows/balena.yml

Large diffs are not rendered by default.

20 changes: 19 additions & 1 deletion .github/workflows/flowzone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
pull_request:
types: [opened, synchronize, closed]
branches: [main, master]
# allow external contributions to use secrets within trusted code
pull_request_target:
types: [opened, synchronize, closed]
branches: [main, master]
Expand All @@ -13,6 +12,25 @@ jobs:
flowzone:
name: Flowzone
uses: product-os/flowzone/.github/workflows/flowzone.yml@master
# prevent duplicate workflow executions for pull_request and pull_request_target
if: |
(
github.event.pull_request.head.repo.full_name == github.repository &&
github.event_name == 'pull_request'
) || (
github.event.pull_request.head.repo.full_name != github.repository &&
github.event_name == 'pull_request_target'
)
secrets: inherit
with:
jobs_timeout_minutes: 60
cloudflare_website: "open-balena"
custom_runs_on: |
[
[
"self-hosted",
"Linux",
"distro:jammy",
"X64"
]
]
8 changes: 2 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.DS_Store
.project
.vagrant/

/config
/docker-compose.yml
/package-lock.json
.balena
**/.env
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "src/balena-tests"]
path = src/balena-tests
url = https://github.com/balena-io-playground/balenaVirt.git
50 changes: 0 additions & 50 deletions .openbalenarc

This file was deleted.

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: lint

lint:
shellcheck scripts/*
find . -type f -name *.sh | xargs shellcheck
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ To learn more about openBalena, visit [balena.io/open][open-balena-website].

## Getting Started

Our [Getting Started guide][getting-started] is the most direct path to getting
an openBalena installation up and running and successfully deploying your
application to your device(s).
~~Our [Getting Started guide][getting-started] is the most direct path to getting~~
~~an openBalena installation up and running and successfully deploying your~~
~~application to your device(s).~~


## Compatibility
Expand Down
41 changes: 0 additions & 41 deletions Vagrantfile

This file was deleted.

3 changes: 3 additions & 0 deletions balena.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
name: openBalena
type: sw.application
version: 3.7.1
17 changes: 0 additions & 17 deletions compose/common.yml

This file was deleted.

31 changes: 0 additions & 31 deletions compose/mdns.yml

This file was deleted.

Loading

0 comments on commit e0ab6f1

Please sign in to comment.