Commit graph

25 commits

Author SHA1 Message Date
Florian Greinacher
dcb0ff5f51
fix: update Alpine base image (#3938)
* fix: update Alpine base image

Alpine 3.11 is out of support since nearly a year

* chore: help Renovate detect images in  the Earthfile
2024-09-26 08:21:26 -07:00
Gabe Kangas
974ec15b5d
fix: export correct timestamps on build artifacts. Closes #3282 2023-08-27 21:45:40 -07:00
Gabe Kangas
ef14067044 fix: support arm64 darwin builds for Apple Silicon. For #3056 2023-08-16 18:43:14 -07:00
Gabe Kangas
2bf841df05
fix(build): remove unused test block 2023-06-05 15:22:24 -07:00
Gabe Kangas
bfefa51331
feat(build): decrease shipped binary size with upx 2023-04-25 16:19:53 -07:00
Gabe Kangas
9610cf931c
Add HLS test to Earthfile 2023-01-22 21:23:23 -08:00
Gabe Kangas
218a43be09
Update the build process to tag multiple images + documentation for it 2023-01-20 10:47:26 -08:00
Gabe Kangas
d788e85364
No need to bundle Readme with dist 2023-01-19 20:04:00 -08:00
Meisam
64d3c37fb2
improve stream testing script (#2549)
* merge testContent.sh into ocContent.sh

* detect ffmpeg

ffmpeg or ffmpeg.exe in path, current dir, or parent dir

* use ocTestStream in api test

* enable verbose logging for api tests

* log ffmpeg version

* change ffmpeg lookup order

* set path properly for using the local ffmpeg

* rm double space from transcoder error logs

* update tests for new video stream

do not test bitrate

* set test stream target to 127.0.0.1

* log ffmpeg path

* update ffmpeg to v4.4.1

* improve logs

* fix ffmpeg installer script

* fix api test runner

* fix logs

* install fonts

* cleanup

* use ocTestStream.sh for all automated tests

* cleanup ocTestStream.sh

* cleanup test/automated/hls/run.sh

* Fix misspell

* fix ffmpeg installer in automated test runners

* spell fix

* cleanup script

* rev quick api tests

* cleanup tmp paths properly in automated tests

* rm unused ffmpeg package

* cleanup

* fix s3 test

* cache ffmpeg bin for automated tests

* shellcheck allow source

* rm missplaced file if backup fails

* use ffmpeg full path

* set lookup path for shellcheck
2023-01-10 18:50:32 -08:00
Gabe Kangas
e1c6ea9e21
Temporarily disable running Owncast under new user in #2496 2023-01-08 15:04:19 -08:00
Gabe Kangas
2675150cdf
Revert "improve stream testing script (#2525)"
This reverts commit e748d8f765.
2023-01-04 14:22:55 -08:00
Meisam
2c6fd67276
set a non-root user for containers (#2496)
* change root user in dockerfile

* build container on push/pr

* grab docker build params from env

* consolidate container build

* rm unused container build workflow/script

* cleanup ci

* set user for earthly container build

* rm ci docker build for develop branch

* checkout full repo for docker builds

* read earthly push from env

* cleanup ci

* rm unsupported option for actions/checkout@v3

* check dockerfile in ci

* add dockerfile build to earthfile

* authenticate to GH only on schedule builds

* accurate name for dev container builder script

* add note to the dockerfile about earthfile

* document dev build process more clearly
2023-01-04 14:15:12 -08:00
Meisam
e748d8f765
improve stream testing script (#2525)
* merge testContent.sh into ocContent.sh

* detect ffmpeg

ffmpeg or ffmpeg.exe in path, current dir, or parent dir

* use ocTestStream in api test

* enable verbose logging for api tests

* log ffmpeg version

* change ffmpeg lookup order

* set path properly for using the local ffmpeg

* rm double space from transcoder error logs

* update tests for new video stream

do not test bitrate

* set test stream target to 127.0.0.1

* log ffmpeg path

* update ffmpeg to v4.4.1

* improve logs

* fix ffmpeg installer script

* fix api test runner

* fix logs

* install fonts

* cleanup

* use ocTestStream.sh for all automated tests

* cleanup ocTestStream.sh

* cleanup test/automated/hls/run.sh

* Fix misspell

* fix ffmpeg installer in automated test runners

* spell fix

* cleanup script

* rev quick api tests

* cleanup tmp paths properly in automated tests

* rm unused ffmpeg package

* cleanup
2023-01-04 14:12:05 -08:00
Gabe Kangas
c0dc2eb707
Run API tests inside Eartlhly 2022-09-04 17:14:44 -07:00
Gabe Kangas
d12f25f556
Merge branch 'develop' into webv2 2022-08-09 14:14:45 -07:00
Gabe Kangas
9d45b0edf4
Host our own musl build toolchain 2022-08-05 12:18:21 -07:00
Gabe Kangas
c7a35e9d02
Revert "Change how musl is downloaded/unarchived" as the problem is a
Github problem.

This reverts commit 59fab1b137.
2022-08-04 15:19:43 -07:00
Gabe Kangas
59fab1b137
Change how musl is downloaded/unarchived 2022-08-04 15:08:13 -07:00
Gabe Kangas
2402914000
Explicitly set an alpine build version + install tar into build env 2022-08-04 14:21:09 -07:00
Gabe Kangas
4b7367fdcc
Set sqlite_omit_load_extension flag when building to disable sqlite feature 2022-07-27 14:09:41 -07:00
Gabe Kangas
2cd6756d01
Add unit and api tests to Earthfile 2022-06-21 12:16:44 -07:00
Gabe Kangas
2baad77c5a
Support running tests within Earthly container 2022-06-20 08:04:04 -07:00
Gabe Kangas
d3a5ebd4be
Remove the old web assets from build steps 2022-06-19 22:01:00 -07:00
Gabe Kangas
d214f2390e
Pass in the image and tag names separately from the version 2022-06-18 20:19:43 -07:00
Walter Huf
476415bfbc
Hufman/earthly builds (#1962)
* WIP rework release builds with Earthly

* Build linux dist files with GCC cross-compiling

* Use single Earthfile build/package targets

Uses the --platform argument to pick a non-default platform output
but the target name is the same

* Build and push Docker images with Earthfile

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2022-06-18 18:42:25 -07:00