Merge pull request #27 from actions/use-new-default-branch
Some checks failed
Mongodb Service Example / container-job (push) Has been cancelled
Mongodb Service Example / vm-job (push) Has been cancelled
Postgres Service Example / container-job (push) Has been cancelled
Postgres Service Example / vm-job (push) Has been cancelled
Redis Service Example / container-job (push) Has been cancelled
Redis Service Example / vm-job (push) Has been cancelled
Some checks failed
Mongodb Service Example / container-job (push) Has been cancelled
Mongodb Service Example / vm-job (push) Has been cancelled
Postgres Service Example / container-job (push) Has been cancelled
Postgres Service Example / vm-job (push) Has been cancelled
Redis Service Example / container-job (push) Has been cancelled
Redis Service Example / vm-job (push) Has been cancelled
Use new default branch
This commit is contained in:
18
.github/workflows/mongodb-service.yml
vendored
18
.github/workflows/mongodb-service.yml
vendored
@@ -3,20 +3,20 @@ name: Mongodb Service Example
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
working-directory: ./mongodb
|
working-directory: ./mongodb
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
container-job:
|
container-job:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
# runs all of the steps inside the specified container rather than on the VM host.
|
# runs all of the steps inside the specified container rather than on the VM host.
|
||||||
# Because of this the network configuration changes from host based network to a container network.
|
# Because of this the network configuration changes from host based network to a container network.
|
||||||
container:
|
container:
|
||||||
image: node:10.16-jessie
|
image: node:10.16-jessie
|
||||||
@@ -26,9 +26,9 @@ jobs:
|
|||||||
image: mongo
|
image: mongo
|
||||||
ports:
|
ports:
|
||||||
- 27017:27017
|
- 27017:27017
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: node client.js
|
- run: node client.js
|
||||||
env:
|
env:
|
||||||
@@ -50,7 +50,7 @@ jobs:
|
|||||||
- 27017/tcp
|
- 27017/tcp
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
- run: node client.js
|
- run: node client.js
|
||||||
env:
|
env:
|
||||||
|
|||||||
12
.github/workflows/postgres-service.yml
vendored
12
.github/workflows/postgres-service.yml
vendored
@@ -3,16 +3,16 @@ name: Postgres Service Example
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
container-job:
|
container-job:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
# runs all of the steps inside the specified container rather than on the VM host.
|
# runs all of the steps inside the specified container rather than on the VM host.
|
||||||
# Because of this the network configuration changes from host based network to a container network.
|
# Because of this the network configuration changes from host based network to a container network.
|
||||||
container:
|
container:
|
||||||
image: node:10.16-jessie
|
image: node:10.16-jessie
|
||||||
@@ -30,7 +30,7 @@ jobs:
|
|||||||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
working-directory: ./postgres
|
working-directory: ./postgres
|
||||||
- run: node client.js
|
- run: node client.js
|
||||||
@@ -60,7 +60,7 @@ jobs:
|
|||||||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- run: npm ci
|
- run: npm ci
|
||||||
working-directory: ./postgres
|
working-directory: ./postgres
|
||||||
- run: node client.js
|
- run: node client.js
|
||||||
|
|||||||
4
.github/workflows/redis-service.yml
vendored
4
.github/workflows/redis-service.yml
vendored
@@ -3,10 +3,10 @@ name: Redis Service Example
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches:
|
||||||
- master
|
- main
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
container-job:
|
container-job:
|
||||||
|
|||||||
Reference in New Issue
Block a user