1. Add a new step of cloning repo before building the docker image 2. Update the .gitignore file

Signed-off-by: kim-fitness <jianjin@cn.ibm.com>
This commit is contained in:
kim-fitness
2021-08-05 09:20:38 +08:00
parent ab17aad3d3
commit 21ca3eb826
2 changed files with 8 additions and 0 deletions

2
.gitignore vendored
View File

@@ -7,6 +7,8 @@ placement
*.dylib
!vendor/**
.idea
_output
# Test binary, built with `go test -c`
*.test

View File

@@ -21,6 +21,12 @@ You can reach the maintainers of this project at:
You have at least one running kubernetes cluster;
### Clone this repo
```sh
git clone https://github.com/open-cluster-management-io/placement.git
cd placement
```
### Deploy the placement controller
Set environment variables.
```sh