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 13:09:03 UTC
[camel-k] 01/02: chore(ci): clean actions
This is an automated email from the ASF dual-hosted git repository.
pcongiusti pushed a commit to branch release-1.9.x
in repository https://gitbox.apache.org/repos/asf/camel-k.git
commit c3c847bf50b6577cd67f37dc2123414f5742571b
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/knative.yml | 3 +++
.github/workflows/kubernetes.yml | 3 +++
.github/workflows/upgrade.yml | 3 +++
7 files changed, 13 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 45871e10b..3ef490a04 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 1c9e5f8b3..c97581442 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/knative.yml b/.github/workflows/knative.yml
index 0c3c5c5a5..4cc2c2185 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/kubernetes.yml b/.github/workflows/kubernetes.yml
index d836a0a43..55455da29 100644
--- a/.github/workflows/kubernetes.yml
+++ b/.github/workflows/kubernetes.yml
@@ -17,6 +17,9 @@
name: kubernetes
+env:
+ TEST_CLUSTER: kind
+
on:
pull_request:
branches:
diff --git a/.github/workflows/upgrade.yml b/.github/workflows/upgrade.yml
index ce1dffaa9..c56365df1 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: