Commit graph

114 commits

Author SHA1 Message Date
9a22c7c7dc
chore(gts): ensure config file is up-to-date 2023-08-26 09:48:43 +01:00
f5e619c75c
fix(landing): updated config for landing page 2023-08-25 01:23:59 +01:00
4eba300480
feat: add the landing page to Flow Platform
Welcome :)
2023-08-24 15:30:14 +01:00
5a757d2ed5
fix(gts/css): update word-wrap for fields
Update the word wrap in profile fields to make unbreakable words
breakable if required.
2023-08-23 00:39:06 +01:00
6e9524113c
feat(gts): add Night Owl CSS theme for GoToSocial
Add a new CSS theme called 'Night Owl' for my GoToSocial profile page.
2023-08-23 00:26:01 +01:00
2152024c11
chore: upgrade Forgejo to v1.20.3-0
- Upgrade Forgejo to v1.20.3-0
- Remove the FORGEJO_WORK_DIR environment variable in favour of the
  WORK_PATH setting in app.ini
- Updated storage configuration for avatar, attachements, repo-avatar
  and repo-archives
- Removed unsupported picture config. This is now managed under avatar
  and repo-avatar config
2023-08-21 22:01:43 +01:00
a0df9307a0
chore: upgrade GTS to v0.11.1 2023-08-21 19:20:55 +01:00
c7b5859ae6
chore: upgrade GTS to v0.11.0 and update config
- Upgrade GoToSocial to v0.11.0
- Template the base web directory
- Template the container's timezone
- Update the configuration template
2023-08-15 18:51:39 +01:00
49568d5f15
fix(gts): add custom fonts to GTS
- Update the Dockerfile to copy custom fonts to the web directory.
- Add the Karla font to GTS.
2023-08-15 13:37:57 +01:00
87e29a8bfe
chore: add fonts to LFS 2023-08-15 13:29:43 +01:00
3076b82055
fix(traefik): update the root domain redirect rule
Update the replacement value for the root domain's redirect rule.
2023-08-01 16:40:45 +01:00
9e24f50653
fix(traefik): redirect root domain to Free Flow
Redirect requests made to the root domain to Free Flow.
2023-08-01 02:45:28 +01:00
032c080b99
fix(traefik): update Traefik deployment
- Upgrade Traefik to version 2.10.4.
- Remove the unused dashboard router and disable the dashboard.
- Remove the now unsupported pilot token.
2023-08-01 01:15:48 +01:00
baf5f13c51
chore: upgrade Woodpecker to v1.0.0
- Update the Woodpecker Dockerfile.
- Add .dockerignore to limit the context.
- Add code to download the Woodpecker binary.
- Refactor the prepare target.
2023-07-31 00:40:19 +01:00
428a59faaa
refactor(mage): refactor download code
- Refactor the code for the Download target to reduce repeated code
  and (hopefully) improve readability.
- The code now checks to see if each of the downloaded files already
  exists.
- The verification will always run if enabled regardless of whether the
  files are already downloaded or not.
2023-07-30 22:37:51 +01:00
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