Skip to content

Commit

Permalink
IBX-6383: Remove Allure reports integration from CI (#691)
Browse files Browse the repository at this point in the history
* IBX-6383: Remove Allure reports integration from CI
* Upgraded Varnish Dockerfile to Debian's bullseye
  • Loading branch information
micszo authored Sep 8, 2023
1 parent 71fd1c4 commit d9ff985
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 18 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/callable-browser-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,6 @@ jobs:
cd ${HOME}/build/ezplatform
docker-compose --env-file=.env exec -T --user www-data app sh -c "bin/ezbehat ${{ inputs.test-suite }}"
- if: always()
name: Upload tests report
run: |
cd ${HOME}/build/ezplatform
bin/ezreport
report-results:
runs-on: ubuntu-latest
timeout-minutes: 3
Expand Down
5 changes: 0 additions & 5 deletions behat.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ default:
error_reporting: -1 # Report all PHP errors
formatters:
pretty: true
allure:
output_path: %paths.base%/build/allure
extensions:
Behat\MinkExtension:
base_url: 'http://localhost'
Expand Down Expand Up @@ -45,9 +43,6 @@ default:
mode: normal
limit: 10

Allure\Behat\AllureFormatterExtension:
image_attachment_limit: 5

suites: ~

imports:
Expand Down
2 changes: 0 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@
"behat/mink-selenium2-driver": "^1.4.0",
"behat/symfony2-extension": "^2.1.5",
"bex/behat-screenshot": "^1.2.7",
"ezsystems/allure-behat": "^2.0@dev",
"ezsystems/allure-php-api": "^2.0@dev",
"ezsystems/behat-screenshot-image-driver-cloudinary": "^1.1.0@dev",
"ezsystems/behatbundle": "^7.0.0@dev",
"liuggio/fastest": "~1.6.0",
Expand Down
10 changes: 5 additions & 5 deletions doc/docker/Dockerfile-varnish
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
FROM debian:stretch-slim
FROM debian:bullseye-slim

ENV VARNISH_MALLOC_SIZE="256M" \
DEBIAN_FRONTEND=noninteractive

ARG PACKAGECLOUD_URL=https://packagecloud.io/install/repositories/varnishcache/varnish60/script.deb.sh
ARG PACKAGECLOUD_URL=https://packagecloud.io/install/repositories/varnishcache/varnish60lts/script.deb.sh
ARG VARNISH_MODULES_VERSION=0.15.0

# Use official packages from Varnish and build with varnish-modules mainly for xkey
Expand All @@ -19,8 +19,8 @@ RUN set -xe \
libpcre3-dev \
libtool \
pkg-config \
python-docutils \
python-sphinx \
python3-docutils \
sphinx-common \
varnish-dev \
" \
# Update apt and get dependencies
Expand All @@ -29,7 +29,7 @@ RUN set -xe \
\
# Get official Varnish package
&& curl -s ${PACKAGECLOUD_URL} | bash \
&& apt-get install -q -y --allow-unauthenticated --no-install-recommends varnish $buildDeps \
&& apt-get install -q -y --allow-unauthenticated --no-install-recommends varnish=6.0.11-1~bullseye $buildDeps \
\
# Install varnish modules
&& curl -A "Docker" -o /tmp/varnish-modules.tar.gz -D - -L -s https://github.com/varnish/varnish-modules/archive/refs/tags/${VARNISH_MODULES_VERSION}.tar.gz \
Expand Down

0 comments on commit d9ff985

Please sign in to comment.