Googol Lee
bb66a8b791
Fix release version and date in UI. ( #1025 )
2024-08-27 21:46:29 +02:00
Googol Lee
ebcbe6c057
Update workflow using Dockerfile. ( #1003 )
2024-08-03 23:17:54 +02:00
Kostiantyn
df9af39a16
Validate incoming GPS data ( #951 )
...
* Validate incoming GPS data and throw an error if it is incorrect, storing Null values
* Extracted GPS data processing to function in external parser; optimized IF in internal parser; removed unnecessary comments; set exact values for positive test
* Add the migration for removing existing invalid GPS data and its test; added better errors to asserts in the GPS validation test
* Install FFmpeg and ExifTool on the API unit-test environment
* Fix 'stripped.jpg', 'IncorrectGPS.jpg', and 'CorrectGPS.jpg' tests for the external parser
* Optimized data validation in the external parser, returned error by the internal parser for invalid data, updated test to expect errors and handle them
* Switched from error to log entry in case of incorrect GPS data, as error handling is not so transparent in the internal parser
---------
Co-authored-by: Konstantin Koval
2024-06-29 10:32:48 +03:00
Kostiantyn
55d6097cc1
Update GO version in the `go.mod` and read it by the job to setup the testing environment for unit tests ( #980 )
...
Co-authored-by: Konstantin Koval
2024-06-28 14:59:31 +02:00
Googol Lee
e36b09753a
Bump go version and modules. ( #976 )
...
* Bump go version to 1.22. Bump all go module to the newest version, except pinning libheif@v1.15.1 to match the c lib version in Debian bookworm.
* Update go_wrapper.sh to fit golang image.
* Update the way to set go envs.
* Test against go 1.22
* Set default shell for all building stage in Dockerfile.
2024-06-28 10:10:18 +03:00
viktorstrate
5c1f8b4632
clean up build action
2023-07-10 22:49:01 +02:00
viktorstrate
b2a79a4c9d
update and simplify github build action
2023-07-10 18:57:50 +02:00
viktorstrate
831e24f654
Fix API tests
2022-07-08 17:44:03 +02:00
viktorstrate
214aa389fb
Fix Docker builds
2022-07-08 16:49:46 +02:00
viktorstrate
00e436a518
Add tests for album path
2021-09-27 20:59:41 +02:00
feinedsquirrel
52c2c76169
update Kagami/go-face target commit and new deps for it
2021-06-04 14:45:33 -06:00
viktorstrate
d09d5f6ca0
Improve codeql action + fix test db clean
2021-04-24 19:12:45 +02:00
viktorstrate
26ef725b78
Use codecov-action instead
2021-04-23 22:01:52 +02:00
viktorstrate
777747d5e7
ghaction ui test fix cmd + add cache
2021-04-23 21:51:47 +02:00
viktorstrate
7b2720791e
integrate codecov
2021-04-23 21:46:01 +02:00
viktorstrate
435a9e0ab1
Add ports to ghaction test services
2021-04-23 21:14:11 +02:00
viktorstrate
d7ad507987
Fix postgres + add api test cache
2021-04-23 21:07:32 +02:00
viktorstrate
e77f1bcd47
Fix mariadb env vars ghaction tests
2021-04-23 21:00:11 +02:00
viktorstrate
6fd956d9c5
Fix "image" typo
2021-04-23 20:54:06 +02:00
viktorstrate
5ca4bd43ba
Setup databases for github actions tests
2021-04-23 20:52:55 +02:00
Robin Moser
b8eeb24586
display link to the last commit
2021-04-20 18:21:41 +02:00
Viktor Strate Kløvedal
8cf4e8d779
Remove unnecessary npm build step
2021-04-15 16:37:36 +02:00
viktorstrate
a881e0c9df
Update node version in build process
2021-04-05 23:18:38 +02:00
Viktor Strate Kløvedal
ac8632cd82
Add event_name to docker tags in build action
2021-04-04 10:27:09 +02:00
Viktor Strate Kløvedal
8a1f2e957e
Add "latest" tag when building release
2021-04-03 23:30:08 +02:00
Viktor Strate Kløvedal
a2c13d6fa1
Fix error in build action when pushing release
2021-04-03 23:13:29 +02:00
Viktor Strate Kløvedal
c7c1a3ebae
Remove commas from list in build action
2021-03-30 20:13:08 +02:00
Viktor Strate Kløvedal
d7e42c8bc9
Don't escape env vars in build action
2021-03-30 20:10:25 +02:00
Viktor Strate Kløvedal
f5d44cf789
Fix syntax error in build action
2021-03-30 20:03:26 +02:00
Viktor Strate Kløvedal
1b70142ddc
Cleanup unused tags after manifest is created
2021-03-30 20:00:30 +02:00
viktorstrate
1ba62ab03a
Add back docker push conditions to build action
2021-03-29 12:36:14 +02:00
Viktor Strate Kløvedal
804b4576ec
Push correct tags to dockerhub
2021-03-28 23:32:41 +02:00
Viktor Strate Kløvedal
aa7588145f
Fix docker username variable
2021-03-28 23:15:42 +02:00
Viktor Strate Kløvedal
e2fd7a7a70
Fix typo
2021-03-28 23:11:00 +02:00
Viktor Strate Kløvedal
c432036a7f
Fix syntax error
2021-03-28 23:07:06 +02:00
Viktor Strate Kløvedal
cf36b9ec8d
Push individual images, combine afterwards
2021-03-28 23:03:42 +02:00
Viktor Strate Kløvedal
1543f74f6c
Update load images step
2021-03-28 21:52:26 +02:00
Viktor Strate Kløvedal
41520f912a
Format artifact name to not contain '/'
2021-03-28 21:46:50 +02:00
Viktor Strate Kløvedal
9d43104126
Fix path to artifact
2021-03-28 21:32:22 +02:00
Viktor Strate Kløvedal
d7bdefa42b
Add missing docker build output directory
2021-03-28 21:30:20 +02:00
Viktor Strate Kløvedal
5ec05e54ea
Ghactions save docker images in artifacts
2021-03-28 21:24:32 +02:00
Viktor Strate Kløvedal
3224cc8ce7
Use a ghaction matrix in docker build
...
to build each architecture individually
2021-03-28 19:39:22 +02:00
Viktor Strate Kløvedal
e29beea1ff
Add secret to cache key
...
To make it possible to invalidate cache if needed
2021-03-28 19:27:25 +02:00
viktorstrate
ec2a6e4ded
Remove cache restore key
2021-03-28 18:43:58 +02:00
viktorstrate
93d6962a35
Add libheif ppa to ghactions API tests
2021-03-27 23:15:14 +01:00
viktorstrate
1cd94eab5f
Add libheif-dev dependenc to gh-actions api tests
2021-03-27 22:36:21 +01:00
viktorstrate
440647836e
Set fixed ubuntu version for gh actions
2021-02-16 10:44:38 +01:00
viktorstrate
e5fc9b2cbc
Remove upgrade from tests
2021-02-15 23:40:02 +01:00
viktorstrate
724b7d84c8
Attempt to fix gh actions tests
2021-02-15 23:37:32 +01:00
viktorstrate
fb38aaa253
Fix API tests gh actions
2021-02-15 23:31:27 +01:00