Skip to content

Commit 03151ee

Browse files
committed
doc: badge update
1 parent 707bd0b commit 03151ee

File tree

7 files changed

+53
-4
lines changed

7 files changed

+53
-4
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,7 @@ jobs:
1515
call-terraform-ci-pipeline:
1616
uses: terraform-ibm-modules/common-pipeline-assets/.github/workflows/common-terraform-module-ci.yml@v1.7.3
1717
secrets: inherit
18+
with:
19+
craTarget: "examples/complete"
20+
craGoalIgnoreFile: "cra-tf-validate-ignore-goals.json"
21+
craEnvironmentVariables: "TF_VAR_existing_at_instance_crn=crn:v1:bluemix:public:logdnaat:eu-de:a/abac0df06b644a9cabc6e44f55b3880e:b1ef3365-dfbf-4d8f-8ac8-75f4f84d6f4a::"

.github/workflows/notify.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Notify
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
notify:
9+
uses: cloud-native-toolkit/action-workflows/.github/workflows/notify.yaml@v1
10+
secrets:
11+
TOKEN: ${{ secrets.TOKEN }}

.github/workflows/publish.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name: Publish-Pipeline
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
jobs:
9+
call-techzone-publish-pipeline:
10+
uses: cloud-native-toolkit/action-workflows/.github/workflows/publish-metadata.yaml@v1
11+
secrets:
12+
TOKEN: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/verify.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Verify
2+
3+
on:
4+
workflow_run:
5+
workflows: ["CI-Pipeline"]
6+
branches: [main]
7+
types:
8+
- completed
9+
jobs:
10+
verify:
11+
runs-on: ubuntu-latest
12+
env:
13+
CONCLUSION: ${{ github.event.workflow_run.conclusion }}
14+
steps:
15+
- shell: bash
16+
run: |
17+
if [[ "$CONCLUSION" == "success" ]]; then
18+
exit 0
19+
else
20+
exit 1
21+
fi
22+
23+
verifyMetadata:
24+
uses: cloud-native-toolkit/action-workflows/.github/workflows/verify-module-metadata.yaml@v1

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<!-- Update the title to match the module name and add a description -->
44
# IBM Cloud Databases for ICD Postgresql module
55
<!-- UPDATE BADGE: Update the link for the following badge-->
6-
[![Incubating (Not yet consumable)](https://img.shields.io/badge/status-Incubating%20(Not%20yet%20consumable)-red)](https://terraform-ibm-modules.github.io/documentation/#/badge-status)
6+
[![Stable (With quality checks)](https://img.shields.io/badge/Status-Stable%20(With%20quality%20checks)-green?style=plastic)](https://terraform-ibm-modules.github.io/documentation/#/badge-status)
77
[![Build status](https://github.com/terraform-ibm-modules/terraform-ibm-module-template/actions/workflows/ci.yml/badge.svg)](https://github.com/terraform-ibm-modules/terraform-ibm-module-template/actions/workflows/ci.yml)
88
[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit&logoColor=white)](https://github.com/pre-commit/pre-commit)
99
[![latest release](https://img.shields.io/github/v/release/terraform-ibm-modules/terraform-ibm-icd-postgresql?logo=GitHub&sort=semver)](https://github.com/terraform-ibm-modules/terraform-ibm-icd-postgresql/releases/latest)

cra-tf-validate-ignore-goals.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{}

tests/pr_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ func TestRunCompleteExample(t *testing.T) {
7575
func TestRunUpgradeExample(t *testing.T) {
7676
t.Parallel()
7777

78-
// TODO: Remove this line after the first merge to primary branch is complete to enable upgrade test
79-
t.Skip("Skipping upgrade test until initial code is in primary branch")
80-
8178
options := testhelper.TestOptionsDefaultWithVars(&testhelper.TestOptions{
8279
Testing: t,
8380
TerraformDir: defaultExampleTerraformDir,

0 commit comments

Comments
 (0)