Merge pull request #1271 from mikebrow/update-readme-goinstr

need to move instr to more recent golang; remove integration/*.go from lint verify test
This commit is contained in:
Lantao Liu 2019-09-09 17:00:53 -07:00 committed by GitHub
commit 307e802aa5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -55,7 +55,7 @@ version: ## print current cri plugin release version
lint:
@echo "$(WHALE) $@"
golangci-lint run --skip-files .*_test.go
golangci-lint run --skip-files .*_test.go --skip-dirs='(integration)'
gofmt:
@echo "$(WHALE) $@"

View File

@ -82,7 +82,7 @@ specifications as appropriate.
backport version of `libseccomp-dev` is required. See [travis.yml](.travis.yml) for an example on trusty.
* **btrfs development library.** Required by containerd btrfs support. `btrfs-tools`(Ubuntu, Debian) / `btrfs-progs-devel`(Fedora, CentOS, RHEL)
2. Install **`socat`** (required by portforward).
2. Install and setup a go 1.10 development environment.
2. Install and setup a go 1.12.9 development environment. (Note: You can check the travis logs for a recent pull request to confirm the version(s) of golang currently being used to build and test master.)
3. Make a local clone of this repository.
4. Install binary dependencies by running the following command from your cloned `cri/` project directory:
```bash