-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
163 additions
and
163 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
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,22 +1,22 @@ | ||
name: njs-hello | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
name: run tests | ||
runs-on: ubuntu-latest | ||
test: | ||
name: run tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: start nginx | ||
run: | | ||
cd njs-hello | ||
docker-compose up -d | ||
- name: run tests | ||
run: | | ||
./support/test.sh ./about | ||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: start nginx | ||
run: | | ||
cd njs-hello | ||
docker compose up -d | ||
- name: run tests | ||
run: | | ||
./support/test.sh ./about |
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,27 +1,27 @@ | ||
name: njs-modify-body | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
name: run tests | ||
runs-on: ubuntu-latest | ||
test: | ||
name: run tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: update /etc/hosts | ||
run: | | ||
sudo echo "172.17.0.1 host.docker.internal" | sudo tee -a /etc/hosts | ||
cat /etc/hosts | ||
- name: start servers | ||
run: | | ||
cd njs-modify-body | ||
docker-compose up -d | ||
- name: run tests | ||
run: | | ||
cd njs-modify-body | ||
../support/test.sh ./about | ||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: update /etc/hosts | ||
run: | | ||
sudo echo "172.17.0.1 host.docker.internal" | sudo tee -a /etc/hosts | ||
cat /etc/hosts | ||
- name: start servers | ||
run: | | ||
cd njs-modify-body | ||
docker compose up -d | ||
- name: run tests | ||
run: | | ||
cd njs-modify-body | ||
../support/test.sh ./about |
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,31 +1,31 @@ | ||
name: njs-stub-or-proxy | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
name: run tests | ||
runs-on: ubuntu-latest | ||
test: | ||
name: run tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: update /etc/hosts | ||
run: | | ||
sudo echo "172.17.0.1 host.docker.internal" | sudo tee -a /etc/hosts | ||
cat /etc/hosts | ||
- name: test config | ||
run: | | ||
cd njs-stub-or-proxy | ||
docker-compose run --rm nginx nginx -t | ||
- name: start nginx | ||
run: | | ||
cd njs-stub-or-proxy | ||
docker-compose up -d | ||
- name: run tests | ||
run: | | ||
cd njs-stub-or-proxy | ||
../support/test.sh ./about | ||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: update /etc/hosts | ||
run: | | ||
sudo echo "172.17.0.1 host.docker.internal" | sudo tee -a /etc/hosts | ||
cat /etc/hosts | ||
- name: test config | ||
run: | | ||
cd njs-stub-or-proxy | ||
docker compose run --rm nginx nginx -t | ||
- name: start nginx | ||
run: | | ||
cd njs-stub-or-proxy | ||
docker compose up -d | ||
- name: run tests | ||
run: | | ||
cd njs-stub-or-proxy | ||
../support/test.sh ./about |
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,39 +1,39 @@ | ||
name: payload-filter | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
name: run tests | ||
runs-on: ubuntu-latest | ||
test: | ||
name: run tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: update /etc/hosts | ||
run: | | ||
sudo echo "172.17.0.1 host.docker.internal" | sudo tee -a /etc/hosts | ||
cat /etc/hosts | ||
- name: create matching file | ||
run: | | ||
cd payload-filter | ||
touch ./nginx/conf.d/matching | ||
- name: build | ||
run: | | ||
cd payload-filter | ||
docker-compose build | ||
- name: test config | ||
run: | | ||
cd payload-filter | ||
docker-compose run --rm nginx nginx -t | ||
- name: start servers | ||
run: | | ||
cd payload-filter | ||
docker-compose up -d | ||
- name: run tests | ||
run: | | ||
cd payload-filter | ||
../support/test.sh ./about | ||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: update /etc/hosts | ||
run: | | ||
sudo echo "172.17.0.1 host.docker.internal" | sudo tee -a /etc/hosts | ||
cat /etc/hosts | ||
- name: create matching file | ||
run: | | ||
cd payload-filter | ||
touch ./nginx/conf.d/matching | ||
- name: build | ||
run: | | ||
cd payload-filter | ||
docker compose build | ||
- name: test config | ||
run: | | ||
cd payload-filter | ||
docker compose run --rm nginx nginx -t | ||
- name: start servers | ||
run: | | ||
cd payload-filter | ||
docker compose up -d | ||
- name: run tests | ||
run: | | ||
cd payload-filter | ||
../support/test.sh ./about |
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,31 +1,31 @@ | ||
name: proxy-get-body | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
name: run tests | ||
runs-on: ubuntu-latest | ||
test: | ||
name: run tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: update /etc/hosts | ||
run: | | ||
sudo echo "172.17.0.1 host.docker.internal" | sudo tee -a /etc/hosts | ||
cat /etc/hosts | ||
- name: build | ||
run: | | ||
cd proxy-get-body | ||
docker-compose build | ||
- name: start servers | ||
run: | | ||
cd proxy-get-body | ||
docker-compose up -d | ||
- name: run tests | ||
run: | | ||
cd proxy-get-body | ||
../support/test.sh ./about | ||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: update /etc/hosts | ||
run: | | ||
sudo echo "172.17.0.1 host.docker.internal" | sudo tee -a /etc/hosts | ||
cat /etc/hosts | ||
- name: build | ||
run: | | ||
cd proxy-get-body | ||
docker compose build | ||
- name: start servers | ||
run: | | ||
cd proxy-get-body | ||
docker compose up -d | ||
- name: run tests | ||
run: | | ||
cd proxy-get-body | ||
../support/test.sh ./about |
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,23 +1,23 @@ | ||
name: proxy_pass | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
name: run tests | ||
runs-on: ubuntu-latest | ||
test: | ||
name: run tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: start nginx | ||
run: | | ||
cd proxy_pass | ||
docker-compose up -d | ||
- name: run tests | ||
run: | | ||
cd proxy_pass | ||
../support/test.sh ./about | ||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: start nginx | ||
run: | | ||
cd proxy_pass | ||
docker compose up -d | ||
- name: run tests | ||
run: | | ||
cd proxy_pass | ||
../support/test.sh ./about |
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,23 +1,23 @@ | ||
name: proxy_set_header | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
name: run tests | ||
runs-on: ubuntu-latest | ||
test: | ||
name: run tests | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: start nginx | ||
run: | | ||
cd proxy_set_header | ||
docker-compose up -d | ||
- name: run tests | ||
run: | | ||
cd proxy_set_header | ||
../support/test.sh ./about | ||
steps: | ||
- name: checkout code | ||
uses: actions/checkout@v2 | ||
- name: start nginx | ||
run: | | ||
cd proxy_set_header | ||
docker compose up -d | ||
- name: run tests | ||
run: | | ||
cd proxy_set_header | ||
../support/test.sh ./about |
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
Oops, something went wrong.