Commit graph

263 commits

Author SHA1 Message Date
09bebecd9f ci: Add compile steps before test steps 2023-12-07 23:42:01 +01:00
3a03657b1c ci: Rename oci image build step file
This is to enable a previous build out side of the container context.
2023-12-07 23:34:37 +01:00
e3ba53fa70 misc: Add network isolation between docker compose services 2023-12-07 23:32:21 +01:00
1bb00fcda9 misc: Add config volume for caddy
All checks were successful
ci/woodpecker/manual/test/1 Pipeline was successful
ci/woodpecker/manual/test/2 Pipeline was successful
ci/woodpecker/manual/test/3 Pipeline was successful
ci/woodpecker/manual/test/4 Pipeline was successful
ci/woodpecker/manual/build/1 Pipeline was successful
ci/woodpecker/manual/build/2 Pipeline was successful
ci/woodpecker/manual/build/3 Pipeline was successful
ci/woodpecker/manual/build/4 Pipeline was successful
ci/woodpecker/manual/build/5 Pipeline was successful
ci/woodpecker/manual/build/6 Pipeline was successful
ci/woodpecker/manual/build/7 Pipeline was successful
ci/woodpecker/manual/build/8 Pipeline was successful
Makes the container runnable.
2023-12-07 16:37:28 +01:00
beb7d72a9e build: Extend caddy config 2023-12-07 16:36:27 +01:00
1d52665659 ci: Fix woodpecker version 2 platform selection deprecation 2023-12-07 01:30:33 +01:00
9ab413c614 ui: Remove old build script
Some checks failed
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/manual/test/1 Pipeline was successful
ci/woodpecker/manual/test/2 Pipeline was successful
ci/woodpecker/manual/test/3 Pipeline was successful
ci/woodpecker/manual/test/4 Pipeline was successful
ci/woodpecker/manual/build/1 Pipeline was successful
ci/woodpecker/manual/build/2 Pipeline was successful
ci/woodpecker/manual/build/3 Pipeline was successful
ci/woodpecker/manual/build/4 Pipeline was successful
ci/woodpecker/manual/build/5 Pipeline was successful
ci/woodpecker/manual/build/6 Pipeline was successful
ci/woodpecker/manual/build/7 Pipeline was successful
ci/woodpecker/manual/build/8 Pipeline failed
2023-11-23 22:56:17 +01:00
99603fc4fc ui: Remove vs-code configuration
Don't checkin editor specific configs.
2023-11-23 22:55:03 +01:00
9f22c9d6f1 build: Remove old build script 2023-11-23 22:53:35 +01:00
e1477673b2 doc: Add minimal section for the UI 2023-11-23 22:50:36 +01:00
3a5763e40f doc: Remove pull instructions
I don't provide public/stable pre build images and you would anyway
need to build it locally for the caddy proxy...
2023-11-23 22:45:16 +01:00
ba258cd3a7 ci: Add test step before build
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
The project doesn't include tests but this might hopefully change
in the future.
2023-11-23 22:38:56 +01:00
f844b01309 ui: Update package-lock 2023-11-23 22:24:40 +01:00
9e45ef3071 misc: Ignore data directory from local setup 2023-11-23 22:08:35 +01:00
ae961c182d misc: Add ui and caddy to the docker-compose setup 2023-11-23 22:05:28 +01:00
5dde21b991 build: Add caddy build for revers proxy between ui and web
Caddy should be later used with the docker-compose setup.
The idea is to have it for local development. In production
you should use a reverse proxy with auth and certificate
managment (https).

