Commit graph

83 commits

Author SHA1 Message Date
ba68c51594
chore: upgrade Forgejo to v1.20.5-1 2023-11-25 14:20:49 +00:00
ebc1b3a5fe
chore: upgrade Woodpecker to v1.0.5 2023-11-24 10:23:20 +00:00
25325e2856
refactor: update project structure
Changes:

- Most of the go code is now located in internal packages.
- Code refactored and simplified in some cases.
- Removed the 'download' mage target and integrated the download code
  into the internal 'prepare' package.
- Moved all mage target code to magefile.go.
- Added missing descriptions to the mage targets.
- Updated go.mod.

Fixed:

- Created a custom function to validate the checksum of the
  downloaded Woodpecker tar file.
- Specified the environment when running 'clean'.
2023-11-24 09:56:35 +00:00
beb3826190
chore: upgrade GTS to v0.12.2
Also update magefiles to always enable logging to os.Stdout when
verifying downloaded files.
2023-11-17 22:11:46 +00:00
bf215d8891
chore: upgrade GTS to v0.12.0 and update config 2023-11-17 21:48:54 +00:00
0e36e1840a
chore: upgrade Forgejo to v1.20.5-0 2023-11-13 16:25:15 +00:00
7937ecd50b
chore: upgrade Forgejo to v1.20.4-1
Upgrade Forgejo to v1.20.4-1

Also the URLs for the Forgejo files is now nicely formatted so the JSON
file for the Forgejo downloads is no longer needed and has been removed.
2023-09-22 12:42:10 +01:00
8172a6b64d
feat(mage): shutdown an environment
Add a mage target for shutting down an entire environment.
2023-08-28 15:23:12 +01:00
5dd6ab8ee6
feat(mage): add a target to stop services 2023-08-28 15:14:36 +01:00
60a52ee66f
chore(codeflow): enable Forgejo Actions in prod 2023-08-28 13:24:13 +01:00
5753e98c93
chore: update config commit ref 2023-08-28 08:57:04 +01:00
18412e62cb
fix(forgejo): add support for enabling actions 2023-08-28 08:53:22 +01:00
dd339eb3d6
fix: template updates and code fixes
This commit comes after provisioning the development environment.

Changes:

- templates: template the container name.
- mage: update the deploy target to deploy to specific environments.
- compose: fix network ref.
- traefik: merge all dynamic templates into one file.
- woodpecker(dockerfile): remove commands to copy entrypoint to the
  docker container since the entrypoint has been removed.
- traefik: add support for using existing TLS certificates.
2023-08-28 04:04:40 +01:00
a51db2d523
feat: add environment support
Add support for deploying to different environments.
2023-08-27 04:11:48 +01:00
f8c43f9709
chore: remove shared volume
Now that the shared volume is no longer needed it is removed from the
docker compose file.
2023-08-26 13:36:01 +01:00
ba9a865b55
chore(traefik): remove mounted shared directory
The mounted shared directory is no longer needed for now so it will
removed from all containers that are mounting it.

Changes for Traefik:

- Build all dynamic configurations inside the Traefik container.
- Remove the mount point for the shared directory.
2023-08-26 13:25:41 +01:00
1758d5a85c
chore(traefik): move traefik config to traefik
Move codeflow traefik configuration template over to the traefik
template directory.
2023-08-26 11:48:45 +01:00
6a0325a0a1
chore: upgrade woodpecker to v1.0.2
- Upgrade woodpecker to v1.0.2
- Move the traefik configuration over to traefik
- The entrypoint script is no longer needed
2023-08-26 11:30:01 +01:00
aa39cedd8b
chore(traefik): move GTS traefik config to traefik 2023-08-26 11:14:10 +01:00
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