about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* build: build the image before deployingFranck Cuny2021-08-141-1/+1
|
* build: trim the size of the Docker containerFranck Cuny2021-08-141-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.
* config: add vanityFranck Cuny2021-08-121-0/+2
|
* build: deploy to flyFranck Cuny2021-08-126-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.
* config: replace homelab with toolsFranck Cuny2021-08-121-2/+2
| | | | The repository for `homelab` is not ready yet.
* vanity: rewrite with templates and external configFranck Cuny2021-08-126-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).
* build: convert to go moduleFranck Cuny2021-08-121-0/+3
|
* Add a new target to the Makefile.Franck Cuny2018-04-081-0/+3
| | | | Add a target to open the console.
* Redirect go code to github.comFranck Cuny2018-03-304-0/+52
|
* Initial commitFranck Cuny2018-03-300-0/+0