Commit graph

325 commits

Author SHA1 Message Date
Gabe Kangas
8c4ebd26ad
chore: consolidate web build/test jobs and only run it after other steps are successful 2023-07-29 16:10:08 -07:00
renovate[bot]
7c13a3fd01
chore(deps): update dependency eslint-plugin-react to v7.33.0 (#3205)
* chore(deps): update dependency eslint-plugin-react to v7.33.0

* chore: have linter try to autofix and commit linter warnings

* Linter fixes

* chore: tweak how js formatting is run within actions

* fix: type mismatch

* Prettified Code!

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Gabe Kangas <gabek@real-ity.com>
Co-authored-by: Owncast <owncast@owncast.online>
Co-authored-by: gabek <gabek@users.noreply.github.com>
2023-07-29 15:57:45 -07:00
renovate[bot]
7575c64d14
chore(deps): update peter-evans/create-or-update-comment digest to 716151b 2023-07-26 07:53:10 +00:00
Gabe Kangas
4ed0d8cae4
Update standard-pull-request.md 2023-07-23 10:15:04 -07:00
Gabe Kangas
29326e1767
Delete unused PR template 2023-07-23 10:11:54 -07:00
renovate[bot]
fe8758d8df
chore(deps): update peter-evans/create-or-update-comment digest to 30a3d62 2023-07-19 07:31:06 +00:00
renovate[bot]
fc69b24f0d
chore(deps): update peter-evans/create-or-update-comment digest to 5a5a8f5 2023-07-18 22:18:40 +00:00
renovate[bot]
89dfa3bb66
chore(deps): update peter-evans/create-or-update-comment digest to d1355c8 2023-07-12 06:27:18 +00:00
renovate[bot]
6d9fcdd451
chore(deps): update peter-evans/create-or-update-comment digest to 540f247 2023-07-10 04:58:13 +00:00
renovate[bot]
80ffd28551
chore(deps): update peter-evans/create-or-update-comment digest to 13f4e02 2023-07-05 06:19:49 +00:00
renovate[bot]
dd269b8bc0
chore(deps): update peter-evans/create-or-update-comment digest to be902ae 2023-06-28 19:23:07 +00:00
renovate[bot]
f50dca6ed0
chore(deps): update peter-evans/create-or-update-comment digest to c470f6f 2023-06-21 08:33:34 +00:00
renovate[bot]
ed0e44f981
chore(deps): update peter-evans/create-or-update-comment digest to 411d7f9 2023-06-14 06:37:24 +00:00
Gabe Kangas
fd1f3a1952
chore(tests): add additional test caching 2023-06-13 14:33:17 -07:00
renovate[bot]
752da3bbf7
chore(deps): update peter-evans/create-or-update-comment digest to c6c9a1a 2023-06-08 08:20:49 +00:00
renovate[bot]
f8c6b70453
chore(deps): update peter-evans/create-or-update-comment digest to 5825e57 2023-06-07 06:18:20 +00:00
renovate[bot]
d697505be3
chore(deps): update peter-evans/create-or-update-comment digest to 542d5c2 2023-05-31 08:07:37 +00:00
Gabe Kangas
24c51c831e
Update to Go 1.20. Closes #2185 2023-05-28 12:38:49 -07:00
Gabe Kangas
34e76f1575
Not worth running this test on a schedule. 2023-05-26 18:11:12 -07:00
renovate[bot]
0540451b7c
chore(deps): update peter-evans/create-or-update-comment digest to 6534843 2023-05-24 11:13:46 +00:00
Gabe Kangas
e50b23d081
Cleanup unused Javascript (#3027)
* chore(js): be stricter about dead code warnings

* chore(js): remove dead code and unused exports

* rebase

* chore: remove unused files

* chore(deps): remove unused prop-types dep

* chore(js): remove unused function

* chore(deps): remove + check unused deps

* chore(js): remove unused exports. Closes #3036
2023-05-20 21:15:25 -07:00
renovate[bot]
202f1f0ea8
chore(deps): update peter-evans/create-or-update-comment digest to c9cf0f5 2023-05-17 06:53:14 +00:00
renovate[bot]
19ab40e0df
chore(deps): update docker.io/ubuntu docker tag to v23.10 2023-05-16 05:05:46 +00:00
renovate[bot]
e0877c238d
chore(deps): update peter-evans/create-or-update-comment digest to 7dfe4b0 2023-05-10 07:23:47 +00:00
Gabe Kangas
d9f71a2f3c
fix(tests): reduce how often the release/upgrade test runs 2023-05-04 20:32:51 -07:00
Gabe Kangas
5e6f5b3f66
fix(tests): install ffmpeg in releases+upgrades automated test 2023-05-03 14:28:43 -07:00
Gabe Kangas
04177cc3ae
fix(tests): revert pull_request_target change 2023-05-03 09:45:32 -07:00
Gabe Kangas
bd7553e0bc
fix(tests): run prettier against pull_request_target 2023-05-03 09:15:02 -07:00
renovate[bot]
e718055041
chore(deps): update peter-evans/create-or-update-comment digest to 38e799a 2023-05-03 12:41:06 +00:00
Gabe Kangas
89f75024d7
feat(tests): add automated release upgrade test. Closes #1876 2023-05-02 20:39:15 -07:00
Gabe Kangas
ff5a6590e7
fix(tests): run against pull_request not pull_request_target. Closes #2487 2023-05-02 17:00:40 -07:00
renovate[bot]
774cd236db
chore(deps): update peter-evans/create-or-update-comment digest to ca08ebd 2023-05-02 05:58:53 +00:00
renovate[bot]
58009021ba
chore(deps): update peter-evans/create-or-update-comment digest to 3518fea 2023-04-27 07:01:42 +00:00
renovate[bot]
17618f4fd2
chore(deps): update peter-evans/create-or-update-comment digest to 700b774 2023-04-19 07:38:46 +00:00
Gabe Kangas
5f2252f2a4
chore(tests): add js validation tests
These are the first javascript unit tests. Added them to the CI worflow.
Closes #2930
2023-04-16 14:36:23 -07:00
renovate[bot]
22c774ca84
chore(deps): update peter-evans/create-or-update-comment digest to 594dca4 2023-04-12 07:19:26 +00:00
renovate[bot]
206514dbe0
chore(deps): update peter-evans/create-or-update-comment digest to e21423b 2023-04-06 05:10:20 +00:00
renovate[bot]
ff40736d45
chore(deps): update peter-evans/create-or-update-comment digest to 3d6c0b9 2023-04-04 10:21:59 +00:00
renovate[bot]
1fb693f596
Update peter-evans/create-or-update-comment digest to 5f728c3 2023-03-29 09:55:57 +00:00
renovate[bot]
723432fb94
Update actions/setup-go action to v4 (#2842)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-17 23:25:12 -07:00
Gabe Kangas
3869bed0bf
Specify node version for browser tests 2023-03-17 18:24:17 -07:00
Gabe Kangas
50f435bd5a
Fix s3 test errors 2023-03-16 10:51:00 -07:00
Gabe Kangas
472da30271
Fix test name 2023-03-16 10:44:57 -07:00
Gabe Kangas
1a5e9b496a
Split local and S3 HLS tests 2023-03-16 10:43:49 -07:00
renovate[bot]
c98e00d28b Update peter-evans/create-or-update-comment digest to 384c114 2023-03-15 18:34:56 +00:00
renovate[bot]
838c1b51c1
Update actions/cache action to v3 (#2819)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-03-14 19:13:59 -07:00
renovate[bot]
108eda0a6a
Update peter-evans/create-or-update-comment digest to 44526e3 2023-03-08 06:03:47 +00:00
renovate[bot]
df3e096406
Update peter-evans/create-or-update-comment digest to b1fa5d5 2023-03-01 06:22:35 +00:00
renovate[bot]
cf71172064
Update peter-evans/create-or-update-comment digest to c5a7a98 2023-02-28 06:21:51 +00:00
renovate[bot]
ce74fe3c93
Update peter-evans/create-or-update-comment digest to 1833517 2023-02-22 21:29:23 +00:00
Gabe Kangas
efebcd8d45
Bump prettier action and remove workaround 2023-02-19 11:31:10 -08:00
Gabe Kangas
db9e4e2fd3
Work around prettier action bug 2023-02-18 19:43:59 -08:00
Gabe Kangas
cb400e7b22
Cache Go modules between test runs 2023-02-15 15:01:14 -08:00
Gabe Kangas
d7675a7d29
Cache NPM between test runs 2023-02-15 14:46:45 -08:00
renovate[bot]
adbf78d68d
Update peter-evans/create-or-update-comment digest to 300bfad 2023-02-15 08:10:11 +00:00
Gabe Kangas
f88605ab91
Commit bundled web assets as owncast user 2023-02-14 10:08:01 -08:00
Gabe Kangas
f7779c45f6
Set URL 2023-02-12 11:53:26 -08:00
Gabe Kangas
d1879aec02
Only commit images 2023-02-11 19:32:26 -08:00
Gabe Kangas
de534632cd
Run nightly automated screenshots. Closes #2699 2023-02-11 18:41:31 -08:00
renovate[bot]
ad2547ae8e
Update peter-evans/create-or-update-comment digest to 8f96741 2023-02-08 09:12:16 +00:00
renovate[bot]
3719ad097d
Update peter-evans/create-or-update-comment digest to 521ce1b 2023-02-03 09:56:08 +00:00
Gabe Kangas
c0005908d9
Increase build timeout limit. 2023-02-02 22:13:25 -08:00
renovate[bot]
d9bc25c215
Update peter-evans/create-or-update-comment digest to 67dcc54 2023-02-01 07:37:05 +00:00
Gabe Kangas
500d26be30
Set environment to build nightly tag. Hopefully fixes #2637 2023-01-30 23:33:59 -08:00
Gabe Kangas
6ad0b9fcae
Update gitattributes file 2023-01-30 23:24:40 -08:00
Gabe Kangas
3dda431079
Remove references to webv2 branch in docs and builds 2023-01-27 20:16:47 -08:00
Gabe Kangas
73963d0ca7
Explicitly only commit only updated stories 2023-01-26 16:45:48 -08:00
Gabe Kangas
d9914f3abd
Allow retries on testing container build 2023-01-26 16:28:36 -08:00
Gabe Kangas
b4832c37d3
Commit updated Stories after build 2023-01-26 15:23:25 -08:00
Gabe Kangas
415e5773bb
Generate dynamic storybook stories at build time 2023-01-26 14:18:13 -08:00
renovate[bot]
daaf7616f4
chore(deps): update peter-evans/create-or-update-comment digest to e0e8aa0 2023-01-25 05:20:01 +00:00
Gabe Kangas
57beaacd2c
Allow HLS test to wait for stream changes 2023-01-22 21:07:49 -08:00
renovate[bot]
7889501ce1
chore(deps): update peter-evans/create-or-update-comment digest to 2cabc73 2023-01-18 05:32:26 +00:00
Gabe Kangas
07195fdf93
Increase CI job timeout 2023-01-16 11:36:40 -08:00
Meisam
dd72879d09
Fix HLS automatic test (#2572)
* mv automated test cleanup to tools.sh

check media file exists before streaming in test/ocTestStream.sh
fix automatic test ffmpeg detection
mv trap to tools
mv update_storage_config() to tools
enable S3 test

* fix video file check in test/ocTestStream.sh

* cleanup ci

* mv auto test owncast build-run to start_owncast()

* suppress cleanup errors

* fix style

* fix Browser Test paths

* use pull_request event for Browser Tests

* explicitly mention when test is skipped

* refactor shell scripts
2023-01-11 20:11:13 -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
a9cf9d08f7
Merge remote-tracking branch 'origin/develop' into webv2 2023-01-09 13:07:45 -08:00
renovate[bot]
c7cbebe838
chore(deps): update docker.io/ubuntu docker tag to v23 (#2562)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-01-09 10:47:11 -08:00
Gabe Kangas
80ab351cbe
Add performance testing to Cypress results 2023-01-04 22:18:21 -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
renovate[bot]
417fe50a14
chore(deps): update peter-evans/create-or-update-comment digest to 66af805 2023-01-03 02:14:09 +00:00
renovate[bot]
87c6c38a7c
chore(deps): update peter-evans/create-or-update-comment digest to 66af805 2023-01-03 02:14:03 +00:00
Gabe Kangas
a5e5037f5c
Add a link to learning more about Git for newcomers. 2022-12-30 20:15:55 -08:00
Meisam
6f97085285
add Github actions linter to Github actions (#2521)
* add actions linter

* fix actions/checkout args

* trigger actions lint on both yml/yaml

...and other possible changes in workflow
2022-12-28 13:21:09 -08:00
Meisam
389ba36f15
fix breaking change in #2510 2022-12-28 01:11:04 +01:00
Meisam
7c91099461
do not triger bundle web app on docs update (#2510) 2022-12-26 11:30:16 -08:00
renovate[bot]
6e3a009bb7
chore(deps): update docker.io/ubuntu docker tag to v22.10 2022-12-26 04:32:54 +00:00
Meisam
c74d5b4f31
add shellcheck to CI (#2478)
* add shellcheck to ci

* test ci

* install bash for shellcheck

* set globstar for bash

* cleanup shell scripts

* do not ignore automated hls tests

* rm legacy build script

* update shell scripts

* cleanup ci

* Fix misspell

* cleanup ci

* fail on curl error in ci
2022-12-25 19:17:13 -08:00
renovate[bot]
b4d00fba7d
chore(deps): update peter-evans/create-or-update-comment digest to 69c3c2d 2022-12-12 11:09:39 +00:00
renovate[bot]
487e076e85
chore(deps): update peter-evans/create-or-update-comment digest to 69c3c2d 2022-12-12 03:05:04 +00:00
Gabe Kangas
9d540b30bc
Allow for retries of browser tests 2022-12-10 18:33:50 -08:00
renovate[bot]
5a6f2859d8
chore(deps): update peter-evans/create-or-update-comment digest to 927fa78 (#2424)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-12-09 12:33:00 -08:00
renovate[bot]
7291d62117
chore(deps): update peter-evans/create-or-update-comment digest to 927fa78 2022-12-09 11:16:36 +00:00
Gabe Kangas
f8cbbec858
Change time webv2 docker image is built 2022-12-08 14:35:58 -08:00
Meisam
1558834df2
bump min golang ver to 1.18 (#2412) 2022-12-06 14:31:08 -08:00
renovate[bot]
4dbc84c6fd chore(deps): update actions/checkout action to v3 2022-11-29 17:33:56 -08:00
Meisam
0a8fc6e8c5 validate Nodeinfo response by schema (#2390)
* rm stable: 'false' from actions/setup-go@v3

* adapt tests from #2369

* set undefined as defaultStreamKey

pass adminpass to sendConfigChangeRequest()

* mv getAdminConfig to api/lib/config.js

* npm install --quiet for automated tests

* refactor tests

separate default values from new ones

* test adminpass change

fix defaultStreamKeys test

* fix defaultStreamKeys

* use getAdminStatus

* mv test/automated/lib/config.js to admin.js

* check default hideViewerCount

cleanup

* test more default options in api

erverName
SServerSummary
yp.instanceUrl
FederationConfig.username

* more testing of default config params

* update reference values for api test
2022-11-29 16:05:44 -08:00
Gabe Kangas
ffdda17fff
Additional suplicate action checks 2022-11-23 15:06:51 -08:00
Gabe Kangas
8e2fe17e35
Use skip-duplicate-actions instead of concurrency limit 2022-11-23 15:04:20 -08:00
Gabe Kangas
03f199551d
Retry API tests on failure 2022-11-22 12:56:03 -08:00