This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new 199db7830 chore(ci): nightly release bundle
199db7830 is described below

commit 199db783042e1f2ca0955ccf6d20e5d322000e32
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Tue Aug 20 09:34:04 2024 +0200

    chore(ci): nightly release bundle
---
 .github/actions/release-nightly/action.yml | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)

diff --git a/.github/actions/release-nightly/action.yml 
b/.github/actions/release-nightly/action.yml
index 8d1613d59..4ab84bb65 100644
--- a/.github/actions/release-nightly/action.yml
+++ b/.github/actions/release-nightly/action.yml
@@ -97,6 +97,11 @@ runs:
       run: |
         make VERSION=${{ env.VERSION }} IMAGE_NAME=${{ env.IMAGE_NAME }} 
bundle release-helm images-nightly release-nightly
 
+    - name: Build and push OLM bundle
+      shell: bash
+      run: |
+        make VERSION=${{ env.VERSION }} IMAGE_NAME=${{ env.IMAGE_NAME }} 
BUNDLE_IMAGE_NAME=docker.io/testcamelk/camel-k-bundle bundle-push
+
     - name: Generate SBOM
       uses: ./.github/actions/gh-go-mod-generate-sbom
       with:
@@ -104,7 +109,7 @@ runs:
         args: mod -licenses -json -output sbom.json
 
     # Commit locally to be included in the tag
-    - name: Push changes
+    - name: Commit local changes
       shell: bash
       env:
         CI_USER: "github-actions[bot]"
@@ -113,7 +118,7 @@ runs:
       run: |
         git config --local user.email "$CI_EMAIL"
         git config --local user.name "$CI_USER"
-        git add -A -f && git commit -m 'chore(ci): nightly release update' || 
echo "No nightly release updates changes to commit"
+        git commit -am 'chore(ci): v${{ env.VERSION }} nightly release 
updates' || echo "No nightly release updates changes to commit"
 
     - name: Create Release
       id: create_release
@@ -125,14 +130,20 @@ runs:
           an **unsupported** operator image published as `${{ env.IMAGE_NAME 
}}:${{ env.VERSION }}`.
           The available platforms are AMD64 and ARM64.
 
-          To test it you can either apply:
+          ## Kustomize
           ```
           kubectl apply -k 
github.com/apache/camel-k/install/overlays/kubernetes/descoped?ref=v${{ 
env.VERSION }}
           ```
-          or you can download the Helm chart and run:
+          ## Helm
+          Download the Helm chart and run:
           ```
           helm install camel-k camel-k-${{ env.VERSION }}.tgz
           ```
+          ## OLM
+          Use the `operator-sdk` tool and run the bundle via:
+          ```
+          operator-sdk run bundle docker.io/testcamelk/camel-k-bundle:{{ 
env.VERSION }}
+          ```
 
           NOTE: last updated on ${{ env.UPD_DATE }}
         token: ${{ inputs.secretGithubToken }}

Reply via email to