Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Commit

Permalink
Run E2E tests against forseti-security master branch (#3405)
Browse files Browse the repository at this point in the history
  • Loading branch information
gkowalski-google authored and kevensen committed Nov 5, 2019
1 parent c3e503b commit e2346c0
Show file tree
Hide file tree
Showing 8 changed files with 21 additions and 14 deletions.
2 changes: 1 addition & 1 deletion integration_tests/fixtures/bastion/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2018 Google LLC
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/fixtures/bastion/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2018 Google LLC
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion integration_tests/fixtures/bastion/variables.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2018 Google LLC
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
3 changes: 2 additions & 1 deletion integration_tests/fixtures/forseti/main.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2018 Google LLC
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -46,6 +46,7 @@ module "forseti" {
project_id = var.project_id
org_id = var.org_id
domain = var.domain
forseti_version = var.forseti_version

client_instance_metadata = {
sshKeys = "ubuntu:${tls_private_key.main.public_key_openssh}"
Expand Down
10 changes: 5 additions & 5 deletions integration_tests/fixtures/forseti/outputs.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2018 Google LLC
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -18,10 +18,10 @@ output "bastion_host" {
value = module.bastion.host
}

output "forseti-cai-storage-bucket" {
description = "Forseti CAI storage bucket"
value = module.forseti.forseti-cai-storage-bucket
}
//output "forseti-cai-storage-bucket" {
// description = "Forseti CAI storage bucket"
// value = module.forseti.forseti-cai-storage-bucket
//}

output "forseti-client-vm-ip" {
description = "Forseti Client VM private IP address"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

# Copyright 2018 Google LLC
# Copyright 2019 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
Expand Down
8 changes: 7 additions & 1 deletion integration_tests/fixtures/forseti/variables.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/**
* Copyright 2018 Google LLC
* Copyright 2019 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -33,3 +33,9 @@ variable "org_id" {
variable "project_id" {
description = "The ID of an existing Google project where Forseti will be installed"
}

variable "forseti_version" {
description = "The version of Forseti to deploy"
default = "master"
}

6 changes: 3 additions & 3 deletions integration_tests/tests/forseti/inspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ attributes:
- name: forseti-server-service-account
required: true
type: string
- name: forseti-cai-storage-bucket
required: true
type: string
#- name: forseti-cai-storage-bucket
# required: true
# type: string
- name: kms_resources_names
required: true
type: array
Expand Down

0 comments on commit e2346c0

Please sign in to comment.