Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions kinds/5600.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
---
layout: default
title: CICD
description: Job request to run a CICD pipeline
---

# Input

Clients must provide a URL in the <code>"r"</code> tag field.
Clients must provide a branch in the <code>"b"</code> tag field.
Clients must provide a workflow in the <code>"w"</code> tag field.

The desired repo to be scanned must be directly accessible at the provided URL.

# Output

Logs and or url to artifacts uploaded (to blossom).

# Example 1

## Running a CICD pipeline defined on GitHub

#### Request

```json
{
"content": "",
"kind": 5600,
"tags":
[
["r", "https://github.com/Origami74/dvm-cicd-runner", "url"],
["b", "main", "branch"],
["w", "ci.yaml", "workflow"],
]
}
```

#### Response

```json
{
"content": "Run actions/checkout@v4
Syncing repository: Origami74/dvm-cicd-runner
Getting Git version info
Temporarily overriding HOME='/home/runner/work/_temp/de5dd822-f4d5-4741-9c61-2d2d4a16a499' before making global git config changes
Adding repository directory to the temporary git global config as a safe directory
/usr/bin/git config --global --add safe.directory /home/runner/work/dvm-cicd-runner/dvm-cicd-runner
Deleting the contents of '/home/runner/work/dvm-cicd-runner/dvm-cicd-runner'
Initializing the repository
Disabling automatic garbage collection
Setting up auth
Fetching the repository
Determining the checkout info
/usr/bin/git sparse-checkout disable
/usr/bin/git config --local --unset-all extensions.worktreeConfig
Checking out the ref
/usr/bin/git log -1 --format=%H
7840f94094e0cf756aa255a4bdd19925a05354a1
...
...
...
Run Origami74/upload-blossom-action@main
Starting blossom Upload
Uploading file 'main.ts' to host: 'https://blossom.swissdash.site/'!
Blob uploaded!, https://blossom.swissdash.site/146a33328366ab28ca3882c2fc347e3f4737bb857d54ee939e9f2603d6fd7739.ts",
"kind": 6600
}
```

20 changes: 20 additions & 0 deletions ranges/56xx.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
# Page settings
layout: homepage
keywords: nostr

# Hero section
title: DevOps
description: "jobs where the goal is to build or deploy or integrate code (CICD)"
buttons:
- content: Back
url: "/"
external_url: false

# Grid navigation
grid_navigation:
- title: Pipeline
excerpt: "Kind 5600"
cta: View
url: "/kinds/5600"
---