Skip to content

Commit

Permalink
ci: update pipeline (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-butler-irl committed Jun 7, 2023
1 parent c3fdff5 commit e9ffdd7
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 29 deletions.
10 changes: 2 additions & 8 deletions .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,11 @@
# any change of this settings.yml file is detected by the GitHub App and
# the settings of this repository are updated immediately.
#
_extends: repo-settings:.github/common-settings.yml
_extends: repo-settings:.github/common-settings-v2.yml

# repo-specific settings
#
repository:
name: "terraform-ibm-vpe-module"
description: "Create Virtual Private Endpoint Gateways across VPC subnets."

# The description is displayed under the repository name on the
# organization page and in the 'About' section of the repository.

# Uncomment this description property
# and update the description to the current repo description.
# description: ""
topics: core-team, terraform, ibm-cloud, terraform-module, virtual-private-endpoint, vpe
19 changes: 9 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
name: CI-Pipeline

# Controls when the workflow will run
# Controls when the workflow will run, when comment is created
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [main]
pull_request:
branches: [main]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
issue_comment:
types:
- created

jobs:
call-terraform-ci-pipeline:
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/common-terraform-module-ci.yml@v1.13.0
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/common-terraform-module-ci.yml@v1.14.0
secrets: inherit
with:
craSCCv2: true
craTarget: "examples/default"
craRuleIgnoreFile: "cra-tf-validate-ignore-rules.json"
15 changes: 5 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
name: Release-Pipeline

# Trigger on push(merge) to main branch
on:
workflow_run:
workflows: [CI-Pipeline]
branches: [main]
types:
- completed

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
push:
branches:
- main

jobs:
call-terraform-release-pipeline:
if: ${{ github.event_name == 'workflow_dispatch' || (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') }}
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/common-release.yml@v1.13.0
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/common-release.yml@v1.14.0
secrets: inherit
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# IBM Virtual Private Endpoints module

[![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)
[![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)
[![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)
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
[![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)
[![Renovate enabled](https://img.shields.io/badge/renovate-enabled-brightgreen.svg)](https://renovatebot.com/)

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.

Expand Down
3 changes: 3 additions & 0 deletions cra-tf-validate-ignore-rules.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"scc_rules": []
}

0 comments on commit e9ffdd7

Please sign in to comment.