Setup proper CICD pipeline #45

Closed
opened 2021-04-28 21:30:54 +02:00 by Jef Roosens · 1 comment

TODO split this issue

We got the Woodpecker, now we gotta start using it.

  • Run linting
    • frontend
    • backend
  • Auto-run tests
    • backend

The biggest challenge here is finding a way to cache the dependencies. One idea is to host our own S3 store (e.g. Minio), and to use this as our cache. We can then use the plugins/s3-cache plugin to cache the dependencies.

Another is figuring out how to make our repository trusted so we can host volumes, but this solution is less ideal because other users of this Gitea instance wouldn't be able to use it.

Once the tests are up and running, we can configure Renovatebot to auto-merge dependency updates when they pass our tests.

  • Cache Cargo home

Without this, Cargo has to update its index every time, and download all the dependencies.

TODO split this issue We got the Woodpecker, now we gotta start using it. - [x] Run linting - [x] frontend - [x] backend - [x] Auto-run tests - [x] backend The biggest challenge here is finding a way to cache the dependencies. One idea is to host our own S3 store (e.g. [Minio](https://github.com/minio/minio)), and to use this as our cache. We can then use the [`plugins/s3-cache`](https://hub.docker.com/r/plugins/s3-cache) plugin to cache the dependencies. Another is figuring out how to make our repository trusted so we can host volumes, but this solution is less ideal because other users of this Gitea instance wouldn't be able to use it. Once the tests are up and running, we can configure Renovatebot to auto-merge dependency updates when they pass our tests. - [x] Cache Cargo home Without this, Cargo has to update its index every time, and download all the dependencies.
Jef Roosens added this to the Fej 1.1.0 - The Calm before the Storm milestone 2021-04-28 21:30:54 +02:00
Jef Roosens added the
enhancement
label 2021-04-28 21:30:54 +02:00
Jef Roosens self-assigned this 2021-04-28 21:30:54 +02:00
Jef Roosens added this to the Fej 1.1.0 project 2021-04-28 21:30:54 +02:00
Jef Roosens added a new dependency 2021-04-29 09:17:39 +02:00
Jef Roosens added the
project/frontend
project/backend
labels 2021-04-29 09:27:39 +02:00
Jef Roosens added a new dependency 2021-04-29 09:27:51 +02:00
Jef Roosens added a new dependency 2021-05-10 17:01:20 +02:00
Jef Roosens added a new dependency 2021-05-10 17:10:59 +02:00
Jef Roosens referenced this issue from a commit 2021-05-10 22:22:10 +02:00

Caching is now implemented and setup thanks to Minio.

Caching is now implemented and setup thanks to Minio.
Jef Roosens removed a dependency 2021-05-12 12:20:46 +02:00
Sign in to join this conversation.
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Reference: Chewing_Bever/fej#45
There is no content yet.