diff --git a/.gitlab/ci/.deploy-k8s.yml b/.gitlab/ci/.deploy-k8s.yml index 25253eaccf1478c98b1c32024dfb3c16f8bc5af3..e2d8e52baae3834784bfd8cbe1a36f38d699b3bd 100644 --- a/.gitlab/ci/.deploy-k8s.yml +++ b/.gitlab/ci/.deploy-k8s.yml @@ -13,7 +13,7 @@ build:k8s-bot: - build/cd/k8s-bot .deploy: &deploy - image: + image: name: ${CI_DEPENDENCY_PROXY_GROUP_IMAGE_PREFIX}/bitnami/kubectl:latest entrypoint: [""] before_script: diff --git a/README.md b/README.md index 4e4a4e4cd0d2163d72d566b1699620abbecbca92..0835d28c90b8eaa7b033343d1d4a753e7a77824b 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ - [Overview](#overview) - [Concepts](#concepts) -- [Installation](#installation) +- [Installing](#installing) - [Getting Started](#getting-started) * [k8s](#k8s) * [Using the goSDN CLI](#using-the-cli) @@ -37,17 +37,21 @@ The PND is the single source of truth within a network. Its state is held and ma Any device directly configured by `goSDN` -# Installation +# Installing You can install the latest release of `goSDN` locally using the `go get` command. Since the repository and some dependencies are not publicly available you have to modify your git config first: ```sh +> git config --global url."git@code.fbi.h-da.de:".insteadOf "https://code.fbi.h-da.de" +> go env -w GOPRIVATE=code.fbi.h-da.de/cocsn/* > go get code.fbi.h-da.de/danet/gosdn/cmd/gosdn ``` To install the development version you need to clone the repo and use `go install` to build and install the binary: ```sh # If you haven't cloned the repo yet +> git config --global url."git@code.fbi.h-da.de:".insteadOf "https://code.fbi.h-da.de" +> go env -w GOPRIVATE=code.fbi.h-da.de/cocsn/* > cd $GOPATH/src -> git clone git@code.fbi.h-da.de:danet/gosdn.git +> git clone git@code.fbi.h-da.de:cocsn/gosdn.git # checkout the develop branch (or any other branch) > cd $GOPATH/src/code.fbi.h-da.de/danet/gosdn