aboutsummaryrefslogtreecommitdiff
path: root/tools (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-05-29tools(govanity): add the tool to flake.nixFranck Cuny1-0/+24
Change-Id: Ib2792fa8c3f861d290f2495a10672cdfd11c48d9
2022-05-29tools(govanity): remove unneeded filesFranck Cuny5-147/+0
These files are not needed in the monorepo. Change-Id: I742316d7a6fae817bedbcd2e1f91963bc24c91b7
2022-05-25ref(dnsupdate): move under toolsFranck Cuny6-0/+881
Integrate properly the tool `dnsupdate` with flake.nix, by adding a default.nix inside its directory. Having all the tools under a directory named `tools` is easier to reason about. I don't need a go.mod at the top level directory either, each tool will have its own.
2022-05-13remove unused MakefileFranck Cuny1-27/+0
2022-05-11drone: add a configurationFranck Cuny1-0/+18
2022-05-11scripts: add a script to deployFranck Cuny3-6/+25
Remove the target from the Makefile, add a target to the flake configuration.
2022-05-11Dockerfile: update stepsFranck Cuny1-2/+2
2022-05-11README: update documentationFranck Cuny1-0/+4
2022-05-11add a flake.nix to the repositoryFranck Cuny4-0/+119
2021-10-10config: add mpd-statsFranck Cuny1-0/+2
2021-09-09build: tag correctly the releaseFranck Cuny1-4/+8
The version was evaluated before the deploy was done, we need to get that information after running `flyctl deploy`. Annotate the tag since we're doing a release. Remove the argument `IMAGE_REF` since it's being ignored.
2021-08-14build: create user before setting workdirFranck Cuny1-2/+2
2021-08-14build: build the image before deployingFranck Cuny1-1/+1
2021-08-14build: trim the size of the Docker containerFranck Cuny1-3/+20
Prior to this change, the size of the image was about 300MB: ``` ; docker images|grep fcuny/golang|grep days fcuny/golang.fcuny.net d07add42f21a69e2c057eae8492bbd599dc50082 9fd284c5d8ee 2 days ago 313MB fcuny/golang.fcuny.net ca3dd083f8d6642821781ce03829713524322bbe 8104afadfd1f 2 days ago 313MB ``` With this change, we're reducing the image to less than 10MB: ``` fcuny/golang.fcuny.net 19b3dccc1ff31534df3636d4d7d6a28c0ae1e189 c9ae35574f8e 24 seconds ago 9.09MB ``` Since there's storage and bandwidth involved in this process, there's no point in not going for a smaller image.
2021-08-12config: add vanityFranck Cuny1-0/+2
2021-08-12build: deploy to flyFranck Cuny6-17/+83
Don't deploy to Google App anymore, but use fly.io instead. Add steps to the Makefile to build a docker image, and to deploy the application to fly.io.
2021-08-12config: replace homelab with toolsFranck Cuny1-2/+2
The repository for `homelab` is not ready yet.
2021-08-12vanity: rewrite with templates and external configFranck Cuny6-22/+144
Rewrite the program to use external templates and load the configuration from an external source. We don't want to blindly send all the requests to some SCM since we want to support only some modules / program that way. There's two templates, one for requests coming from a browser, which list all the supported modules, and one for the `go get` command. For requests coming from `go get`, we generate a template that indicates where the repository is. The external configuration is in YAML, and list all the supported repositories, and the URL of the repository. It assumes a default VCS for all the modules (git in our case).
2021-08-12build: convert to go moduleFranck Cuny1-0/+3
2018-04-08Add a new target to the Makefile.Franck Cuny1-0/+3
Add a target to open the console.
2018-03-30Redirect go code to github.comFranck Cuny4-0/+52