@afirth 2019
brew install --with-default-names make)GBDX requires a username and password to get a token. For this project I built the token request into the server rather than as a separate service. A valid username and password must be present in the environment. This will be also be inherited by docker-compose and used to make the kubernetes secret.
export USERNAME=<gbdx-user-email>
export PASSWORD=<gbdx-password>
make up
make docker-compose-up
Note: this will not automatically rebuild. Run docker-build if required (or docker-compose up --build)
make kube-secret
make kube-up
kubectl scale deployment fm-test --replicas=<n>
By default, kube deployment pulls from dockerhub image. To use a local image:
eval $(minikube docker-env)
make docker-build
docker tag fm-test afirth/fm-test:<version>
make test runs unit testsmake test-e2e runs unit and e2e testsmake build builds for developmentmake build-final builds for use in images, with vendored deps and no debuggingContent type
Image
Digest
Size
5.1 MB
Last updated
over 7 years ago
docker pull afirth/fm-test