test
This commit is contained in:
parent
295f63c685
commit
6ecac75bc9
@ -5,48 +5,35 @@ jobs:
|
|||||||
lighthouse-evaluation:
|
lighthouse-evaluation:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: node:20-alpine3.19
|
image: ubuntu-latest
|
||||||
env:
|
services:
|
||||||
API_URL: some-url.com
|
mongo:
|
||||||
ports:
|
image: mongo:4.2
|
||||||
- 80
|
ports:
|
||||||
steps:
|
- 27017:27017
|
||||||
- uses: actions/checkout@v3
|
|
||||||
- name: log node & os versions
|
|
||||||
run: |
|
|
||||||
node -v
|
|
||||||
cat /etc/os-release
|
|
||||||
echo $API_URL
|
|
||||||
- name: container within a step
|
|
||||||
uses: docker://node:20-alpine3.19
|
|
||||||
with:
|
|
||||||
entrypoint: /usr/local/bin/node
|
|
||||||
args: -p 2 + 3
|
|
||||||
|
|
||||||
- name: log node version
|
maildev:
|
||||||
uses: docker://node:20-alpine3.19
|
image: gitbase.de/robin/maildev:latest
|
||||||
with:
|
ports:
|
||||||
entrypoint: /usr/local/bin/node
|
- 80:80
|
||||||
args: -v
|
- 25:25
|
||||||
- name: container within a step
|
|
||||||
uses: docker://node:20-alpine3.19
|
|
||||||
with:
|
|
||||||
entrypoint: /usr/local/bin/node
|
|
||||||
args: -p 2 + 3
|
|
||||||
|
|
||||||
- name: log node version
|
tibi-server:
|
||||||
uses: docker://node:20-alpine3.19
|
image: gitbase.de/cms/tibi-server
|
||||||
with:
|
ports:
|
||||||
entrypoint: /usr/local/bin/node
|
- 8080:8080
|
||||||
args: -v
|
env:
|
||||||
|
DB_DIAL: mongodb://mongo
|
||||||
|
API_PORT: 8080
|
||||||
|
MAIL_HOST: maildev:25
|
||||||
|
SECURITY_ALLOWABSOLUTEPATHS: "true"
|
||||||
|
SECURITY_ALLOWUPPERPATHS: "true"
|
||||||
|
SECURITY_ALLOWRELATIVEPATHS: "true"
|
||||||
|
|
||||||
- name: Validate container status
|
live-server:
|
||||||
run: |
|
image: gitbase.de/robin/live-server:latest
|
||||||
sleep 10
|
ports:
|
||||||
echo "Listing all running containers..."
|
- 8081:8081
|
||||||
docker ps
|
|
||||||
echo "Checking if specific containers are still running..."
|
|
||||||
docker ps | grep node:20-alpine3.19
|
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
name: deploy
|
name: deploy
|
||||||
@ -97,6 +84,12 @@ jobs:
|
|||||||
- name: setup node 18
|
- name: setup node 18
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
|
|
||||||
|
- name: container within a step
|
||||||
|
uses: docker://node:20-alpine3.19
|
||||||
|
with:
|
||||||
|
entrypoint: echo
|
||||||
|
args: "dastest"
|
||||||
|
|
||||||
- name: install dependencies
|
- name: install dependencies
|
||||||
env:
|
env:
|
||||||
FORCE_COLOR: "true"
|
FORCE_COLOR: "true"
|
||||||
|
Loading…
Reference in New Issue
Block a user