You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pc...@apache.org on 2022/04/11 15:27:10 UTC

[camel-k] branch main updated (136292607 -> 26efe1daa)

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

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


    from 136292607 chore(examples): olm installation
     new 1d1abb1ad fix(ci): action replaces
     new 26efe1daa fix(ci): action replaces

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .github/workflows/release.yml | 49 ++++++-------------------------------------
 1 file changed, 6 insertions(+), 43 deletions(-)


[camel-k] 01/02: fix(ci): action replaces

Posted by pc...@apache.org.
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

commit 1d1abb1addbc08ed0afd364b4073153a876729e1
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Apr 11 16:23:03 2022 +0200

    fix(ci): action replaces
---
 .github/workflows/release.yml | 51 ++++++-------------------------------------
 1 file changed, 7 insertions(+), 44 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9b6bf2b41..f9af7daf6 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -19,7 +19,7 @@ name: release
 
 on:
   schedule:
-  - cron: "50 23 * * *"
+  - cron: "25 15 * * *"
 
 jobs:
   release:
@@ -77,12 +77,9 @@ jobs:
 
     - name: Create Release
       id: create_release
-      uses: actions/create-release@latest
-      env:
-        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-      with:
-        tag_name: ${{ env.VERSION }}
-        release_name: Release ${{ env.VERSION }}
+      - uses: ncipollo/release-action@v1
+        with:
+          artifacts: "./camel-k-client*.tar.gz"
         body: |
           Apache Camel K ${{ env.VERSION }} build for testing (unstable). This nightly release is using 
           an **unsupported** operator image published as `${{ env.IMAGE_NAME }}:${{ env.VERSION }}`
@@ -92,43 +89,9 @@ jobs:
           ```
           kamel install --olm=false --maven-repository=${{ env.MAVEN_REPOSITORY }}
           ```
-
+        token: ${{ secrets.GITHUB_TOKEN }}
         draft: false
         prerelease: true
         allowUpdates: true
-    - name: Upload Client Linux
-      uses: actions/upload-release-asset@v1
-      env:
-        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-      with:
-        upload_url: ${{ steps.create_release.outputs.upload_url }}
-        asset_path: ./camel-k-client-${{ env.VERSION }}-linux-64bit.tar.gz
-        asset_name: camel-k-client-${{ env.VERSION }}-linux-64bit.tar.gz
-        asset_content_type: application/tar+gzip
-    - name: Upload Client Mac
-      uses: actions/upload-release-asset@v1
-      env:
-        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-      with:
-        upload_url: ${{ steps.create_release.outputs.upload_url }}
-        asset_path: ./camel-k-client-${{ env.VERSION }}-mac-64bit.tar.gz
-        asset_name: camel-k-client-${{ env.VERSION }}-mac-64bit.tar.gz
-        asset_content_type: application/tar+gzip
-    - name: Upload Client Windows
-      uses: actions/upload-release-asset@v1
-      env:
-        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-      with:
-        upload_url: ${{ steps.create_release.outputs.upload_url }}
-        asset_path: ./camel-k-client-${{ env.VERSION }}-windows-64bit.tar.gz
-        asset_name: camel-k-client-${{ env.VERSION }}-windows-64bit.tar.gz
-        asset_content_type: application/tar+gzip
-    - name: Upload Examples
-      uses: actions/upload-release-asset@v1
-      env:
-        GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-      with:
-        upload_url: ${{ steps.create_release.outputs.upload_url }}
-        asset_path: ./camel-k-examples-${{ env.VERSION }}.tar.gz
-        asset_name: camel-k-examples-${{ env.VERSION }}.tar.gz
-        asset_content_type: application/tar+gzip
+        replaceArtifacts: true
+


[camel-k] 02/02: fix(ci): action replaces

Posted by pc...@apache.org.
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

commit 26efe1daaa8b36b46861c9dfc56e10655fda8c93
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Mon Apr 11 16:23:03 2022 +0200

    fix(ci): action replaces
---
 .github/workflows/release.yml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index f9af7daf6..9beac4e10 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -19,7 +19,7 @@ name: release
 
 on:
   schedule:
-  - cron: "25 15 * * *"
+  - cron: "59 23 * * *"
 
 jobs:
   release:
@@ -77,9 +77,9 @@ jobs:
 
     - name: Create Release
       id: create_release
-      - uses: ncipollo/release-action@v1
-        with:
-          artifacts: "./camel-k-client*.tar.gz"
+      uses: ncipollo/release-action@v1
+      with:
+        artifacts: "./camel-k-client*.tar.gz"
         body: |
           Apache Camel K ${{ env.VERSION }} build for testing (unstable). This nightly release is using 
           an **unsupported** operator image published as `${{ env.IMAGE_NAME }}:${{ env.VERSION }}`