I had to update the syntax version to support EOF with cat.
2023-11-23 21:58:05 +01:00
2e20c7e307 ci: Change to create steps for each platform
All checks were successful
ci/woodpecker/push/build Pipeline was successful
This should make debugging an parallelisation easier.
2023-11-23 21:30:31 +01:00
4d1094b003 ci: Add ui target
Some checks failed
ci/woodpecker/push/build Pipeline failed
2023-11-23 21:21:30 +01:00
739c4f5da8 ci: Replace pipeline with steps
Some checks failed
ci/woodpecker/push/build Pipeline failed
Pipeline was an old way to declare steps.
2023-11-23 21:18:51 +01:00
5418f632b6 ci: Update buildx plugin image to 2.2.1
Should fix git issues.
2023-11-23 21:17:44 +01:00
c49f1525ec ci: Add build step for none main branch
Only build without pushing if not on main branch.
2023-11-23 21:15:59 +01:00
a638778b1d ui: Add Dockerfile target for building the UI 2023-11-23 21:02:05 +01:00
aace2a0c95 web: Remove static file serving config 2023-11-23 21:00:20 +01:00
ab9d8213ee ui: Move out of the web package 2023-11-23 21:00:20 +01:00
38372e3869 web: Remove NodeJS interaction from Maven
I want to split the build of the web application and the UI into
tow different builds. The plan is to serve the UI though a NGINX
or another static file hosting application.
My original thought was to minimize the setup, but I have more pain
with my setup to build the app than its worth...
2023-11-23 21:00:20 +01:00
edad5fd140 misc: Update dependencies to news version 2023-11-23 21:00:20 +01:00
49576a7893 Revert "ci: Remove platfrom runner selection"
This reverts commit 858d871477.
I can only use the amd runner - for the moment I hope.
2023-11-23 21:00:20 +01:00
3c63bf9b27 misc: Update to Java 21 2023-11-23 21:00:19 +01:00
858d871477 ci: Remove platfrom runner selection
All checks were successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/manual/build/1 Pipeline was successful
ci/woodpecker/manual/build/2 Pipeline was successful
ci/woodpecker/manual/build/3 Pipeline was successful
2023-11-04 16:17:15 +01:00
2fc2577be7 ci: Update buildx plugin image version 2023-11-04 16:16:02 +01:00
77de183266 Change multi platform to run on one runner
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-10-31 20:54:36 +01:00
4651c874ca Add debugging port binding
Some checks failed
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/manual/build Pipeline failed
For local debugging.
2023-10-31 15:09:53 +01:00
fa1b6d1113 Fix CI registy settings
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/manual/build Pipeline was successful
2023-10-31 14:52:08 +01:00
084cf4e2ac Set buildx CI builder version set explicit
Some checks failed
ci/woodpecker/push/build Pipeline failed
2023-10-22 16:22:20 +02:00
86a400160e Change image repository to scaleway
Some checks failed
ci/woodpecker/push/build Pipeline failed
2023-10-17 19:20:26 +02:00
2ae5424066 Reenable amd image build in CI 2023-10-17 19:20:00 +02:00
2cd26c1f09 Disable amd64 container image ci build
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Pushing multi arch breakes the manifests

Refs:
- https://codeberg.org/forgejo/forgejo/issues/780
2023-09-17 17:40:37 +02:00
7171b8905a ci: Run only on main branche
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-07-27 01:04:49 +02:00
13693bf7a7 ci: Remove matrix ref in step name
It doesn't work -_-
2023-07-27 01:03:17 +02:00
b36b087302 build: Rename Containerfile to Dockerfile
All checks were successful
ci/woodpecker/push/build Pipeline was successful
We are now using Docker specific build instruction and using a generic
name doesn't make any sense now.
2023-07-27 00:50:50 +02:00
4b67b605f3 ci: Try to use native agents for each arch
All checks were successful
ci/woodpecker/push/build Pipeline was successful
2023-07-27 00:38:17 +02:00
4762911c8c build: Fix MAVEN_CLI_OPTS argument
Some checks are pending
ci/woodpecker/push/build Pipeline is pending
2023-07-27 00:28:04 +02:00
1bcc9af5ba build: Improve build caching and layering
Some checks failed
ci/woodpecker/push/build Pipeline failed
2023-07-27 00:20:58 +02:00
eef6b98171 build: Update java to version 20
Some checks failed
ci/woodpecker/push/build Pipeline failed
2023-07-26 19:45:33 +02:00
ab8b65f099 build: Skip test compilation/execution 2023-07-26 19:35:55 +02:00
d87af982f7 build/ci: Remove arm platform version
Some checks failed
ci/woodpecker/push/build Pipeline failed
2023-07-26 19:10:42 +02:00
aae16b0e88 build: Change to Docker with Buildx to build multi arch images
Some checks failed
ci/woodpecker/push/build Pipeline failed
ci/woodpecker/push/build/1 Pipeline is pending
ci/woodpecker/push/build/2 Pipeline is pending
ci/woodpecker/push/build/3 Pipeline is pending
The creation of a builder context is not automated. You might need to
create your own before running the script.

```
docker buildx create --name dchat-builder --use --bootstrap
```
2023-07-19 11:52:44 +02:00
b5ebeabec4 ci: Disable pulling images on each run
Some checks failed
ci/woodpecker/push/build Pipeline failed
This should prevent running into rate limits from DockerHub.
2023-07-18 20:24:53 +02:00
0d09f1d3b4 ci: Enable parallelization 2023-07-18 20:22:49 +02:00
616bcf1f18 ci: Simplify generating all builds
Some checks failed
ci/woodpecker/push/build Pipeline failed
2023-07-18 20:06:58 +02:00