93686531a7
Gitea Branch PR & Ansible Deployment / Check and Create PR (push) Successful in 42s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (benedikta) (push) Successful in 4m58s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rikku) (push) Successful in 5m4s
Gitea Branch PR & Ansible Deployment / Ansible Dry Run (rinoa) (push) Successful in 5m59s
Gitea Branch PR & Ansible Deployment / PR Merge (push) Successful in 37s
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (benedikta) (push) Successful in 4m31s
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (rikku) (push) Successful in 4m31s
Gitea Branch PR & Ansible Deployment / Ansible Config Deployment (rinoa) (push) Successful in 4m55s
19 lines
435 B
YAML
19 lines
435 B
YAML
# Container-based Workflow
|
|
# Using a container for all steps
|
|
|
|
description: Run workflow steps in a Python container
|
|
|
|
container:
|
|
image: python:3.13
|
|
volumes:
|
|
- /tmp/data:/data
|
|
|
|
steps:
|
|
- # write data to a file
|
|
command: |
|
|
python -c "with open('/data/output.txt', 'w') as f: f.write('Hello from Dagu!')"
|
|
|
|
- # read data from the file
|
|
command: |
|
|
python -c "with open('/data/output.txt') as f: print(f.read())"
|