@@ -3,9 +3,6 @@ name: Container Images from Commitest patch
33on :
44 workflow_dispatch :
55 inputs :
6- commitfest_id :
7- description : " ID of the Commitfest"
8- required : false
96 patch_id :
107 description : " ID of the Patch"
118 required : false
5047 fi
5148
5249 - name : Set commitfest branch and tag
53- if : github.event.inputs.commitfest_id != '' && github.event.inputs. patch_id != ''
50+ if : github.event.inputs.patch_id != ''
5451 run : |
5552 BRANCH="cf/${{ github.event.inputs.patch_id }}"
5653 TAG="${{ env.PG_MAJOR }}-${BRANCH////-}"
@@ -84,13 +81,12 @@ jobs:
8481 steps :
8582 - name : Output summary
8683 run : |
87- commitFestID=${{ github.event.inputs.commitfest_id }}
8884 commitFestPatchID=${{ github.event.inputs.patch_id }}
89- commitFestURL="https://commitfest.postgresql.org/${commitFestID} /${commitFestPatchID}"
85+ commitFestURL="https://commitfest.postgresql.org/patch /${commitFestPatchID}"
9086 image="${{ needs.build-pg.outputs.pg_image }}"
9187 imageURL="https://${image}"
9288 echo "# Commitfest Image Build summary" >> $GITHUB_STEP_SUMMARY
93- echo "**Commitfest Patch URL**: [$commitFestID / $ commitFestPatchID]($commitFestURL)" >> $GITHUB_STEP_SUMMARY
89+ echo "**Commitfest Patch URL**: [$commitFestPatchID]($commitFestURL)" >> $GITHUB_STEP_SUMMARY
9490 echo "**Container Image**: [$image]($imageURL)" >> $GITHUB_STEP_SUMMARY
9591 echo "## CloudNativePG Cluster definition" >> $GITHUB_STEP_SUMMARY
9692 echo "You can create a cluster in CloudNativePG running this image:" >> $GITHUB_STEP_SUMMARY
9995 echo "apiVersion: postgresql.cnpg.io/v1" >> $GITHUB_STEP_SUMMARY
10096 echo "kind: Cluster" >> $GITHUB_STEP_SUMMARY
10197 echo "metadata:" >> $GITHUB_STEP_SUMMARY
102- echo " name: commitfest-$commitFestID-$ commitFestPatchID" >> $GITHUB_STEP_SUMMARY
98+ echo " name: commitfest-$commitFestPatchID" >> $GITHUB_STEP_SUMMARY
10399 echo "spec:" >> $GITHUB_STEP_SUMMARY
104100 echo " imageName: $image" >> $GITHUB_STEP_SUMMARY
105101 echo " instances: 3" >> $GITHUB_STEP_SUMMARY
0 commit comments