.gitea/workflows/services.yml aktualisiert
Test Workflow run in Container / test (push) Successful in 8s
Test Gitea Actions with Service Containers / build (push) Has been cancelled

This commit is contained in:
2023-07-27 02:08:00 +02:00
parent eaf83b4f67
commit 52807694aa
+7 -5
View File
@@ -6,20 +6,25 @@ env:
MONGODB_CLUSTER_ADDRESS: mongodb
MONGODB_USERNAME: root
MONGODB_PASSWORD: supersecretpassword
MONGODB_DB_NAME: actions-environment
MONGODB_DB_NAME: actionsenvironment
PORT: 8080
jobs:
build:
container:
image: busybox:latest
image: node:latest
runs-on: ubuntu-latest
services:
mongodb:
image: mongo:latest
env:
MONGODB_INITDB_DATABASE: actionsenvironment
MONGODB_INITDB_ROOT_USERNAME: root
MONGODB_INITDB_ROOT_PASSWORD: supersecretpassword
MONGO_INITDB_DATABASE: actionsenvironment
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: supersecretpassword
steps:
- name: Print Debug
run: |
@@ -32,9 +37,6 @@ jobs:
echo ---------------------------------------------
echo "${{ toJSON(steps) }}"
echo ---------------------------------------------
ping mongodb -c 1
echo ---------------------------------------------
ping busybox -c 1
- name: Install NodeJS
uses: actions/setup-node@v3
with: