Nenhuma descrição

peter 43a781581c Add DockerCon 2020 header image and update font 5 anos atrás
.github 693aa7b849 Remove golangci-lint action, use executable 5 anos atrás
azure 872e81862a Fix typo (and refactor the method name) 5 anos atrás
backend 1e19d977e0 Initial functional login command : added Cloud API with generic Login() 5 anos atrás
cli ad0fd73c31 Add config file tests 5 anos atrás
client 7edc6659a2 Add unit tests for login process 5 anos atrás
compose 14fb12c8c8 Let `make protos` affect host files 5 anos atrás
containers fcb4b606e2 Add labels to containers on run 5 anos atrás
context 7edc6659a2 Add unit tests for login process 5 anos atrás
docs 44712ab3c4 Move CLI UX docs into folder 5 anos atrás
errdefs 69f10fe80c Extract interface / types to allow unit tests / mock 5 anos atrás
example 7edc6659a2 Add unit tests for login process 5 anos atrás
moby fcb4b606e2 Add labels to containers on run 5 anos atrás
multierror 6486f199e2 Add multierror 5 anos atrás
server 91c1cddc70 Remove extra \n in server to appease linter 5 anos atrás
tests 43a781581c Add DockerCon 2020 header image and update font 5 anos atrás
.dockerignore cbfcd5cf64 Add dockerignore 5 anos atrás
.gitignore fcc7582826 Remove non-project path 5 anos atrás
.golangci.yml 69f10fe80c Extract interface / types to allow unit tests / mock 5 anos atrás
Dockerfile d8a38afecc Implement printing published ports 5 anos atrás
Makefile ee4ffcb5f4 Extend lint timeout 5 anos atrás
README.md f71ef61fef Remove unused setup-dev.sh, add protoc to the readme 5 anos atrás
builder.Makefile 7b26e8e836 Faster build 5 anos atrás
go.mod f118856076 Merge pull request #112 from rumpl/chore-clean-deps 5 anos atrás
go.sum b854cf2114 go mod tidy 5 anos atrás

README.md

Docker API

Actions Status

Dev Setup

The recommended way is to use the main Makefile that runs everything inside a container.

If you don't have or want to use Docker for building you need to make sure you have all the needed tools installed locally:

And then you can call the same make targets but you need to pass it the builder.Makefile (make -f builder.Makefile).

Building the project

$ make

If you make changes to the .proto files, make sure to make protos to generate go code.

Tests

To run unit tests:

make test

If you need to update a golden file simply do go test ./... -test.update-golden.