-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into compute-typo
- Loading branch information
Showing
40 changed files
with
1,385 additions
and
551 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM alpine | ||
RUN apk update | ||
RUN apk add jq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/bin/sh | ||
for submodule in resourcemanager auth compute sql storage spanner dns pubsub container logging; do | ||
echo "Checking submodule $submodule" | ||
version=$(jq -r .version "puppet-$submodule-forge/metadata.json") | ||
name=$(jq -r .name "puppet-$submodule-forge/metadata.json" | sed 's!-!/!') | ||
echo "Found $name @ $version." | ||
jq ".dependencies = [.dependencies[] | if .name == \"$name\" then .version_requirement = \">= $version\" else . end]" magic-modules/build/puppet/_bundle/metadata.json > /tmp/metadata.json | ||
mv /tmp/metadata.json magic-modules/build/puppet/_bundle/metadata.json | ||
done | ||
|
||
cp -r -v ./magic-modules/build/puppet/_bundle/. ./release-bundle/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
platform: linux | ||
|
||
image_resource: | ||
type: docker-image | ||
source: | ||
# This task requires a container with 'jq'. | ||
repository: nmckinley/jq | ||
tag: 'v0.0.1' | ||
|
||
inputs: | ||
- name: puppet-resourcemanager-forge | ||
- name: puppet-auth-forge | ||
- name: puppet-compute-forge | ||
- name: puppet-sql-forge | ||
- name: puppet-storage-forge | ||
- name: puppet-spanner-forge | ||
- name: puppet-dns-forge | ||
- name: puppet-pubsub-forge | ||
- name: puppet-logging-forge | ||
- name: puppet-container-forge | ||
- name: magic-modules | ||
|
||
outputs: | ||
- name: release-bundle | ||
|
||
run: | ||
path: magic-modules/.ci/release/create_bundle_manifest.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule inspec
updated
6 files
+17 −13 | libraries/google_compute_firewalls.rb | |
+20 −16 | libraries/google_compute_instances.rb | |
+11 −7 | libraries/google_compute_zones.rb | |
+2 −2 | test/unit/firewalls_test.rb | |
+2 −2 | test/unit/instances_test.rb | |
+2 −2 | test/unit/zones_test.rb |
Submodule terraform
updated
from f2836c to 0142f2
Submodule terraform-beta
updated
from f06826 to e225e9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# Copyright 2018 Google Inc. | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
--- !ruby/object:Api::Product | ||
name: Access Context Manager | ||
prefix: gaccesscontextmanager | ||
versions: | ||
- !ruby/object:Api::Product::Version | ||
name: beta | ||
base_url: https://accesscontextmanager.googleapis.com/v1beta/ | ||
scopes: | ||
- https://www.googleapis.com/auth/cloud-platform | ||
objects: | ||
- !ruby/object:Api::Resource | ||
name: 'AccessPolicy' | ||
base_url: accessPolicies | ||
self_link: "accessPolicies/{{name}}" | ||
update_verb: :PATCH | ||
references: !ruby/object:Api::Resource::ReferenceLinks | ||
guides: | ||
'Access Policy Quickstart': 'https://cloud.google.com/access-context-manager/docs/quickstart' | ||
api: 'https://cloud.google.com/access-context-manager/docs/reference/rest/v1beta/accessPolicies' | ||
description: | | ||
AccessPolicy is a container for AccessLevels (which define the necessary | ||
attributes to use GCP services) and ServicePerimeters (which define | ||
regions of services able to freely pass data within a perimeter). An | ||
access policy is globally visible within an organization, and the | ||
restrictions it specifies apply to all projects within an organization. | ||
<%= indent(compile_file({}, 'templates/global_async.yaml.erb'), 4) %> | ||
parameters: | ||
- !ruby/object:Api::Type::String | ||
name: parent | ||
input: true | ||
required: true | ||
description: | | ||
The parent of this AccessPolicy in the Cloud Resource Hierarchy. | ||
Format: organizations/{organization_id} | ||
- !ruby/object:Api::Type::String | ||
name: title | ||
required: true | ||
description: | | ||
Human readable title. Does not affect behavior. | ||
properties: | ||
- !ruby/object:Api::Type::String | ||
name: name | ||
description: | | ||
Resource name of the AccessPolicy. Format: accessPolicies/{policy_id} | ||
output: true | ||
- !ruby/object:Api::Type::Time | ||
name: 'createTime' | ||
description: | | ||
Time the AccessPolicy was created in UTC. | ||
output: true | ||
- !ruby/object:Api::Type::Time | ||
name: 'updateTime' | ||
description: | | ||
Time the AccessPolicy was updated in UTC. | ||
output: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Copyright 2018 Google Inc. | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
--- !ruby/object:Provider::Terraform::Config | ||
name: AccessContextManager | ||
overrides: !ruby/object:Provider::ResourceOverrides | ||
AccessPolicy: !ruby/object:Provider::Terraform::ResourceOverride | ||
import_format: ["{{name}}"] | ||
example: | ||
- !ruby/object:Provider::Terraform::Examples | ||
name: "access_context_manager_access_policy_basic" | ||
skip_test: true | ||
primary_resource_id: "access-policy" | ||
version: <%= _version_name %> | ||
properties: | ||
name: !ruby/object:Provider::Terraform::PropertyOverride | ||
custom_flatten: templates/terraform/custom_flatten/name_from_self_link.erb | ||
description: | | ||
Resource name of the AccessPolicy. Format: {policy_id} | ||
custom_code: !ruby/object:Provider::Terraform::CustomCode | ||
pre_update: templates/terraform/pre_update/update_mask.erb | ||
post_create: templates/terraform/post_create/accesspolicy.erb | ||
# This is for copying files over | ||
files: !ruby/object:Provider::Config::Files | ||
# These files have templating (ERB) code that will be run. | ||
# This is usually to add licensing info, autogeneration notices, etc. | ||
compile: | ||
<%= lines(indent(compile('provider/terraform/product~compile.yaml'), 4)) -%> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.