Skip to content

Commit

Permalink
updated conftest commands and gs bucket pull
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Carty committed Dec 30, 2020
1 parent ea58dd8 commit dd46a94
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,17 @@ gcloud asset export --output-path=gs://$MY_BUCKET_NAME/resource_inventory.json \

```
# Linux
$ wget https://github.com/open-policy-agent/conftest/releases/download/v0.17.1/conftest_0.17.1_Linux_x86_64.tar.gz
$ tar xzf conftest_0.17.1_Linux_x86_64.tar.gz
$ sudo mv conftest /usr/local/bin
export CONFTEST_VERSION=0.21.0
wget https://github.com/open-policy-agent/conftest/releases/download/v${CONFTEST_VERSION}/conftest_${CONFTEST_VERSION}_Linux_x86_64.tar.gz
sudo mv conftest /usr/local/bin
```
Installation process for other [OSes](https://www.conftest.dev/install/)

5. Clone this repo

6. Copy files from google storage to your location disk
```
gsutil cp gs://<your_bucket_name>/resource_inventory.json ./cai-dir
gsutil cp gs://$MY_BUCKET_NAME/resource_inventory.json ./cai-dir
```

6. Run the Tests
Expand Down

0 comments on commit dd46a94

Please sign in to comment.