about summary refs log tree commit diff
path: root/users/fcuny/notes/Makefile (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build: be explicit about the image to useFranck Cuny2021-10-211-1/+1
| | | | | If we're not explicit, we're trying to run the image tagged `latest', but there's no image with that tag.
* build: get the proper version for taggingFranck Cuny2021-09-091-5/+2
| | | | | | | | | | | | We were evaluating the version of the app when the rule was evaluated, while we need to get the version after we run `flyctl deploy`. Since we're tagging a release, let's also annotate the tag. Remove the `--build-arg` argument to `flyct deploy` since it's being ignored (same with `docker build`). Closes #1.
* build: sleep before taggingFranck Cuny2021-08-241-0/+1
| | | | | | | The last deploy was tagged v13, while the version deployed was 14. It's possible that running `fly info` too quickly after a deploy returns the incorrect version. Adding a `sleep 5` before running the command for git tag.
* build: tag the repo after a deployFranck Cuny2021-08-151-2/+7
| | | | | | | | If the deployment is successful, tag the repository with the version being deployed on fly.io. Don't deploy unless the repository is clean (this is done with the target `worktree-clean`).
* build: add a MakefileFranck Cuny2021-08-051-0/+29
Add a Makefile to take care of most common operations (build, deploy, etc).