File tree 3 files changed +18
-6
lines changed
3 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,8 @@ jobs:
146
146
- run : make test-runtime-image gateway-logs --keep-going
147
147
- login-docker :
148
148
command : |
149
- IMAGE_TAG="${CIRCLE_TAG:-${CIRCLE_BRANCH}}"
149
+ CIRCLE_BRANCH_LOWER=`echo $CIRCLE_BRANCH | tr '[:upper:]' '[:lower:]'`
150
+ IMAGE_TAG="${CIRCLE_TAG:-${CIRCLE_BRANCH_LOWER}}"
150
151
if [ "${IMAGE_TAG}" == "master" ]
151
152
then
152
153
IMAGE_TAG="latest"
@@ -179,7 +180,8 @@ jobs:
179
180
180
181
- login-docker :
181
182
command : |
182
- IMAGE_TAG="${CIRCLE_TAG:-${CIRCLE_BRANCH}}-builder"
183
+ CIRCLE_BRANCH_LOWER=`echo $CIRCLE_BRANCH | tr '[:upper:]' '[:lower:]'`
184
+ IMAGE_TAG="${CIRCLE_TAG:-${CIRCLE_BRANCH_LOWER}}-builder"
183
185
if [ "${IMAGE_TAG}" == "master-builder" ]
184
186
then
185
187
IMAGE_TAG="latest-builder"
@@ -281,7 +283,7 @@ jobs:
281
283
machine : true
282
284
steps :
283
285
- checkout
284
- - run : IMAGE_TAG=${CIRCLE_TAG:-${ CIRCLE_BRANCH}} make benchmark
286
+ - run : IMAGE_TAG=`echo $ CIRCLE_BRANCH | tr '[:upper:]' '[:lower:]'` make benchmark
285
287
- run : IMAGE_TAG=master make benchmark
286
288
- store_artifacts :
287
289
path : tmp/benchmark
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
32
32
33
33
- Fixed issues with OIDC filters [ PR #1304 ] ( https://github.com/3scale/APIcast/pull/1304 ) [ THREESCALE-6042] ( https://issues.redhat.com/browse/THREESCALE-6042 )
34
34
- Fixed issues with Upstream MTLS certs [ PR #1307 ] ( https://github.com/3scale/APIcast/pull/1307 ) [ THREESCALE-7508] ( https://issues.redhat.com/browse/THREESCALE-7508 )
35
+ - Fixed warning messages [ PR #1318 ] ( https://github.com/3scale/APIcast/pull/1318 ) [ THREESCALE-7906] ( https://issues.redhat.com/browse/THREESCALE-7906 )
35
36
36
37
### Added
37
38
Original file line number Diff line number Diff line change 1
1
log_format time '[$time_local] $target_host:$server_port $remote_addr:$remote_port "$request" $status $body_bytes_sent ($request_time) $post_action_impact';
2
2
3
- map $status $extended_access_log {
3
+ # Use maps as variables because some logs can be raised out of the server context
4
+ # where variables cannot be set, this allow us to avoid a warning
5
+ map "" $extended_access_log {
4
6
default '';
5
7
}
6
8
9
+ map "" $access_logs_enabled {
10
+ default '1';
11
+ }
12
+
13
+ map "" $extended_access_logs_enabled {
14
+ default '0';
15
+ }
16
+
17
+
7
18
log_format extended escape=none '$extended_access_log';
8
19
9
20
server {
@@ -50,9 +61,7 @@ server {
50
61
server {
51
62
{% capture log_buffer %} {%if log_buffer_size %}buffer={{ log_buffer_size }} {% endif %} {% endcapture %}
52
63
53
- set $access_logs_enabled '1';
54
64
access_log {{ access_log_file | default: "/dev/stdout" }} time if=$access_logs_enabled {{ log_buffer }};
55
- set $extended_access_logs_enabled '0';
56
65
access_log {{ access_log_file | default: "/dev/stdout" }} extended if=$extended_access_logs_enabled {{ log_buffer }};
57
66
58
67
{%- assign http_port = port .apicast | default: 8080 %}
You can’t perform that action at this time.
0 commit comments