mirror of
https://github.com/containers/podman.git
synced 2025-12-01 18:49:18 +08:00
Cirrus: add vendor_check_task
* Make sure that all vendored dependencies are in sync with the code and the vendor.conf by running `make vendor` with a follow-up status check of the git tree. * Vendor ginkgo and gomega to include the test dependencies. Signed-off-by: Chris Evic <cevich@redhat.com> Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
This commit is contained in:
@@ -34,27 +34,14 @@ between Ginkgo and the Go test framework.
|
||||
## Installing dependencies
|
||||
The dependencies for integration really consists of three things:
|
||||
* ginkgo binary
|
||||
* ginkgo sources
|
||||
* gomega sources
|
||||
|
||||
The following instructions assume your GOPATH is ~/go. Adjust as needed for your
|
||||
environment.
|
||||
|
||||
### Installing ginkgo
|
||||
Fetch and build ginkgo with the following command:
|
||||
Build ginkgo and install it under $GOPATH/bin with the following command:
|
||||
```
|
||||
GOPATH=~/go go get -u github.com/onsi/ginkgo/ginkgo
|
||||
```
|
||||
Now install the ginkgo binary into your path:
|
||||
```
|
||||
install -D -m 755 "$GOPATH"/bin/ginkgo /usr/bin/
|
||||
```
|
||||
You now have a ginkgo binary and its sources in your GOPATH.
|
||||
|
||||
### Install gomega sources
|
||||
The gomega sources can be simply installed with the command:
|
||||
```
|
||||
GOPATH=~/go go get github.com/onsi/gomega/...
|
||||
GOPATH=~/go make .install.ginkgo
|
||||
```
|
||||
|
||||
# Integration Tests
|
||||
|
||||
Reference in New Issue
Block a user