-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TT-1944/TT-12550/TT-12865] [5.0.14 backport] Backport critical fixes (…
…#6515) https://tyktech.atlassian.net/browse/TT-12865 and related 5.0.14 backports --------- Co-authored-by: Tit Petric <[email protected]>
- Loading branch information
Showing
34 changed files
with
1,690 additions
and
333 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,6 +39,13 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
|
||
- name: Setup CI Tooling | ||
uses: shrink/actions-docker-extract@v3 | ||
with: | ||
image: tykio/ci-tools:latest | ||
path: /usr/local/bin/task | ||
destination: /usr/local/bin | ||
|
||
- name: Install Dependencies and basic hygiene test | ||
id: hygiene | ||
run: | | ||
|
@@ -66,11 +73,9 @@ jobs: | |
- name: Fetch base branch | ||
if: ${{ github.event_name == 'pull_request' }} | ||
run: git fetch origin ${{ github.base_ref }} | ||
- name: Start Redis | ||
uses: supercharge/[email protected] | ||
with: | ||
redis-version: ${{ matrix.redis-version }} | ||
|
||
- name: Start test services | ||
run: task services:up | ||
|
||
- name: Cache | ||
uses: actions/cache@v2 | ||
|
@@ -88,6 +93,9 @@ jobs: | |
echo "log=$(sed -ze 's/%/%25/g;s/\n/%0A/g' test.log)" >> $GITHUB_OUTPUT | ||
exit $result_code | ||
- name: Stop test services | ||
run: task services:down | ||
|
||
- name: Notify status | ||
if: ${{ failure() && github.event.pull_request.number }} | ||
uses: peter-evans/create-or-update-comment@v1 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,7 @@ | |
|
||
include: | ||
- ./redis.yml | ||
- ./httpbin.yml | ||
|
||
networks: | ||
proxy: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
services: | ||
httpbin: | ||
image: tykio/ci-tools:latest | ||
networks: | ||
- proxy | ||
ports: | ||
- 3123:3123 | ||
volumes: | ||
- ./logs:/logs:rw | ||
entrypoint: | ||
- /usr/local/bin/httpbin-logserver | ||
command: | ||
- '-addr' | ||
- ':3123' | ||
- '-output' | ||
- '/logs/service.json' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
--- | ||
services: | ||
redis: | ||
image: redis:6-alpine | ||
image: ${REDIS_IMAGE:-redis:6-alpine} | ||
networks: | ||
- proxy | ||
ports: | ||
|
Oops, something went wrong.