You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by or...@apache.org on 2022/10/26 12:59:58 UTC

[camel] branch main updated: (chores) ci: allow testing AWS components separately

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

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


The following commit(s) were added to refs/heads/main by this push:
     new bb7cf3ee444 (chores) ci: allow testing AWS components separately
bb7cf3ee444 is described below

commit bb7cf3ee444672c3509a0e90230db9055b1e62db
Author: Otavio Rodolfo Piske <an...@gmail.com>
AuthorDate: Tue Oct 25 18:10:15 2022 +0200

    (chores) ci: allow testing AWS components separately
---
 .github/actions/quick-test/quick-test.sh | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/.github/actions/quick-test/quick-test.sh b/.github/actions/quick-test/quick-test.sh
index 4a9d2398a2c..b25468d2c1b 100755
--- a/.github/actions/quick-test/quick-test.sh
+++ b/.github/actions/quick-test/quick-test.sh
@@ -118,7 +118,11 @@ function main() {
   fi
 
   echo "Searching for modified components"
-  local components=$(git diff "${startCommit}..${endCommit}" --name-only --pretty=format:"" | grep -e '^components' | grep -v -e '^$' | cut -d / -f 1-2 | uniq | sort)
+  local components=$(git diff "${startCommit}..${endCommit}" --name-only --pretty=format:"" | grep -e '^components' | grep -v "camel-aws" | grep -v -e '^$' | cut -d / -f 1-2 | uniq | sort)
+  local componentsAws=$(git diff "${startCommit}..${endCommit}" --name-only --pretty=format:"" | grep -e '^components' | grep "camel-aws" | grep -v -e '^$' | cut -d / -f 1-3 | uniq | sort)
+
+  components+="\n$componentsAws"
+
   local total=$(echo "${components}" | grep -v -e '^$' | wc -l)
 
   echo "${total}" > "${logDir}/total"