Commit graph

115 commits

Author SHA1 Message Date
Dan Anglin 11f2196047
chore: upgrade Forgejo to v7.0.5 2024-07-03 23:33:38 +01:00
Dan Anglin 4af2de0f19
chore: upgrade Prod GTS to v0.16.0 2024-06-18 00:08:09 +01:00
Dan Anglin f262065ee3
fix: update GTS config template
Update the GTS config template for the 0.16.0 release.
2024-06-17 22:55:11 +01:00
Dan Anglin b1fc01abb8
chore: upgrade Dev GTS to v0.16.0 2024-06-17 22:41:59 +01:00
Dan Anglin d564356d3b
chore: upgrade Forgejo to v7.0.4 2024-06-13 20:00:19 +01:00
Dan Anglin f54dc3ead2
fix(gts): minor updates to GoToSocial
- Do not allow custom CSS anymore.
- Upgrade the base Alpine docker image to v3.20.
- Restyle the bullet points in the Night Owl CSS theme.
2024-05-30 13:23:12 +01:00
Dan Anglin 2389ab70b0
chore: upgrade Forgejo to v7.0.3
- Upgrade Forgejo to v7.0.3
- Upgrade the Alpine Docker image to v3.20
2024-05-22 20:20:42 +01:00
Dan Anglin bf5839aa82
chore: upgrade Forgejo to v7.0.2 2024-05-03 09:15:56 +01:00
Dan Anglin a428265852
chore: upgrade Forgejo to v7.0.1 2024-04-28 09:16:21 +01:00
Dan Anglin 19faf8ac8d
chore: upgrade Prod GTS to v0.15.0 2024-04-28 04:52:01 +01:00
Dan Anglin 15c5729316
fix(gts): update GTS deployment templates
Update the GoToSocial deployment templates in preparation for the 0.15.0
2024-04-28 04:40:56 +01:00
Dan Anglin c8b393823e
chore: upgrade Forgejo to v1.21.11-1 2024-04-19 19:00:22 +01:00
Dan Anglin cee4c2a3fd
chore: upgrade Dev GTS to v0.15.0 2024-04-12 20:26:56 +01:00
Dan Anglin d35f069d8b
chore: upgrade GTS to v0.14.2
Upgrade Prod and Dev GTS instances to version 0.14.2.

Update the Night Owl CSS theme so that it works with the HTML
refactoring in v0.14.2.
2024-04-12 17:29:16 +01:00
Dan Anglin f406ba545f
chore: upgrade Forgejo to v1.21.10-0 2024-04-10 16:11:22 +01:00
Dan Anglin 82da568ffb
chore: upgrade Forgejo to v1.21.6-0 2024-02-23 01:10:48 +00:00
Dan Anglin b8d5492456
chore: upgrade GTS to v0.13.3 2024-02-15 15:42:56 +00:00
Dan Anglin b159bebc0a
chore: upgrade GTS to v0.13.2 2024-02-06 19:10:52 +00:00
Dan Anglin 116e1814d6
fix(forgejo): skip yaml frontmatter
- Update the forgejo configuration to skip the YAML frontmatter
  when rendering asciidoc files.
- Upgrade the base image from alpine:3.18 to alpine:3.19
2024-02-06 00:52:29 +00:00
Dan Anglin d90546427c
chore: upgrade GTS to v0.13.1 2024-02-02 06:08:27 +00:00
Dan Anglin 58d2f2adb2
chore: upgrade Forgejo to v1.21.5-0 2024-02-01 08:57:15 +00:00
Dan Anglin 3495de3a01
chore: upgrade Forgejo to v1.21.4-0 2024-01-16 23:05:03 +00:00
Dan Anglin 3f04c1b3a2
chore: upgrade Forgejo to v1.21.3-0 2023-12-23 16:30:15 +00:00
Dan Anglin ee910722cb
feat: add backup support for Code Flow
Add support for taking on demand backups of Code Flow.
Resolves flow/services#7
2023-12-17 08:51:11 +00:00
Dan Anglin ab0f2029b5
chore: update config for Forgejo backups
Part of flow/services#7
2023-12-16 17:22:52 +00:00
Dan Anglin 5f675e7b9e
docs: update README 2023-12-16 17:20:48 +00:00
Dan Anglin 6cc8ee09c1
chore: upgrade Forgejo to v1.21.2-1 2023-12-16 12:09:26 +00:00
Dan Anglin aac7ae5ca2
chore: upgrade Forgejo to v1.20.6-1 2023-12-15 10:52:54 +00:00
Dan Anglin 3553df5d6e
chore: upgrade Forgejo to v1.20.6-0 2023-11-29 14:19:42 +00:00
Dan Anglin ce490db95d
refactor: internal actions package
Migrate all 'action' code to the new internal actions package to reduce
the number of internal packages.

Migrate the Bundle type to a separate package to avoid circular

Refactor code around bundle definition and download for relevant
2023-11-26 07:46:10 +00:00
Dan Anglin 9f7f920fb9
fix: update Link Flow
- Change link flow's container name to link-flow
- Add link to Work Flow.
2023-11-25 16:03:05 +00:00
Dan Anglin 9d2d5f36cc
refactor: move deploy code to internal package
Move the deploy code to an internal package in preparation for the
support for multiple mage targets deploying services to the Flow

Add an option to deploy a service in the foreground.
2023-11-25 15:52:25 +00:00
Dan Anglin ba68c51594
chore: upgrade Forgejo to v1.20.5-1 2023-11-25 14:20:49 +00:00
Dan Anglin ebc1b3a5fe
chore: upgrade Woodpecker to v1.0.5 2023-11-24 10:23:20 +00:00
Dan Anglin 25325e2856
refactor: update project structure

- 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.


- 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
Dan Anglin 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
Dan Anglin bf215d8891
chore: upgrade GTS to v0.12.0 and update config 2023-11-17 21:48:54 +00:00
Dan Anglin 0e36e1840a
chore: upgrade Forgejo to v1.20.5-0 2023-11-13 16:25:15 +00:00
Dan Anglin 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
Dan Anglin 8172a6b64d
feat(mage): shutdown an environment
Add a mage target for shutting down an entire environment.
2023-08-28 15:23:12 +01:00
Dan Anglin 5dd6ab8ee6
feat(mage): add a target to stop services 2023-08-28 15:14:36 +01:00
Dan Anglin 60a52ee66f
chore(codeflow): enable Forgejo Actions in prod 2023-08-28 13:24:13 +01:00
Dan Anglin 5753e98c93
chore: update config commit ref 2023-08-28 08:57:04 +01:00
Dan Anglin 18412e62cb
fix(forgejo): add support for enabling actions 2023-08-28 08:53:22 +01:00
Dan Anglin dd339eb3d6
fix: template updates and code fixes
This commit comes after provisioning the development environment.


- 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
Dan Anglin a51db2d523
feat: add environment support
Add support for deploying to different environments.
2023-08-27 04:11:48 +01:00
Dan Anglin 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
Dan Anglin 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
Dan Anglin 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
Dan Anglin 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