Commit graph

2 commits

Author SHA1 Message Date
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
Platform.

Add an option to deploy a service in the foreground.
2023-11-25 15:52:25 +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