This repository was archived by the owner on Aug 12, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +24
-4
lines changed Expand file tree Collapse file tree 3 files changed +24
-4
lines changed Original file line number Diff line number Diff line change @@ -20,11 +20,13 @@ jobs:
2020 ref : ${{ github.event.release.tag_name }}
2121
2222 - name : Build catalog
23- uses : cloud-native-toolkit/action-module-catalog @v1
23+ uses : cloud-native-toolkit/action-module-metadata-create @v1
2424 with :
2525 tagName : ${{ github.event.release.tag_name }}
2626 distDir : ${{ env.DIST_DIR }}
2727 publishBranch : ${{ env.PUBLISH_BRANCH }}
28+ strict : false
29+ validate : true
2830
2931 - name : Deploy
3032 uses : peaceiris/actions-gh-pages@v3
Original file line number Diff line number Diff line change 3030 uses : actions/checkout@v1
3131
3232 - name : Verify deploy on ${{ matrix.platform }}
33- uses : ibm-garage-cloud /action-module-verify-deploy@main
33+ uses : cloud-native-toolkit /action-module-verify-deploy@main
3434 with :
3535 clusterId : ${{ matrix.platform }}
3636 validateDeployScript : .github/scripts/validate-deploy.sh
@@ -39,17 +39,33 @@ jobs:
3939 IBMCLOUD_API_KEY : ${{ secrets.IBMCLOUD_API_KEY }}
4040
4141 - name : Verify destroy on ${{ matrix.platform }}
42- uses : ibm-garage-cloud /action-module-verify-destroy@main
42+ uses : cloud-native-toolkit /action-module-verify-destroy@main
4343 if : ${{ always() }}
4444 with :
4545 clusterId : ${{ matrix.platform }}
4646 env :
4747 TF_VAR_ibmcloud_api_key : ${{ secrets.IBMCLOUD_API_KEY }}
4848 IBMCLOUD_API_KEY : ${{ secrets.IBMCLOUD_API_KEY }}
4949
50+ verifyMetadata :
51+ runs-on : ubuntu-latest
52+
53+ env :
54+ DIST_DIR : ./dist
55+ PUBLISH_BRANCH : gh-pages
56+
57+ steps :
58+ - name : Checkout
59+ uses : actions/checkout@v2
60+
61+ - uses : cloud-native-toolkit/action-module-metadata-create@v1
62+ with :
63+ strict : true
64+ validate : true
65+
5066 release :
5167 # if: ${{ github.event_name == 'push' }}
52- needs : verify
68+ needs : [ verify, verifyMetadata]
5369 runs-on : ubuntu-latest
5470 if : ${{ github.event_name == 'push' }}
5571
Original file line number Diff line number Diff line change 11name : ibm-ocp-vpc
22alias : cluster
3+ interfaces :
4+ - github.com/cloud-native-toolkit/automation-modules#cluster
35type : terraform
46description : Provisions an IBM Cloud OCP cluster
57tags :
You can’t perform that action at this time.
0 commit comments