Added environment variables to travis.yml

Fixed `inspec check` violations

Signed-off-by: Russell Seymour <russell.seymour@turtlesystems.co.uk>
This commit is contained in:
Russell Seymour 2017-02-17 17:39:10 +00:00
parent 93f5dcd072
commit 993847c941
3 changed files with 12 additions and 1 deletions

View file

@ -5,5 +5,10 @@ cache: bundler
rvm: rvm:
- 2.3.1 - 2.3.1
env:
- AZURE_VM_NAME="example-01"
- AZURE_RESOURCE_GROUP_NAME="MyResourceGroup"
- AZURE_CREDS_FILE=".travis_azure_creds"
bundler_args: --without integration bundler_args: --without integration
script: bundle exec rake script: bundle exec rake

4
.travis_azure_creds Normal file
View file

@ -0,0 +1,4 @@
[1e0b427a-5634-494e-ae4f-ee558463ebbf]
client_id = "b02c53ce-f537-11e6-bc64-92361f002671"
client_secret = "myVerySecretPassword"
tenant_id = "b02c5e00-f537-11e6-bc64-92361f002671"

View file

@ -1,5 +1,7 @@
name: azure name: azure
title: Azure Resource Pack title: Azure Resource Pack
maintainer: russell@turtlesystems.co.uk maintainer: russell.seymour@turtlesystems.co.uk
summary: This resource pack provides compliance resources for Azure summary: This resource pack provides compliance resources for Azure
copyright: russell.seymour@turtlesystems.co.uk
copyright_email: russell.seymour@turtlesystems.co.uk
version: 0.1.0 version: 0.1.0