Skip to content

Commit e9ffdd7

Browse files
ci: update pipeline (#310)
1 parent c3fdff5 commit e9ffdd7

File tree

5 files changed

+20
-29
lines changed

5 files changed

+20
-29
lines changed

.github/settings.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,11 @@
55
# any change of this settings.yml file is detected by the GitHub App and
66
# the settings of this repository are updated immediately.
77
#
8-
_extends: repo-settings:.github/common-settings.yml
8+
_extends: repo-settings:.github/common-settings-v2.yml
99

1010
# repo-specific settings
1111
#
1212
repository:
1313
name: "terraform-ibm-vpe-module"
1414
description: "Create Virtual Private Endpoint Gateways across VPC subnets."
15-
16-
# The description is displayed under the repository name on the
17-
# organization page and in the 'About' section of the repository.
18-
19-
# Uncomment this description property
20-
# and update the description to the current repo description.
21-
# description: ""
15+
topics: core-team, terraform, ibm-cloud, terraform-module, virtual-private-endpoint, vpe

.github/workflows/ci.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
name: CI-Pipeline
22

3-
# Controls when the workflow will run
3+
# Controls when the workflow will run, when comment is created
44
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:
5+
issue_comment:
6+
types:
7+
- created
138

149
jobs:
1510
call-terraform-ci-pipeline:
16-
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/common-terraform-module-ci.yml@v1.13.0
11+
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/common-terraform-module-ci.yml@v1.14.0
1712
secrets: inherit
13+
with:
14+
craSCCv2: true
15+
craTarget: "examples/default"
16+
craRuleIgnoreFile: "cra-tf-validate-ignore-rules.json"

.github/workflows/release.yml

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,12 @@
11
name: Release-Pipeline
22

3+
# Trigger on push(merge) to main branch
34
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:
5+
push:
6+
branches:
7+
- main
128

139
jobs:
1410
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]
11+
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/[email protected]
1712
secrets: inherit

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# IBM Virtual Private Endpoints module
22

33
[![Stable (With quality checks)](https://img.shields.io/badge/Status-Stable%20(With%20quality%20checks)-green)](https://terraform-ibm-modules.github.io/documentation/#/badge-status)
4-
[![Build status](https://github.com/terraform-ibm-modules/terraform-ibm-vpe-module/actions/workflows/ci.yml/badge.svg)](https://github.com/terraform-ibm-modules/terraform-ibm-vpe-module/actions/workflows/ci.yml)
54
[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
65
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
76
[![latest release](https://img.shields.io/github/v/release/terraform-ibm-modules/terraform-ibm-vpe-module?logo=GitHub&sort=semver)](https://github.com/terraform-ibm-modules/terraform-ibm-vpe-module/releases/latest)
7+
[![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com/)
88

99
This module creates and configures virtual private endpoint gateways (https://cloud.ibm.com/docs/vpc?topic=vpc-ordering-endpoint-gateway) for an IBM Cloud service.
1010

cra-tf-validate-ignore-rules.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"scc_rules": []
3+
}

0 commit comments

Comments
 (0)