Skip to content

Commit 329e988

Browse files
pdabre12Pratik Joseph Dabre
authored andcommitted
Made changes
1 parent 2ad5692 commit 329e988

File tree

2 files changed

+19
-3
lines changed

2 files changed

+19
-3
lines changed

.github/workflows/product-tests-basic-environment.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ env:
1010
MAVEN_INSTALL_OPTS: "-Xmx2G -XX:+ExitOnOutOfMemoryError"
1111
MAVEN_FAST_INSTALL: "-B -V --quiet -T 1C -DskipTests -Dair.check.skip-all --no-transfer-progress -Dmaven.javadoc.skip=true"
1212
RETRY: .github/bin/retry
13+
PLUGIN_TO_EXCLUDE: native-sql-invoked-functions-plugin
1314

1415
jobs:
1516
changes:
@@ -57,10 +58,12 @@ jobs:
5758
distribution: 'temurin'
5859
java-version: ${{ matrix.java }}
5960
cache: 'maven'
60-
- name: List Presto plugin directories
61+
- name: Exclude plugins
6162
run: |
62-
ls -l /usr/lib/presto/plugin
63-
ls -l /presto/plugin
63+
if [ -d "/var/presto/plugin/${PLUGIN_TO_EXCLUDE}" ]; then
64+
echo "Excluding plugin: $PLUGIN_TO_EXCLUDE"
65+
rm -rf "/var/presto/plugin/${PLUGIN_TO_EXCLUDE}"
66+
fi
6467
- name: Download nodejs to maven cache
6568
if: needs.changes.outputs.codechange == 'true'
6669
run: .github/bin/download_nodejs

.github/workflows/product-tests-specific-environment.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ env:
1010
MAVEN_INSTALL_OPTS: "-Xmx2G -XX:+ExitOnOutOfMemoryError"
1111
MAVEN_FAST_INSTALL: "-B -V --quiet -T 1C -DskipTests -Dair.check.skip-all --no-transfer-progress -Dmaven.javadoc.skip=true"
1212
RETRY: .github/bin/retry
13+
PLUGIN_TO_EXCLUDE: native-sql-invoked-functions-plugin
1314

1415
jobs:
1516
changes:
@@ -57,6 +58,12 @@ jobs:
5758
distribution: 'temurin'
5859
java-version: ${{ matrix.java }}
5960
cache: 'maven'
61+
- name: Exclude plugins
62+
run: |
63+
if [ -d "/var/presto/plugin/${PLUGIN_TO_EXCLUDE}" ]; then
64+
echo "Excluding plugin: $PLUGIN_TO_EXCLUDE"
65+
rm -rf "/var/presto/plugin/${PLUGIN_TO_EXCLUDE}"
66+
fi
6067
- name: Download nodejs to maven cache
6168
if: needs.changes.outputs.codechange == 'true'
6269
run: .github/bin/download_nodejs
@@ -123,6 +130,12 @@ jobs:
123130
distribution: 'temurin'
124131
java-version: ${{ matrix.java }}
125132
cache: 'maven'
133+
- name: Exclude plugins
134+
run: |
135+
if [ -d "/var/presto/plugin/${PLUGIN_TO_EXCLUDE}" ]; then
136+
echo "Excluding plugin: $PLUGIN_TO_EXCLUDE"
137+
rm -rf "/var/presto/plugin/${PLUGIN_TO_EXCLUDE}"
138+
fi
126139
- name: Download nodejs to maven cache
127140
if: needs.changes.outputs.codechange == 'true'
128141
run: .github/bin/download_nodejs

0 commit comments

Comments
 (0)