From 7c8cefd205b555962d42c1254e6634dcdb65a7b3 Mon Sep 17 00:00:00 2001 From: Yochai Gilad Date: Mon, 15 Aug 2022 09:36:00 +0300 Subject: [PATCH] Reduce permissions needed to run e2es (#43) * Reduce permissions needed to run e2es * Update build.yml * Update build.yml * Removed comment from dependency Co-authored-by: AsafMah --- .github/workflows/build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d879630..fba873d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -78,10 +78,10 @@ jobs: sudo apt-get install apt-transport-https echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list sudo apt-get update && sudo apt-get install logstash + - run: sudo chown -R runner /usr/share/logstash + - run: sudo chmod -R u=rx,g=,o= /usr/share/logstash/bin - name: Install plugin - run: sudo /usr/share/logstash/bin/logstash-plugin install logstash-kusto.gem - - run: sudo chmod -R 777 /usr/share/logstash - - run: sudo chmod -R 777 . + run: /usr/share/logstash/bin/logstash-plugin install logstash-kusto.gem - run: bundle install - run: lock_jars - name: Run e2e