{"id":16952951,"url":"https://github.com/crenshaw-dev/executor-plugins-demo","last_synced_at":"2025-08-28T17:25:32.097Z","repository":{"id":63261048,"uuid":"562563916","full_name":"crenshaw-dev/executor-plugins-demo","owner":"crenshaw-dev","description":"Demo of an Argo Workflows executor plugin diffing an Argo CD app and writing the diff as a GitHub PR comment","archived":false,"fork":false,"pushed_at":"2022-11-16T18:33:41.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-26T07:41:17.433Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/crenshaw-dev.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}},"created_at":"2022-11-06T18:27:52.000Z","updated_at":"2023-06-10T12:00:08.000Z","dependencies_parsed_at":"2023-01-23T11:31:35.744Z","dependency_job_id":null,"html_url":"https://github.com/crenshaw-dev/executor-plugins-demo","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/crenshaw-dev%2Fexecutor-plugins-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crenshaw-dev%2Fexecutor-plugins-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crenshaw-dev%2Fexecutor-plugins-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/crenshaw-dev%2Fexecutor-plugins-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/crenshaw-dev","download_url":"https://codeload.github.com/crenshaw-dev/executor-plugins-demo/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244787014,"owners_count":20510041,"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-13T22:05:19.148Z","updated_at":"2025-03-21T11:20:55.707Z","avatar_url":"https://github.com/crenshaw-dev.png","language":null,"readme":"# Argo Workflows Executor Plugin Demo\n\nDemo of an Argo Workflows executor plugin diffing an Argo CD app and writing the diff as a GitHub PR comment\n\n## Setup\n\n```shell\nkubectl create namespace argocd\nkubectl create namespace argo\nkubectl create namespace argo-events\nkubectl apply -k .\n# Give it a few seconds to install, then get the initial admin password:\nkubectl -n argocd get secret argocd-initial-admin-secret -o jsonpath=\"{.data.password}\"  | base64 -d; echo\n```\n\nIn a different terminal, start port-forwarding. Then open http://localhost:8080 in your browser.\nLog in using the username `admin` and the password retrieved above.\n\n```shell\nkubectl port-forward svc/argocd-server -n argocd 8080:443\n```\n\nCreate a GitHub API token. Grant it read/write access on pull requests and read access on webhooks.\n\nCreate a secret with the token:\n\n```shell\n# Copy your token to the clipboard, then write it to a file:\npbpaste \u003e token\n```\n\nConfigure a webhook to point to `https://\u003cyour public IP address\u003e/push`.\n\n* Use Content type `applicaton/json`\n* Create a new, secure secret and write it to a file called `secret` (`pbpaste \u003e secret`)\n* Disable SSL verification - this is a demo, so we're not using a real certificate\n* Only enable Pull request events\n\n```shell\nkubectl create secret generic github-access --from-file secret -n argo-events\nkubectl create secret generic github-token --from-file token -n argo\n```\n\n```shell\nargocd login localhost:8080\nyq '.users[] | select(.name == \"localhost:8080\") | .[\"auth-token\"]' ~/.argocd/config | tr -d '\\n' \u003e token\nkubectl create secret generic argocd-token --from-file token --from-file secret -n argo\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrenshaw-dev%2Fexecutor-plugins-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcrenshaw-dev%2Fexecutor-plugins-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcrenshaw-dev%2Fexecutor-plugins-demo/lists"}