16 Commits

Author SHA1 Message Date
ducoterra
f6aed2c86a add docker-compose init, up, and down targets 2021-12-13 15:11:00 -05:00
ducoterra
88716ad3ff populate default values for VERSION and IMAGE file when docker-init is run 2021-12-13 15:05:52 -05:00
ducoterra
5b3e196267 fix docker build and remove release 2021-12-12 19:30:55 -05:00
ducoterra
66b436219f prefix all docker commands with docker- 2021-12-12 19:20:30 -05:00
ducoterra
bce675fbd2 Add install, upgrade, and uninstall for helm
Add helm commands to handle installing and uninstall an app.
2021-12-05 22:13:38 -05:00
ducoterra
1532f30641 Add kubectl.makefile
Add kubectl make commands like set-namespace and create-regcred.
2021-12-05 22:13:32 -05:00
ducoterra
47dea4876f Add automated commit to chart-release
Add automated add and commit to chart-release.
2021-11-02 15:35:44 -04:00
Reese
30fb8c2171 Merge branch 'docker-buidlx-overhaul' into 'main'
Switch to container-builder buildx platform

See merge request services/common!2
2021-11-02 15:44:36 +00:00
ducoterra
a6053ed3f0 Add make git-release
Add command which makes an automated release from the VERSION file.
Commits and tags everything not staged in the repo.
2021-11-02 10:25:18 -04:00
ducoterra
3563c5c2aa Add make docker-release
Add docker-release command which updates the image tag in the
docker-compose.yaml and runs a `make push`.
2021-11-02 10:23:53 -04:00
ducoterra
40a217b585 Use buildx to create multi-arch images
clear and set the buildx context on push. Then use --push with buildx
build to push the multi-arch images immediately after creating them.
This gets around the need to store them locally (which won't work for
something like an M1 mac).
2021-11-02 10:22:48 -04:00
ducoterra
5e2bc5f872 Switch to container-builder buildx platform
Continue using buildx with a new container builder name
"container-builder".
2021-11-02 10:19:21 -04:00
ducoterra
ba12c923ba Remove docker-run
Docker-run was only useful in very specific projects. Projects should
either define their own "run" in their Makefile, add a
docker-compose.yaml, or specify instructions in the README.
2021-10-31 20:59:29 -04:00
ducoterra
3e8ca71358 Add chart-release to truenas.makefile
Add chart-release to add a subtree chart to the charts releases in the
charts repo.
2021-10-31 20:22:20 -04:00
ducoterra
4146777f85 Add helm.makefile
Add helm.makefile with a helm-release command to make a helm release.
2021-10-31 20:21:08 -04:00
ducoterra
8a52a21a39 Switch to multi-makefile strategy
Instead of putting everything in one makefile switch to a folder called
"make" with multiple makefiles. Move the original makefile to
"docker.makefile" and add kaniko and truenas to fill in later.
2021-10-31 15:03:59 -04:00