Commit graph

49 commits

Author SHA1 Message Date
b961753dd2
perf(forgejo): optimise docker build
- Mount the context directory to the build container to copy files over
  to their destinations.
- Add .dockerignore to minimize the context.
2023-07-30 18:55:38 +01:00
e2e8424d1a
chore: upgrade Forgejo to v1.20.2-0 2023-07-30 18:05:30 +01:00
b6fecdf23c
refactor(gts): update Dockerfile
- Copy files from the context from within the RUN directive since the
  context directory is mounted in the container.
- Finalise the WORKDIR to /flow/gts
2023-07-30 01:55:21 +01:00
a4819c61c8
feat(gts): add background image for GTS
Add a background image for the custom CSS for GoToSocial.
2023-07-29 01:07:11 +01:00
94db6cbe19
add .gitattributes 2023-07-29 01:03:32 +01:00
55b53c78e5
fix(gts): template the landing-page-user config 2023-07-28 16:00:55 +01:00
da62c220b6
chore: upgrade Forgejo to v1.20.1-0
- Upgrade Forgejo to v1.20.1-0.
- Update the Dockerfile by removing the openssh-keygen binary as it is
  no longer used by default.
2023-07-25 12:37:23 +01:00
09a0c52af1
chore: upgrade GTS to v0.10.0 and update config 2023-07-21 22:48:35 +01:00
504cd1b59e
chore: upgrade GTS to v0.9.0 and update config 2023-07-21 20:53:30 +01:00
cdbbe2fce1
chore: upgrade GTS to v0.8.1 and update config 2023-07-21 18:54:27 +01:00
f151650726
chore: upgrade Forgejo to v1.19.4-0 2023-07-12 20:03:51 +01:00
342a0eeb31
feat(forgejo): update forgejo configuration
- Use alpine 3.18 as the base image for Forgejo.
- Stop logging SQL statements.
- Change the default merge style to 'squash'.
- Add support for converting asciidoc to html.
2023-05-22 07:44:03 +01:00
bcd67bc3f6
feat: add Work Flow to Flow Platform
- Deploy Work Flow (woodpecker) to the Flow Platform.
- Enable oauth2 in Code Flow.
2023-05-11 23:17:46 +01:00
f390ddfe07
chore: upgrade Forgejo to v1.19.3-0 2023-05-09 22:30:39 +01:00
5be1d30b41
chore: upgrade Forgejo to v1.19.2-0 2023-05-09 22:00:43 +01:00
31e5035f8c
fix: change directory after downloading binaries 2023-04-27 08:19:14 +01:00
6c41a76830
chore: upgrade Forgejo to v1.19.1-0 2023-04-27 08:00:46 +01:00
bac140c246
chore: upgrade Forgejo to v1.19.0-3 2023-04-27 07:50:05 +01:00
042f3e2364
fix: build GTS docker image from base Alpine image
Changes:

- Update the Dockerfile template to build the GTS image from alpine:3.17.
- Add logic to download and verify GTS packages.
- Allow the Download target to be more forgiving for a service that does not need to download any files.
- The Download target is now a dependency to the Render target for all services that aren't named 'compose'.
- Update the path to the web files in the GTS config file.
- Update the entrypoint to use the correct path of the GTS executable file.

Chores:

- Remove unused DockerImageDigest setting from GTS config.
2023-02-26 17:14:39 +00:00
5f00909726
build(download): rename DownloadForgejo to Download 2023-02-25 21:16:20 +00:00
67510372ee
build(mage): update downloadForgejo target
- refactor the downloadForgejo logic
- add a step to validate the binary's digest
2023-02-25 21:00:23 +00:00
8000ae308c
chore(gts): upgrade GTS to v0.7.1
- Upgrade GTS to v0.7.1.
- Update GTS configuration to align with the 0.7.x releases.
2023-02-24 18:47:10 +00:00
d23e6e531f
build: allow mage to deploy all services
- Mage can now render templates for all services using:
  mage render all

