From bf0d6631af643005d274d8fac2f4f98c9ae79a12 Mon Sep 17 00:00:00 2001 From: Ignacio Bermudez Corrales Date: Tue, 23 Mar 2021 20:51:02 -0700 Subject: [PATCH 1/5] forcing upgrading pip in ci --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3a83aa52c6..3357f8ec98 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ validate: image: docker.repo.splunkdev.net/ci-cd/ci-container:alpine-3.11 before_script: - apk add --update python3 python3-dev py-pip build-base openjdk8-jre && pip install virtualenv && rm -rf /var/cache/apk/* - - pip3 install -r requirements.txt + - pip3 install --upgrade pip3 && pip3 install -r requirements.txt script: - python3 bin/ssa_validate.py --skip-error detections/*/* - python3 bin/ssa_test.py --skip-error tests/*/* From c995213d54e64507348954fe1597bf0540d07d01 Mon Sep 17 00:00:00 2001 From: Ignacio Bermudez Corrales Date: Tue, 23 Mar 2021 20:52:58 -0700 Subject: [PATCH 2/5] forcing upgrading pip in ci --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3357f8ec98..3bd9d7eae9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ validate: image: docker.repo.splunkdev.net/ci-cd/ci-container:alpine-3.11 before_script: - apk add --update python3 python3-dev py-pip build-base openjdk8-jre && pip install virtualenv && rm -rf /var/cache/apk/* - - pip3 install --upgrade pip3 && pip3 install -r requirements.txt + - pip3 install --upgrade pip && pip3 install -r requirements.txt script: - python3 bin/ssa_validate.py --skip-error detections/*/* - python3 bin/ssa_test.py --skip-error tests/*/* From f717f9ac9cfce1aa5afa2254824663a0e76c841d Mon Sep 17 00:00:00 2001 From: Ignacio Bermudez Corrales Date: Tue, 23 Mar 2021 21:02:10 -0700 Subject: [PATCH 3/5] a different way --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 3bd9d7eae9..eb64fcfe10 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -18,7 +18,7 @@ validate: image: docker.repo.splunkdev.net/ci-cd/ci-container:alpine-3.11 before_script: - apk add --update python3 python3-dev py-pip build-base openjdk8-jre && pip install virtualenv && rm -rf /var/cache/apk/* - - pip3 install --upgrade pip && pip3 install -r requirements.txt + - python3 -m pip install -U --force-reinstall pip && pip3 install -r requirements.txt script: - python3 bin/ssa_validate.py --skip-error detections/*/* - python3 bin/ssa_test.py --skip-error tests/*/* From 00a135ff10dab814ac9a8c919acc8c3b58cabd76 Mon Sep 17 00:00:00 2001 From: Ignacio Bermudez Corrales Date: Tue, 23 Mar 2021 21:04:32 -0700 Subject: [PATCH 4/5] adding zlib-dev --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index eb64fcfe10..d7177319d7 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,7 @@ validate: stage: ssa-validate image: docker.repo.splunkdev.net/ci-cd/ci-container:alpine-3.11 before_script: - - apk add --update python3 python3-dev py-pip build-base openjdk8-jre && pip install virtualenv && rm -rf /var/cache/apk/* + - apk add --update python3 python3-dev py-pip build-base openjdk8-jre zlib-dev && pip install virtualenv && rm -rf /var/cache/apk/* - python3 -m pip install -U --force-reinstall pip && pip3 install -r requirements.txt script: - python3 bin/ssa_validate.py --skip-error detections/*/* From 3d5eebe2a7d1255b36c57d032150f17ce5da6d4d Mon Sep 17 00:00:00 2001 From: Ignacio Bermudez Corrales Date: Tue, 23 Mar 2021 21:06:53 -0700 Subject: [PATCH 5/5] adding jpeg-dev --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d7177319d7..a6715d945c 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -17,7 +17,7 @@ validate: stage: ssa-validate image: docker.repo.splunkdev.net/ci-cd/ci-container:alpine-3.11 before_script: - - apk add --update python3 python3-dev py-pip build-base openjdk8-jre zlib-dev && pip install virtualenv && rm -rf /var/cache/apk/* + - apk add --update python3 python3-dev py-pip build-base openjdk8-jre zlib-dev jpeg-dev && pip install virtualenv && rm -rf /var/cache/apk/* - python3 -m pip install -U --force-reinstall pip && pip3 install -r requirements.txt script: - python3 bin/ssa_validate.py --skip-error detections/*/*