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/10/21 07:29:53 UTC
[camel-k] branch main updated: chore(ci): clean actions
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 266c5e37e chore(ci): clean actions
266c5e37e is described below
commit 266c5e37eaa6d365b2d947649c34c4977d06dd45
Author: Pasquale Congiusti <pa...@gmail.com>
AuthorDate: Thu Oct 20 13:21:57 2022 +0200
chore(ci): clean actions
---
.github/.env | 1 -
.github/actions/action-dotenv-to-setenv | 1 -
.github/actions/kamel-prepare-env/action.yml | 17 +----------------
.github/workflows/builder.yml | 3 +++
.github/workflows/common.yml | 3 +++
.github/workflows/install.yml | 3 +++
.github/workflows/knative.yml | 3 +++
.github/workflows/upgrade.yml | 3 +++
8 files changed, 16 insertions(+), 18 deletions(-)
diff --git a/.github/.env b/.github/.env
deleted file mode 100644
index eae28d66a..000000000
--- a/.github/.env
+++ /dev/null
@@ -1 +0,0 @@
-TEST_CLUSTER=kind
diff --git a/.github/actions/action-dotenv-to-setenv b/.github/actions/action-dotenv-to-setenv
deleted file mode 160000
index a6380f4d9..000000000
--- a/.github/actions/action-dotenv-to-setenv
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit a6380f4d905f42adb7c065db63e6d66d75b971ad
diff --git a/.github/actions/kamel-prepare-env/action.yml b/.github/actions/kamel-prepare-env/action.yml
index 0204dfd4e..90e0bc8d5 100644
--- a/.github/actions/kamel-prepare-env/action.yml
+++ b/.github/actions/kamel-prepare-env/action.yml
@@ -21,22 +21,7 @@ description: 'Initialise the test environment with tools. (Will only run once pe
runs:
using: "composite"
steps:
- #
- # This is a docker action so its pre-builds the image prior to
- # running it. The building occurs prior to all steps regardless
- # of where its located to run. Therefore, it must be run prior to
- # clean-up since that step removes all docker image in order to
- # claim back as much space as possible.
- #
- # Expects env file with following vars:
- # TEST_CLUSTER
- #
- - id: read-env-file
- uses: ./.github/actions/action-dotenv-to-setenv
- if: ${{ env.KAMEL_PREPARE_ENV != 'true' }}
- with:
- env-file: .github/.env
-
+
- name: Cleanup
shell: bash
if: ${{ env.KAMEL_PREPARE_ENV != 'true' }}
diff --git a/.github/workflows/builder.yml b/.github/workflows/builder.yml
index 0208f1248..7895c9712 100644
--- a/.github/workflows/builder.yml
+++ b/.github/workflows/builder.yml
@@ -17,6 +17,9 @@
name: builder
+env:
+ TEST_CLUSTER: kind
+
on:
pull_request:
branches:
diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml
index f1a1d5681..f9dc3df4b 100644
--- a/.github/workflows/common.yml
+++ b/.github/workflows/common.yml
@@ -17,6 +17,9 @@
name: common
+env:
+ TEST_CLUSTER: kind
+
on:
pull_request:
branches:
diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml
index e7f5fc3ff..5fef97a9e 100644
--- a/.github/workflows/install.yml
+++ b/.github/workflows/install.yml
@@ -17,6 +17,9 @@
name: install
+env:
+ TEST_CLUSTER: kind
+
on:
pull_request:
branches:
diff --git a/.github/workflows/knative.yml b/.github/workflows/knative.yml
index 34cd9e1df..63ab9400d 100644
--- a/.github/workflows/knative.yml
+++ b/.github/workflows/knative.yml
@@ -17,6 +17,9 @@
name: knative
+env:
+ TEST_CLUSTER: kind
+
on:
pull_request:
branches:
diff --git a/.github/workflows/upgrade.yml b/.github/workflows/upgrade.yml
index 802182494..153a24cbe 100644
--- a/.github/workflows/upgrade.yml
+++ b/.github/workflows/upgrade.yml
@@ -17,6 +17,9 @@
name: upgrade
+env:
+ TEST_CLUSTER: kind
+
on:
pull_request:
branches: