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