{"id":16361407,"url":"https://github.com/pevers/argo-containerless-plugin","last_synced_at":"2026-01-09T20:30:16.744Z","repository":{"id":128239054,"uuid":"538134836","full_name":"pevers/argo-containerless-plugin","owner":"pevers","description":"Plugin to deploy Node/Python packages from a GH repository","archived":false,"fork":false,"pushed_at":"2022-09-29T10:11:15.000Z","size":857,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-29T21:45:25.164Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pevers.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-09-18T14:27:03.000Z","updated_at":"2022-09-28T14:17:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"eff2eea2-5413-440c-9253-647b5337d574","html_url":"https://github.com/pevers/argo-containerless-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pevers%2Fargo-containerless-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pevers%2Fargo-containerless-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pevers%2Fargo-containerless-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pevers%2Fargo-containerless-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pevers","download_url":"https://codeload.github.com/pevers/argo-containerless-plugin/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239742433,"owners_count":19689314,"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","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":"2024-10-11T02:13:57.755Z","updated_at":"2026-01-09T20:30:16.636Z","avatar_url":"https://github.com/pevers.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# argo-containerless-plugin\n\nPlugin to deploy Python/Node packages directly from a git repository as Argo Workflow step. \n\n## Example\n\nThis will run this specific Python package from the `main` branch directly as Argo Workflow step.\n\n```yaml\napiVersion: argoproj.io/v1alpha1\nkind: Workflow\nmetadata:\n  generateName: containerless-\nspec:\n  entrypoint: main\n  templates:\n    - name: main\n      plugin:\n        containerless:\n          # Python \u003e= 3.7 is supported\n          runtime: python-3.10\n          repoURL: https://github.com/pevers/example-python-step.git\n          targetRevision: main\n          args:\n            - \"src/example.py\"\n            - \"Promaton Hackathon\"\n```\n\n![screenshot](screenshot.png)\n\n## Supports\n\n- [x] Python modules that can be installed via Poetry (pyproject.toml)\n- [x] Python 3.7, 3.8, 3.9, 3.10\n- [ ] Other Python build tools (pipenv, conda, ...)\n- [ ] Node\n\n## How it works\n\nThe Dockerfile creates an environment having multiple Python versions. We use Poetry to create a new virtual environment per module. Poetry is also used to install all project dependencies via a `pyproject.toml` file.\n\n## Compile and test\n\nThis requires an environment with the following tools installed.\n\n- Python\n- Git\n- Poetry\n- PyEnv\n\n```rust\ncargo build\nRUST_LOG=info ARGO_TOKEN_PATH=test/token cargo test\n```\n\n## Deploy in a local Kubernetes cluster\n\nThe Makefile assumes a local cluster created with a local registry. For example.\n\n```console\nk3d cluster create mycluster --registry-create mycluster-registry --volume /tmp/k3dvol:/tmp/k3dvol\n```\n\nInstall Argo following [this](https://argoproj.github.io/argo-workflows/quick-start/) tutorial.\n\nAlter the Makefile so that the local registry port is known. Then use the Makefile to deploy the plugin.\n\n```console\ndocker ps -f name=mycluster-registry # Extract port number and edit Makefile\nmake run-all-dev\n```\n\nSubmit an example workflow by running.\n\n```console\nargo submit -n argo/workflow.yaml\n```\n\n## Roadmap\n- [ ] Semantics should be the same as the Argo \"script\" step, maybe we should support the `ScriptTemplate` parameter\n- [ ] Make sure all errors are propagated correctly and the user has enough information when something fails\n- [ ] Make sure that the remote script execution is safe enough (restricted to  plugin container?)\n- [ ] Checkout remote branches automatically (instead of origin/branch-name)\n- [ ] Terminating workflow steps causes a controller exception\n- [ ] Artifact/Parameters should be handled correctly\n- [ ] Make sure that errors are thrown for incorrect Python scripts\n- [ ] Publish a first version to Docker hub\n- [ ] Create Helm chart for plugin\n- [ ] Support for Node modules","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpevers%2Fargo-containerless-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpevers%2Fargo-containerless-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpevers%2Fargo-containerless-plugin/lists"}