Commit Graph

184 Commits

Author SHA1 Message Date
Viktor Petersson
722b08d868 Overhauls caching 2023-02-16 11:41:55 +00:00
Viktor Petersson
bb7f99d5e9 Introduce new naming of containers (double tag) 2023-02-16 11:31:33 +00:00
Viktor Petersson
71f6ecec75 more cleanup 2023-02-15 20:45:24 +00:00
Viktor Petersson
64fcdef7dc Refactors how test containers are built 2023-02-15 18:42:34 +00:00
Viktor Petersson
c3e1bf09fb Add shebang. 2023-02-15 17:10:54 +00:00
Viktor Petersson
83e610d4e7 More cache related tweaks. 2023-02-15 17:08:38 +00:00
Viktor Petersson
052b641f3a Fixes more templating issues. 2023-02-15 16:31:39 +00:00
Viktor Petersson
8542e8f676 Fixes viewer build. 2023-02-15 16:11:32 +00:00
Viktor Petersson
db8beff9b7 Don't clean apt cache 2023-02-15 15:22:55 +00:00
Viktor Petersson
7b8046a08c Tweaks config further 2023-02-15 15:06:35 +00:00
Viktor Petersson
ad48856673 Tweaks formatting and caching 2023-02-15 14:48:36 +00:00
Viktor Petersson
bcbf908312 Renames template files. 2023-02-15 12:28:43 +00:00
Viktor Petersson
e3fc90a67b Adopts envssubstr for images 2023-02-15 11:58:01 +00:00
Nico Miguelino
0180c2e77a Merge branch 'master' into 1699-wifi-connect 2023-01-11 08:20:58 -08:00
nicomiguelino
8cdd70dfb9 Resolve code review comments.
- Remove unnecessary `sed` commands.
- Refactor `Dockerfile.wifi-connect`.
2023-01-10 21:06:03 -08:00
nicomiguelino
3acfb9e3d0 Resolve code review comments.
- Make use of `jq` for retrieving the download URL of the `wifi-connect`
  archive.
- Remove the idling statement in `start_wifi_connect.sh`.
2023-01-10 15:35:56 -08:00
Emyll Almonte
dff70a1820 Update nginx.conf
subnet for class C network 10.0.0.0 should be /8 and not /16 in order to support all internal private IP addresses.
2023-01-10 17:52:14 -05:00
nicomiguelino
9d7fdaed4c Address some code review comments. 2023-01-10 08:17:01 -08:00
nicomiguelino
6d004b93cd Remove unused packages. 2023-01-04 10:57:42 -08:00
nicomiguelino
66cbeeafe9 Address code review comments.
- Refactor Dockerfile so that it'll make use of multi-stage builds.
- Modify service so that it'll only restart on failure.
- Relocate relevant scripts and requirement files.
2023-01-04 09:43:40 -08:00
nicomiguelino
35e52df28e Add follow-up fixes to functional instabilities. 2023-01-02 18:22:00 -08:00
nicomiguelino
b6138ce048 Display the IP address upon connecting to Wi-Fi using wifi-connect. 2022-12-30 18:25:16 -08:00
nicomiguelino
a15a0bd3a5 Pin the base image to a specific version. 2022-12-30 14:41:36 -08:00
nicomiguelino
5fed2a2391 Configure CI to build Docker images for the Wi-Fi connectivity service
during PI merge.

- Do cleanup on Docker-related files.
2022-12-29 22:04:15 -08:00
nicomiguelino
297159db6b Add changes in an attempt to make WiFi connect.
- Relocate Docker files and scripts.
2022-12-26 16:53:18 -08:00
nicomiguelino
73698c0117 Fix the NGINX route for the hotspot page. 2022-12-22 18:59:01 -08:00
nicomiguelino
8dfe9f0329 Modify Docker files to resolve build errors. 2022-12-16 12:40:19 -08:00
nicomiguelino
feb881b63c Add initial changes for setting up WiFi Connect. 2022-12-16 12:04:00 -08:00
Emyll Almonte
8f01ccc9a8 Update Dockerfile.test
specific chrome stable version matching chrome driver
2022-12-01 10:58:01 -05:00
Emyll Almonte
a3fd39a72e Update Dockerfile.test 2022-12-01 10:50:20 -05:00
Emyll Almonte
c9b88ba78c Update Dockerfile.test
Specific versions of chrome driver and browser.
2022-12-01 10:45:45 -05:00
Emyll Almonte
7bc0a10102 Update Dockerfile.test
Bumps chrome driver for tests.
2022-12-01 09:48:26 -05:00
nicomiguelino
5efe116b91 Comment out the lines instead of removing them. 2022-11-24 07:51:47 -08:00
nicomiguelino
bdd7c468a2 Remove ffmpeg installation and setup from script & Dockerfile.
- Relevant parts of the code were removed. These will be brought back
  when `test_add_asset_streaming` is fixed.
2022-11-23 13:30:28 -08:00
nicomiguelino
53488ba1ed Change test image name to avoid possible clash with other containers. 2022-10-19 07:58:00 -07:00
nicomiguelino
704c5eb095 Fix issue on cloning Git repositories. 2022-10-18 14:40:00 -07:00
nicomiguelino
7a457260d9 Add docs changes and make compilation less verbose. 2022-10-18 12:24:34 -07:00
nicomiguelino
b699d21873 Attempt to speed up the ffmpeg compilation process.
- Specify job count for the `make` command.
2022-10-18 11:57:50 -07:00
nicomiguelino
35068fcbc4 Use debian:buster as the base for then first stage instead.
- Remove the unnecessary cache_from statement.
2022-10-18 11:44:09 -07:00
nicomiguelino
57e9e63181 Remove name from the last build stage. 2022-10-18 10:41:15 -07:00
nicomiguelino
10d08cc181 Resolve issues related to multi-stage builds. 2022-10-18 10:17:34 -07:00
nicomiguelino
ecf3404488 Move the process of building ffmpeg binaries into Dockerfile instead. 2022-10-17 23:07:33 -07:00
nicomiguelino
35d093fa16 Restore test case for streaming assets. 2022-10-16 11:43:05 -07:00
nicomiguelino
ec491acd3c Add a Celery service inside docker-compose.test.yml. 2022-10-12 23:17:37 -07:00
nicomiguelino
42e6f1d450 Restore two browser-related test cases. 2022-10-12 13:42:25 -07:00
nicomiguelino
d3c4914e8e Execute the wget command during image build instead. 2022-10-11 20:17:19 -07:00
nicomiguelino
f1602035c1 Modify script so that Geckodriver will be installed. 2022-10-11 13:53:17 -07:00
Nico Miguelino
83afe40ff1 Bring back test suite runs on GitHub actions (#1616)
- Add a new GitHub workflow for running unit tests.
- Modify existing workflow for building images, so that it will only run if no tests are failing.
- "Comment out" (skip) failing Python unit tests in the meantime. Will be addressed in future PRs.
2022-10-06 00:12:44 +08:00
Viktor Petersson
8c0c780eed Pulls in new QT from CI build. 2022-09-22 15:46:07 +01:00
Viktor Petersson
d2c3351cf1 Fixes build dependency 2022-09-20 12:22:42 +01:00