You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ab...@apache.org on 2021/03/09 13:24:47 UTC

[nifi-minifi-cpp] branch main updated: MINIFICPP-1527 Add update before install to avoid fetch errors

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

aboda pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new c4b29af  MINIFICPP-1527 Add update before install to avoid fetch errors
c4b29af is described below

commit c4b29af8a528125c01b14f29106284c89fbd4ce3
Author: Gabor Gyimesi <ga...@gmail.com>
AuthorDate: Mon Mar 8 18:32:26 2021 +0100

    MINIFICPP-1527 Add update before install to avoid fetch errors
    
    Signed-off-by: Arpad Boda <ab...@apache.org>
    
    This closes #1024
---
 .github/workflows/ci.yml | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index b894a30..77b105c 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -108,6 +108,7 @@ jobs:
             ubuntu-16.04-ccache-refs/heads/main-
       - id: install_deps
         run: |
+          sudo apt update
           sudo apt install -y ccache
           echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
       - id: build
@@ -154,6 +155,7 @@ jobs:
             ubuntu-20.04-ccache-refs/heads/main-
       - id: install_deps
         run: |
+          sudo apt update
           sudo apt install -y ccache libfl-dev libpcap-dev libboost-all-dev
           echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
       - id: build
@@ -198,6 +200,7 @@ jobs:
             debian-ccache-refs/heads/main-
       - id: install_deps
         run: |
+          sudo apt update
           sudo apt install -y ccache
           echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
       - id: build
@@ -219,6 +222,7 @@ jobs:
             centos-ccache-refs/heads/main-
       - id: install_deps
         run: |
+          sudo apt update
           sudo apt install -y ccache
           echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
       - id: build
@@ -240,6 +244,7 @@ jobs:
             fedora-ccache-refs/heads/main-
       - id: install_deps
         run: |
+          sudo apt update
           sudo apt install -y ccache
           echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
       - id: build
@@ -261,6 +266,7 @@ jobs:
             ubuntu-18.04-ccache-refs/heads/main
       - id: install_deps
         run: |
+          sudo apt update
           sudo apt install -y ccache
           echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
       - id: build
@@ -282,6 +288,7 @@ jobs:
             ubuntu-16.04-shared-ccache-refs/heads/main-
       - id: install_deps
         run: |
+          sudo apt update
           sudo apt install -y ccache
           echo "PATH=/usr/lib/ccache:$PATH" >> $GITHUB_ENV
       - id: build
@@ -296,6 +303,8 @@ jobs:
       - id: build
         run: ./bootstrap.sh -e -t && cd build  && cmake -DUSE_SHARED_LIBS= -DSTRICT_GSL_CHECKS=AUDIT -DENABLE_JNI=OFF -DDISABLE_JEMALLOC=ON -DENABLE_AWS=ON -DENABLE_LIBRDKAFKA=ON .. && make docker
       - id: install_deps
-        run: sudo apt install -y python3-virtualenv
+        run: |
+          sudo apt update
+          sudo apt install -y python3-virtualenv
       - id: test
         run: cd build && make docker-verify