You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by as...@apache.org on 2022/01/31 08:58:17 UTC

[camel-k] 06/40: Converts json-to-variables to private action using submodule

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

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

commit ce1f76b80b2b98c2cf06f83ee9667dfa4554c082
Author: phantomjinx <p....@phantomjinx.co.uk>
AuthorDate: Tue Nov 16 17:15:19 2021 +0000

    Converts json-to-variables to private action using submodule
---
 .github/actions/json-to-variables                      | 1 +
 .github/actions/kamel-config-cluster-custom/action.yml | 2 +-
 .gitmodules                                            | 4 ++++
 3 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/actions/json-to-variables b/.github/actions/json-to-variables
new file mode 160000
index 0000000..cc8c639
--- /dev/null
+++ b/.github/actions/json-to-variables
@@ -0,0 +1 @@
+Subproject commit cc8c6394031e145c90f7f9ec909d83df92431fb8
diff --git a/.github/actions/kamel-config-cluster-custom/action.yml b/.github/actions/kamel-config-cluster-custom/action.yml
index 56bf532..1d521f8 100644
--- a/.github/actions/kamel-config-cluster-custom/action.yml
+++ b/.github/actions/kamel-config-cluster-custom/action.yml
@@ -50,7 +50,7 @@ runs:
         fi
 
     - name: Platform-config JSON to variables
-      uses: antifree/json-to-variables@v1.0.1
+      uses: ./.github/actions/json-to-variables
       with:
         filename: ${{ env.PLATFORM_CONFIG }}
         prefix: 'e2e'
diff --git a/.gitmodules b/.gitmodules
index aa99c61..2b7101c 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -12,3 +12,7 @@
 	path = .github/actions/action-dotenv-to-setenv
         url = https://github.com/c-py/action-dotenv-to-setenv.git
 	branch = tags/v3
+[submodule ".github/actions/json-to-variables"]
+	path = .github/actions/json-to-variables
+	url = https://github.com/antifree/json-to-variables.git
+	branch = tags/v1.0.1