{"id":25020990,"url":"https://github.com/excoriate/stilettov2","last_synced_at":"2025-08-31T19:34:46.192Z","repository":{"id":183042585,"uuid":"668989355","full_name":"Excoriate/stilettov2","owner":"Excoriate","description":"✨A nice way to create and execute your pipelines \u0026 workflows \"as code\" 🤖","archived":false,"fork":false,"pushed_at":"2023-08-03T12:51:48.000Z","size":125,"stargazers_count":3,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-30T10:29:57.828Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Excoriate.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-07-21T04:52:01.000Z","updated_at":"2023-07-24T03:28:30.000Z","dependencies_parsed_at":"2025-03-30T10:26:54.621Z","dependency_job_id":"c75393a3-616b-41a0-b621-fe33223889af","html_url":"https://github.com/Excoriate/stilettov2","commit_stats":null,"previous_names":["excoriate/stilettov2"],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/Excoriate/stilettov2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Excoriate%2Fstilettov2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Excoriate%2Fstilettov2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Excoriate%2Fstilettov2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Excoriate%2Fstilettov2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Excoriate","download_url":"https://codeload.github.com/Excoriate/stilettov2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Excoriate%2Fstilettov2/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268448362,"owners_count":24252019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-05T12:18:35.679Z","updated_at":"2025-08-02T20:34:36.233Z","avatar_url":"https://github.com/Excoriate.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  Stiletto ⚔️\n\u003c/h1\u003e\n\u003cp align=\"center\"\u003ePortable, and \u003cb\u003econtainerized\u003c/b\u003e pipelines that runs everywhere! \u003cb\u003e works on top of Dagger ❤️️\u003c/b\u003e.\u003cbr/\u003e\u003cbr/\u003e\n\n---\n![GitHub release (latest by date)](https://img.shields.io/github/v/release/Excoriate/Stilettov2) [![Software License](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE.md) [![Powered By: GoReleaser](https://img.shields.io/badge/powered%20by-goreleaser-green.svg?style=flat-square)](https://github.com/goreleaser)[![Run golangci-lint](https://github.com/Excoriate/stilettov2/actions/workflows/go-ci-lint.yaml/badge.svg)](https://github.com/Excoriate/stilettov2/actions/workflows/go-ci-lint.yaml)[![Go Unit Test](https://github.com/Excoriate/stilettov2/actions/workflows/go-ci-test.yml/badge.svg)](https://github.com/Excoriate/stilettov2/actions/workflows/go-ci-test.yml)\n\n\n---\nStiletto (means \"dagger\" in Italian) is a portable, and containerized pipelines that runs everywhere, since it works on top of the wonderful\n[Dagger](https://dagger.io). Its main motivation is to provide a simple way to run pipelines in a portable way, and also to provide a way to run\npipelines in a containerized way, so you can run your pipelines in any environment, and also in any CI/CD platform.\nStiletto follows the same principles as [GitHub Actions](https://github.com/features/actions) in the way that it defines a pipeline, its jobs and actions; nevertheless, **it's not a 'portable' version of GH actions**.\n\n## 🔧 How to Install Stiletto\n\nStiletto provides binary distributions for every release which are generated using GoReleaser. To install it, you can use the pre-built binaries which are available for Linux, Windows, and macOS:\n\n1. Navigate to the [Releases](https://github.com/Excoriate/stilettov2/releases) page.\n2. Download the archive for your respective OS and architecture.\n3. Extract the archive.\n4. Move the `stiletto` binary into your `$PATH`.\n\nOr, based on your OS. For MacOS, you can use [Homebrew](https://brew.sh/):\n\n```bash\nbrew tap Excoriate/homebrew-tap https://github.com/Excoriate/homebrew-tap.git\nbrew install stiletto\n```\n\u003e**NOTE**: There are compiled binaries available for most of the common platforms, including Windows. Check the\n[Releases](https://github.com/Excoriate/stilettov2/releases) page.\n\n\n\n## ▶️ How to Use Stiletto\n### Core concepts\n* 🤖 **Runner**: It's how the tasks and jobs are executed. Currently, the only runner supported is [Dagger](https://dagger.io).\n* ⚡️ **Task**: It's the smallest unit of work that can be executed. It's composed by a set of `commands`. If you're familiar with GitHub actions, it's equivalent to the [steps](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idsteps).\n* 📦 **Job**: It's a set of tasks that are executed in a given order. If you're familiar with GitHub actions, it's equivalent to the [jobs](https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobs).\n* 📜 **manifest**: It's the file that defines the pipeline. It's a YAML file that contains the definition of the jobs, tasks or workflows. The specs are defined in the [manifests](./docs/manifests) folder.\n\n### How to define a manifest\nA manifest can be defined manually following the examples available in the [examples](./examples) folder\n\u003e**NOTE**: In the future, a CLI `command` will be added in order to automatically generate all the supported manifests.\n\nHere's an example of a manifest that defines an IAC (infrastructure-as-code) task for Terragrunt (which works on top of terraform):\n```yaml\n---\napiVersion: v1\nkind: Task\nmetadata:\n    name: iac-terragrunt\nspec:\n    containerImage: alpine/terragrunt\n    mountDir: .\n    workdir: examples/terragrunt\n    commandsSpec:\n        - binary:\n          commands:\n              - ls -ltrah /mnt\n        - binary: terragrunt\n          commands:\n              - init\n              - plan\n              - apply -auto-approve\n              - destroy -auto-approve\n\n```\nSome of the tasks options and capabilities while being defined are:\n* It can scan **environment variables** using the following options:\n  * Scan `AWS` env vars out of the box.\n  * Scan `terraform` (`TF_VARS_`) env vars out of the box.\n  * Scan all the host environment variables if available.\n  * Scan selectively environment variables, or set them explicitly.\n* It can mount **directories** and work on top of them defining **workdir** as an independent option.\n* It can define **commands** as _plain strings_, _Stiletto_ will take care of ensuring that the commands are executed in the right order.\n\n### CLI\nStiletto provides a CLI that can be used to run the pipelines. Just run `stiletto help` to see the available commands. However, here there are some examples of how to use it:\n- Running a task from a `taskfile`:\n```bash\nstiletto job dagger --task-files=mytasks/my-task.yaml\n```\n- Running a task from a `taskfile` and overriding the `workdir`:\n```bash\nstiletto job --mountdir=/tmp --workdir=/tmp --task-files=mytasks/my-task.yaml\n```\n\n## Roadmap 🗓️\n\n- [ ] New `manifest` command to generate manifests.\n- [ ] New types for manifest (e.g. `workflow`, `job`).\n- [ ] Enable workflows (`workflow.yml`) for more complex pipelines.\n- [ ] Cover necessary/critical parts of Stiletto with proper unit tests.\n- [ ] Add an official DockerFile that can be available in [DockerHub](https://hub.docker.com/).\n- [ ] Add an API to trigger Stiletto for automatic pipelines through _internal developer portals_ or other interfaces.\n\n\u003e**Note**: This is still work in progress, however, I'll be happy to receive any feedback or contribution. Ensure you've read the [contributing guide](./CONTRIBUTING.md) before doing so.\n\n\n## Contributing\n\nPlease read our [contributing guide](./CONTRIBUTING.md).\n\n## Community\n\nFind me in:\n\n- 📧 [Email](mailto:alex@ideaup.cl)\n- 🧳 [Linkedin](https://www.linkedin.com/in/alextorresruiz/)\n\n\n\u003ca href=\"https://github.com/Excoriate/stilettov2/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=Excoriate/stiletto\" /\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexcoriate%2Fstilettov2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexcoriate%2Fstilettov2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexcoriate%2Fstilettov2/lists"}