- Mage can now deploy all services using:
  mage deploy all

- Deploy now depends on Render

- If rendering Forgejo templates mage ensures that the Forgejo
  binary is downloaded first.
2023-02-24 18:07:08 +00:00
4e5ed6e9e5
build: add dependencies for render targets
- add downloading the forgejo binary as a dependency to rendering the
  forgejo templates.
- add rendering the compose file as a dependency for rendering
  non-compose targets.
2023-02-24 09:12:01 +00:00
78f31ab007
chore: deploy Forgejo v1.18.5-0
- Deploy Forgejo v1.18.5-0.
- Download the shasum file from Codeberg.
2023-02-24 08:23:19 +00:00
50f9d96d38
chore: upgrade Forgejo to v1.18.3-2 2023-02-23 19:00:18 +00:00
a2eb4c298f
chore: update config 2023-02-19 09:47:02 +00:00
e5150965f2
chore: remove old build constraints syntax 2023-02-13 08:07:19 +00:00
c1bb02f98f
chore: add LICENSE 2023-02-12 21:11:04 +00:00
70657a478d
chore: remove .helpers/download-forgejo.sh 2023-02-12 21:06:37 +00:00
3340ddc475
build: automation with Go and Mage
We shall now use Go and Mage to manage the Flow services. The templates
have been converted to Go templates, Mage has replaced Make and the
helper bash scripts have been rewritten in Go.
2023-02-12 20:59:55 +00:00
74d1638ce5
chore: add make clean 2023-02-11 06:07:06 +00:00
db2b34b2de
feat: make targets for deployment
- Created new make targets for deployments of the services.
- Created a new helper script for the deployment.
2023-02-10 21:34:56 +00:00
b7c7d18f71
chore: upgrade Forgejo to v1.18.3-1 2023-02-10 20:59:17 +00:00
e73bfdc470
fix: set LFS_START_SERVER to true 2023-02-10 20:42:27 +00:00
a2ceefa654
fix(forgejo): enable federation 2023-02-09 23:21:27 +00:00
2b56c7a466
chore: successfully migrated from gitea to forgejo 2023-02-09 03:06:36 +00:00
fa12b7491c
fix: update GTS configuration
- Change the instance name to 'Free Flow'.
- Change the local GTS docker image version from 'latest' to
  $GTS_VERSION.
- Use GTS_DOCKER_IMAGE_DIGEST to specify the image digest.
- Allow users (i.e. myself) to upload custom CSS.
2023-02-05 16:07:36 +00:00
92a56e0941
chore: upgrade Gitea to v1.18.3
- Upgrade Gitea to v1.18.3.
- Use alpine:3.17 as base for the Gitea docker image.
- Download the Gitea binary from GitHub.
2023-02-01 19:59:46 +00:00
5a4a0b807b
chore: update gotosocial 2023-02-01 19:22:45 +00:00
ba9025d4d5
fix: update Gitea
- Upgrade Gitea to v1.18.0
- Update the configuration to allow signing merge commits
- Fixed download-gitea.sh
2023-01-16 19:48:20 +00:00
163ae108e6
chore: add config submodule and update render script 2022-11-21 17:31:28 +00:00
0609c7d070
fix(gts): set user to 0 before RUN in Dockerfile 2022-11-21 07:03:12 +00:00
36811204f2
feat: add GoToSocial to the Flow Platform 2022-11-21 05:49:41 +00:00
f2a5829aed
fix: easily deploy specific versions of Gitea
Update templates and add a helper script to download and build the
version of Gitea that is specified in the configuration file.
2022-11-18 23:26:33 +00:00
cf13a5300b
fix: small fix with traefik config template 2022-11-18 19:28:10 +00:00
7340aa93da
fix: fixed templating of the services 2022-11-18 19:05:58 +00:00
07f27f274d
Add services 2022-11-18 15:08:16 +00:00
585dbbde02
Add README.md 2022-11-13 20:36:04 +00:00