Skip to content

Commit dfbb3e9

Browse files
authored
Merge pull request #13 from GoogleCloudPlatform/infra
feat: Create release-please.yaml
2 parents c5ac74b + 2ce945f commit dfbb3e9

4 files changed

Lines changed: 120 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Copyright 2022 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
enabled: true
16+
always_check_pr_title: true

.github/release-please.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Copyright 2023 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
releaseType: terraform-module
16+
handleGHRelease: true
17+
primaryBranch: main
18+
bumpMinorPreMajor: true

.github/renovate.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
{
2+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
3+
"extends": [
4+
"config:base",
5+
":semanticCommits",
6+
":preserveSemverRanges",
7+
":rebaseStalePrs"
8+
],
9+
"stabilityDays":7,
10+
"ignorePaths": [],
11+
"labels": ["dependencies"],
12+
"vulnerabilityAlerts":{
13+
"labels":[
14+
"type:security"
15+
],
16+
"stabilityDays":0
17+
},
18+
"separateMajorMinor":false,
19+
"packageRules": [
20+
{
21+
"matchPaths": ["examples/**", "test/**", ".github/**"],
22+
"extends": [":semanticCommitTypeAll(chore)"]
23+
},
24+
{
25+
"matchPaths": ["*", "modules/**"],
26+
"extends": [":semanticCommitTypeAll(fix)"]
27+
},
28+
{
29+
"matchDepTypes": ["module"],
30+
"groupName": "TF modules"
31+
},
32+
{
33+
"matchDepTypes": ["require"],
34+
"groupName": "GO modules",
35+
"postUpdateOptions": ["gomodTidy"]
36+
},
37+
{
38+
"matchPackageNames": ["go"],
39+
"allowedVersions": "<1.19.0",
40+
"postUpdateOptions": ["gomodTidy"]
41+
},
42+
{
43+
"matchPackageNames": ["google", "google-beta"],
44+
"groupName": "terraform googles"
45+
}
46+
],
47+
"regexManagers": [
48+
{
49+
"fileMatch": ["(^|/)Makefile$"],
50+
"matchStrings": ["DOCKER_TAG_VERSION_DEVELOPER_TOOLS := (?<currentValue>.*?)\\n"],
51+
"datasourceTemplate": "docker",
52+
"registryUrlTemplate": "https://gcr.io/cloud-foundation-cicd",
53+
"depNameTemplate": "cft/developer-tools"
54+
},
55+
{
56+
"fileMatch": ["(^|/)build/(int|lint)\\.cloudbuild\\.yaml$"],
57+
"matchStrings": [" _DOCKER_TAG_VERSION_DEVELOPER_TOOLS: '(?<currentValue>.*?)'\\n"],
58+
"datasourceTemplate": "docker",
59+
"registryUrlTemplate": "https://gcr.io/cloud-foundation-cicd",
60+
"depNameTemplate": "cft/developer-tools"
61+
}
62+
]
63+
}

.github/trusted-contribution.yaml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Copyright 2023 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
annotations:
16+
- type: comment
17+
text: "/gcbrun"
18+
trustedContributors:
19+
- release-please[bot]
20+
- renovate[bot]
21+
- renovate-bot
22+
- forking-renovate[bot]
23+
- dependabot[bot]

0 commit comments

Comments
 (0)