Skip to content

Commit

Permalink
Release 4.10.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nedvna committed Feb 15, 2024
1 parent fdbd37e commit 5d58681
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 7 deletions.
1 change: 0 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ jobs:
ALLURE_PROJECT_ID: ${{ steps.secrets.outputs.ALLURE_PROJECT_ID }}
ALLURE_ENVIRONMENT_ARCH: ${{ matrix.ARCH }}
ALLURE_UPLOAD_REPORT: true
TEST_RC: 'True'
run: make ${{ matrix.case }}

scan:
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SHELL=/bin/bash -o pipefail -o errexit

-include .env

AIO_VERSION ?= 4.10.0
AIO_VERSION ?= 4.10.1
CONTAINER_VERSION ?= test
ALPINE_VERSION = 3.18
NGINX_VERSION = 1.24.0
Expand All @@ -19,6 +19,7 @@ IMAGE ?= $(REGISTRY)/node:$(CONTAINER_VERSION)
IMAGE_LATEST := $(REGISTRY)/node:latest

RAND_NUM := $(shell echo $$RANDOM$$RANDOM$$RANDOM | cut -c 1-10)
NODE_VERSION ?= $(shell echo $(AIO_VERSION) | awk -F'[-.]' '{print $$1"."$$2"."$$3}')
COMPOSE_CMD = NODE_IMAGE=$(IMAGE) docker-compose -p $@ -f test/docker-compose.$@.yaml
NODE_UUID_CMD = $(COMPOSE_CMD) exec node cat /opt/wallarm/etc/wallarm/node.yaml | grep uuid | awk '{print $$2}'
NODE_UUID = $(shell $(NODE_UUID_CMD))
Expand Down
4 changes: 2 additions & 2 deletions scripts/init
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,9 @@ if [ x"$POSTANALYTIC_ONLY" = x"true" ] \
|| [ x"$POSTANALYTIC_ONLY" = x"True" ] \
|| [ x"$POSTANALYTIC_ONLY" = x"yes" ]
then
exec /opt/wallarm/usr/bin/python3.8 /opt/wallarm/usr/bin/supervisord -n -c /opt/wallarm/etc/supervisord.conf
exec /opt/wallarm/usr/bin/python3.10 /opt/wallarm/usr/bin/supervisord -n -c /opt/wallarm/etc/supervisord.conf
else
/opt/wallarm/usr/bin/python3.8 /opt/wallarm/usr/bin/supervisord -n -c /opt/wallarm/etc/supervisord.conf &
/opt/wallarm/usr/bin/python3.10 /opt/wallarm/usr/bin/supervisord -n -c /opt/wallarm/etc/supervisord.conf &
sleep 1
exec /usr/sbin/nginx -g "daemon off;"
fi
2 changes: 1 addition & 1 deletion test/docker-compose.single.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ services:
NODE_BASE_URL: http://node
HOSTNAME_OLD_NODE: smoke-tests-old-node
ALLURE_ENVIRONMENT_ARCH: ${ALLURE_ENVIRONMENT_ARCH}
TEST_RC: ${TEST_RC}
NODE_VERSION: ${NODE_VERSION}
ALLURE_PROJECT_ID: ${ALLURE_PROJECT_ID}
ALLURE_TOKEN: ${ALLURE_TOKEN}
ALLURE_ENDPOINT: ${ALLURE_ENDPOINT}
Expand Down
2 changes: 1 addition & 1 deletion test/docker-compose.split.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ services:
NODE_BASE_URL: http://node
HOSTNAME_OLD_NODE: smoke-tests-old-node
ALLURE_ENVIRONMENT_ARCH: ${ALLURE_ENVIRONMENT_ARCH}
TEST_RC: ${TEST_RC}
NODE_VERSION: ${NODE_VERSION}
ALLURE_PROJECT_ID: ${ALLURE_PROJECT_ID}
ALLURE_TOKEN: ${ALLURE_TOKEN}
ALLURE_ENDPOINT: ${ALLURE_ENDPOINT}
Expand Down
3 changes: 2 additions & 1 deletion test/nginx_conf/nginx_node.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ server { # Example of a local backend
return 200;
}
location /api-discovery-test {
return 200;
add_header Api-Discovery-Header "Hello, I am header!";
return 200 '{"json_response": "Hello, I am json"}';
default_type application/json;
}

Expand Down

0 comments on commit 5d58681

Please sign in to comment.