Commit graph

54 commits

Author SHA1 Message Date
Frédéric Guillot
b68ada396a Rewrite API integration tests without build tags 2024-03-16 21:29:07 -07:00
Frédéric Guillot
420a3d4d95 Remove Golint
- Golint is deprecated
- Use staticcheck and golangci-lint instead
2024-02-24 21:17:56 -08:00
Thomas J Faughnan Jr
97ace53bc9 Makefile: quiet git describe and rev-parse stderr 2024-02-21 22:08:02 -08:00
Frédéric Guillot
4b0648f3d7 Update go.mod and add .exe suffix to Windows binary 2024-02-21 21:16:43 -08:00
Thomas J Faughnan Jr
2f8d3a7958 Makefile: do not force CGO_ENABLED=0 for miniflux target 2024-02-21 19:47:58 -08:00
Frédéric Guillot
bd573957e0 Debian packages are failing to build
Error seen on GitHub Actions:

```
-buildmode=pie requires external (cgo) linking, but cgo is not enabled
```
2024-02-07 21:35:06 -08:00
mcnesium
6086899b28 When building the docker image, make sure to pull the latest base image.
Fixes #2131 #2132
2023-10-17 19:01:32 -07:00
Frédéric Guillot
168a870c02 Move internal packages to an internal folder
For reference: https://go.dev/doc/go1.4#internalpackages
2023-08-10 20:29:34 -07:00
Frédéric Guillot
c234903255 Rename Miniflux package name to follow Go module naming convention
For reference: https://go.dev/ref/mod#major-version-suffixes
2023-08-09 22:10:44 -07:00
Frédéric Guillot
c980dfe434 Update RockyLinux image from 8 to 9
Closes #2010
2023-08-09 21:11:38 -07:00
Frédéric Guillot
e7ccf0aa1e Add SaveEntry function to API client 2023-07-30 15:52:49 -07:00
Frédéric Guillot
bb5f3ec6a8 Disable CGO explicitly to make sure the binary is statically linked
Apparently this behavior has been changed in Go 1.20: https://tip.golang.org/doc/go1.20#cgo
2023-02-25 16:55:11 -08:00
George Angelopoulos
84d5a9a354 Use automatic variable for build target file names 2022-10-19 20:37:28 -07:00
Frédéric Guillot
98c166c950 Update "make run" command to execute migrations 2022-09-18 16:57:40 -07:00
Frédéric Guillot
9ba15e9649 Build RPM and Debian packages on GitHub Actions 2022-07-30 20:11:21 -07:00
Frédéric Guillot
02e975d3f3 Add distroless Docker image variant 2022-03-15 22:55:31 -07:00
Frédéric Guillot
423e06cbe8 Build RPM and Debian package with PIE mode enabled 2021-09-25 16:16:47 -07:00
Frédéric Guillot
c2571f9f47 Remove completely generated files 2021-02-18 21:50:27 -08:00
Frédéric Guillot
713d575bad Update CI check for Go 1.16 2021-02-16 21:13:13 -08:00
Frédéric Guillot
6377f3a8b3 Fix regression introduced by PR #973
The relation "entries_user_feed_idx" already exists
2021-01-24 11:00:05 -08:00
Frédéric Guillot
b539eb8575 Fix auto-generated version (git describe) 2020-11-03 15:14:57 -08:00
Frédéric Guillot
73d73dc61e Move Debian package builder to main repo 2020-10-18 21:28:42 -07:00
Frédéric Guillot
578cd8b24b Move RPM build files to main repository 2020-10-18 16:20:00 -07:00
Frédéric Guillot
6e20d37dda Build multi-platform images with Docker Buildx 2020-10-18 15:09:47 -07:00
Frédéric Guillot
c394a61a4e Add Prometheus exporter 2020-09-27 20:04:48 -07:00
Frédéric Guillot
3b2f0a633c Update dependencies and remove vendor folder 2020-04-25 21:11:48 -07:00
Frédéric Guillot
d8ad49d14d Remove dependency on Sed to build Docker images
- Keep the Dockerfile standard and avoid external dependencies
- Use build args instead of Sed
- Bump Alpine Linux to version 3.11
- Always use the latest version of Golang
2019-12-28 11:38:07 -08:00
Frédéric Guillot
bacab20f4a Add Makefile target to build only amd64 Docker image 2019-11-26 23:00:17 -08:00
Frédéric Guillot
37f93d5127 Make sure integration tests are marked as failed in Github Actions 2019-10-21 19:38:24 -07:00
Frédéric Guillot
bf2ceded96 Add missing arm32v7 in loop 2019-09-30 23:20:22 -07:00
Frédéric Guillot
ca9cc692e4 Add Docker image variant for arm32v7 2019-09-22 10:49:42 -07:00
Frédéric Guillot
220d9e3d56 Move Dockerfile to main repo 2019-03-14 20:54:05 -07:00
Clar Charr
31e2669c4d Add more targets to Makefile
I put a comment above them saying that they're unsupported as they won't be tested on CI, etc., but they're still nice to have.
2019-01-02 20:31:48 -08:00
Frédéric Guillot
362fc5c2ff Add -mod=vendor in Makefile 2018-12-28 17:21:57 -08:00
Frédéric Guillot
b51e7ea448 Add Makefile target for current OS and architecture 2018-12-02 13:35:13 -08:00
Frédéric Guillot
154b6a3bf7 Improve Makefile
- Use -mod=vendor
- Use same naming convention for all platforms
- Move go generate to its own target
2018-12-02 11:09:06 -08:00
Frédéric Guillot
8d9e6a2c62 Add Windows build target 2018-12-01 18:11:25 -08:00
Frédéric Guillot
5ff0630726 Disable go test caching 2018-10-29 22:46:08 -07:00
Frédéric Guillot
054fc8ef99 Avoid duplication of ldflags in Makefile 2018-10-28 22:22:48 -07:00
Ashe Connor
92c98bd986 Add OpenBSD build 2018-10-23 19:29:50 -07:00
Frédéric Guillot
1d335390c2 Split Makefile linux targets by architecture 2018-09-16 19:14:44 -07:00
Frédéric Guillot
febce4f2e3 Split integration tests into multiple files 2018-08-25 11:55:47 -07:00
Frédéric Guillot
dbcc5d8a97 Use canonical imports 2018-08-24 21:56:39 -07:00
Frédéric Guillot
a40f592aab Strip binaries to reduce size 2018-06-29 20:43:03 -07:00
Frédéric Guillot
449020c1e8 Update .gitignore 2018-03-18 20:48:58 -07:00
MoritzFago
c811849771 Add FreeBSD build target 2018-03-18 20:44:13 -07:00
Frédéric Guillot
b78172033f Show API URL endpoints in user interface 2018-01-31 21:57:20 -08:00
Frédéric Guillot
bca717873e Enable debug mode for integration tests 2018-01-29 20:58:11 -08:00
Frédéric Guillot
208cf9892d Compile all ARM architectures 2018-01-20 13:25:21 -08:00
Frédéric Guillot
5a0598d7ad Update project path in Makefile 2018-01-04 22:04:18 -08:00