From f25fd2dd3722d6e0aaf5417fb1a1c2dcbe0b44ae Mon Sep 17 00:00:00 2001 From: Marius Riedl Date: Tue, 2 Nov 2021 14:39:36 +0100 Subject: [PATCH] Add build manifest --- .build.yml | 19 +++++++++++++++++++ .gitignore | 2 +- README.md | 10 ++++++++++ 3 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 .build.yml diff --git a/.build.yml b/.build.yml new file mode 100644 index 0000000..c29a072 --- /dev/null +++ b/.build.yml @@ -0,0 +1,19 @@ +image: archlinux +packages: + - yarn + - s3cmd +secrets: + - e4146b49-df08-4c54-845a-25497b344736 +sources: + - https://git.xenrox.net/~xenrox/10man-web +tasks: + - lint: | + cd 10man-web + yarn install + yarn lint + - get_assets: | + cd 10man-web/src + s3cmd get --recursive s3://10man/assets || complete-build + - builds: | + cd 10man-web + yarn build diff --git a/.gitignore b/.gitignore index 403adbc..21ac77c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ .DS_Store node_modules /dist - +/src/assets # local env files .env.local diff --git a/README.md b/README.md index 9e4de51..e80d1c5 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[![builds.sr.ht status](https://builds.xenrox.net/~xenrox/10man-web/commits/.build.yml.svg)](https://builds.xenrox.net/~xenrox/10man-web/commits/.build.yml?) + # 10man-web ## Project setup @@ -23,3 +25,11 @@ yarn build ``` yarn lint ``` + +## Minio + +Request access to work with minio. + +We use minio as a binary file storage. CI is set up to load these files into the project before building the application. +To add files it is necessary to upload them to the 10man minio bucket. +In turn, local development will not work without getting the files from the bucket. -- 2.44.0