Skip to content

Commit 56f60db

Browse files
authored
Initial commit
0 parents  commit 56f60db

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2435
-0
lines changed

.github/settings.yml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
# The settings are inherited from common repository repo-settings (same file name and location)
2+
# You can append settings that are deeply merged with the inherited settings.
3+
#
4+
# When you have installed the GitHub App "repo-settings" in this repository,
5+
# any change of this settings.yml file is detected by the GitHub App and
6+
# the settings of this repository are updated immediately.
7+
#
8+
_extends: repo-settings:.github/common-settings.yml
9+
10+
# repo-specific settings
11+
#
12+
repository:
13+
# See https://terraform-ibm-modules.github.io/documentation/#/implementation-guidelines?id=module-names-and-descriptions
14+
15+
# By changing this field, you rename the repository.
16+
17+
# Uncomment this name property and set the name to the current repo name.
18+
# name: ""
19+
20+
# The description is displayed under the repository name on the
21+
# organization page and in the 'About' section of the repository.
22+
23+
# Uncomment this description property
24+
# and update the description to the current repo description.
25+
# description: ""

.github/workflows/ci.yml

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CI-Pipeline
2+
3+
# Controls when the workflow will run
4+
on:
5+
# Triggers the workflow on push or pull request events but only for the main branch
6+
push:
7+
branches: [main]
8+
pull_request:
9+
branches: [main]
10+
11+
# Allows you to run this workflow manually from the Actions tab
12+
workflow_dispatch:
13+
14+
jobs:
15+
call-terraform-ci-pipeline:
16+
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/[email protected]
17+
secrets: inherit
18+
with:
19+
craTarget: "examples/default"
20+
craGoalIgnoreFile: "cra-tf-validate-ignore-goals.json"

.github/workflows/release.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: Release-Pipeline
2+
3+
on:
4+
workflow_run:
5+
workflows: [CI-Pipeline]
6+
branches: [main]
7+
types:
8+
- completed
9+
10+
# Allows you to run this workflow manually from the Actions tab
11+
workflow_dispatch:
12+
13+
jobs:
14+
call-terraform-release-pipeline:
15+
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') }}
16+
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/[email protected]
17+
secrets: inherit

.gitignore

+56
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
# Local .terraform directories
2+
**/.terraform/*
3+
4+
# .tfstate files
5+
*.tfstate
6+
*.tfstate.*
7+
*.terraform.lock.hcl
8+
9+
# Crash log files
10+
crash.log
11+
12+
# Exclude all .tfvars files, which are likely to contain sentitive data, such as
13+
# password, private keys, and other secrets. These should not be part of version
14+
# control as they are data points which are potentially sensitive and subject
15+
# to change depending on the environment.
16+
#
17+
*.tfvars
18+
19+
# Ignore files for local testing
20+
test.tf
21+
22+
# Ignore override files as they are usually used to override resources locally and so
23+
# are not checked in
24+
override.tf
25+
override.tf.json
26+
*_override.tf
27+
*_override.tf.json
28+
29+
# Include override files you do wish to add to version control using negated pattern
30+
#
31+
# !example_override.tf
32+
33+
# Include tfplan files to ignore the plan output of command: terraform plan -out=tfplan
34+
# example: *tfplan*
35+
36+
# Ignore CLI configuration files
37+
.terraformrc
38+
terraform.rc
39+
40+
# Ignore .tfsec
41+
.tfsec/
42+
43+
# Ignore brew lock
44+
Brewfile.lock.json
45+
46+
# Ignore Mac files
47+
.DS_Store
48+
49+
# Ignore IDE files
50+
.idea/
51+
52+
# Node modules
53+
/node_modules
54+
55+
# Visual Studio Code
56+
.vscode/

.gitmodules

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
[submodule "common-dev-assets"]
2+
path = common-dev-assets
3+
url = https://github.com/terraform-ibm-modules/common-dev-assets
4+
branch = main

.pre-commit-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
common-dev-assets/module-assets/.pre-commit-config.yaml

.releaserc

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"tagFormat": "v${version}",
3+
"branches": ["main"],
4+
"plugins": [
5+
"@semantic-release/commit-analyzer",
6+
"@semantic-release/release-notes-generator",
7+
"@semantic-release/github",
8+
["@semantic-release/git", {
9+
"assets": "false"
10+
}],
11+
["@semantic-release/exec", {
12+
"successCmd": "echo \"SEMVER_VERSION=${nextRelease.version}\" >> $GITHUB_ENV"
13+
}]
14+
]
15+
}

.secrets.baseline

+85
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"exclude": {
3+
"files": "go.sum|^.secrets.baseline$",
4+
"lines": null
5+
},
6+
"generated_at": "2023-04-05T23:25:59Z",
7+
"plugins_used": [
8+
{
9+
"name": "AWSKeyDetector"
10+
},
11+
{
12+
"name": "ArtifactoryDetector"
13+
},
14+
{
15+
"name": "AzureStorageKeyDetector"
16+
},
17+
{
18+
"base64_limit": 4.5,
19+
"name": "Base64HighEntropyString"
20+
},
21+
{
22+
"name": "BasicAuthDetector"
23+
},
24+
{
25+
"name": "BoxDetector"
26+
},
27+
{
28+
"name": "CloudantDetector"
29+
},
30+
{
31+
"ghe_instance": "github.ibm.com",
32+
"name": "GheDetector"
33+
},
34+
{
35+
"name": "GitHubTokenDetector"
36+
},
37+
{
38+
"hex_limit": 3,
39+
"name": "HexHighEntropyString"
40+
},
41+
{
42+
"name": "IbmCloudIamDetector"
43+
},
44+
{
45+
"name": "IbmCosHmacDetector"
46+
},
47+
{
48+
"name": "JwtTokenDetector"
49+
},
50+
{
51+
"keyword_exclude": null,
52+
"name": "KeywordDetector"
53+
},
54+
{
55+
"name": "MailchimpDetector"
56+
},
57+
{
58+
"name": "NpmDetector"
59+
},
60+
{
61+
"name": "PrivateKeyDetector"
62+
},
63+
{
64+
"name": "SlackDetector"
65+
},
66+
{
67+
"name": "SoftlayerDetector"
68+
},
69+
{
70+
"name": "SquareOAuthDetector"
71+
},
72+
{
73+
"name": "StripeDetector"
74+
},
75+
{
76+
"name": "TwilioKeyDetector"
77+
}
78+
],
79+
"results": {},
80+
"version": "0.13.1+ibm.58.dss",
81+
"word_list": {
82+
"file": null,
83+
"hash": null
84+
}
85+
}

Brewfile

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
common-dev-assets/module-assets/Brewfile

0 commit comments

Comments
 (0)