JSONLD update
GitHub Actions for JSONLD related repositories
Overview
The repositories utilise GitHub Actions for continuous integration and deployment. The main workflow identified is named "Update JSONLD."
Workflow Description
- Name: Update JSONLD
- Purpose: This workflow is designed to update JSONLD files within the repository.
- Conditions: The workflow triggers on specific events such as commits, pull requests, or schedule (based on the standard GitHub Actions triggers).
Key Steps and Inputs
- Checkout Repository:
- Action:
actions/checkout@v4
- Inputs:
fetch-depth: 2
repository: wolfiex/obs4MIPs-cmor-tables-ld
-
Description: Clones the repository with a depth of 2 to the runner.
-
Install Dependencies:
- Action:
pip install
- Inputs:
- Various Python dependencies such as
pytest
,cmip-ld
, etc.
- Various Python dependencies such as
-
Description: Installs necessary Python packages for the workflow.
-
Run Scripts:
- Action: Custom scripts (e.g.,
write_ancillary_C3S-GTO-ECV.py
,obs4MIPsLib.py
) - Inputs:
- Specific scripts and their associated parameters.
- Description: Executes scripts to process data, update files, or perform other tasks.
Mermaid Diagrams
Workflow Diagram
graph TD
A[Start] --> B[actions/checkout@v4]
B --> C[pip install dependencies]
C --> D[Run custom scripts]
D --> E[End]
Detailed Step Diagram
graph TD
A[Start] --> B[actions/checkout@v4]
B --> C1[fetch-depth: 2]
B --> C2[repository]
C1 --> D[pip install dependencies]
C2 --> D
D --> E1[Install pytest]
D --> E2[Install cmip-ld]
F[Run custom scripts]
F --> G1[script1.py]
F --> G2[script2.py]
E1 --> F
E2 --> F
G1 --> H[Trigger Publish Workflow]
G2 --> H
H --> I[End]