{"id":23626379,"url":"https://github.com/yetanalytics/lein-codedeploy","last_synced_at":"2025-10-04T16:42:48.721Z","repository":{"id":30848617,"uuid":"34406115","full_name":"yetanalytics/lein-codedeploy","owner":"yetanalytics","description":"A leiningen plugin to create an AWS Codedeploy zip archive ","archived":false,"fork":false,"pushed_at":"2014-12-07T20:15:02.000Z","size":188,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-05-18T17:08:40.279Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Clojure","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yetanalytics.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-22T17:47:41.000Z","updated_at":"2020-01-09T19:42:45.000Z","dependencies_parsed_at":"2022-09-03T09:01:29.575Z","dependency_job_id":null,"html_url":"https://github.com/yetanalytics/lein-codedeploy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/yetanalytics/lein-codedeploy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Flein-codedeploy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Flein-codedeploy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Flein-codedeploy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Flein-codedeploy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yetanalytics","download_url":"https://codeload.github.com/yetanalytics/lein-codedeploy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetanalytics%2Flein-codedeploy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278343071,"owners_count":25971399,"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-10-04T02:00:05.491Z","response_time":63,"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":"2024-12-27T22:53:10.906Z","updated_at":"2025-10-04T16:42:48.668Z","avatar_url":"https://github.com/yetanalytics.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aws-codedeploy\n\nA Clojure plugin to create an AWS CodeDeploy Package.\n\nThe plugin looks at the appspec.yml and creates a zip archive with the files \u0026 scripts defined in it.\n\nOptionally, it can replace tokens with values.\n\n## Usage\n\nAdd the following entry to your plugins vector in project.clj\n~~~\n     :plugins [[ystad/appspec \"1.0.0\"]]\n~~~\n\nDefine an Appspec section, as shown in the example below.\n\nHere:\n   - appspec-file, represents the appspec file. Refer [AppSpec-Reference](http://docs.aws.amazon.com/codedeploy/latest/userguide/app-spec-ref.html).\n   - package, Represents the name of the code-deploy package.\n   - tokens, Represents a map of the form {:\u003cfrom\u003e \"to\"}, these tokens will be used to replace templated values in the appspec or the scripts. See below for further details.\n\n~~~\n    :appspec { :appspec-file \"appspec.yml\"\n               :package \"myservicepackage\"\n               :tokens { :env \"staging\" } })\n~~~\n\nTo execute the plugin\n\n~~~\n     \u003e lein aws-codedeploy\n~~~\n\nA sample appspec.yml is shown below. The tokens defined in {{}} are replaced with the values defined in the tokens map. (Here, {{version}} is a special token referring to this leiningen project's version).\n\nYou can checkout a working [example](https://github.com/ystad/lein-codedeploy-example).\n\n~~~\n      version: 0.0\n      os: linux\n      files:\n        - source: /myservice-{{version}}.jar\n          destination: /opt/packages/\n        - source: config/config-{{env}}.jar\n          destination: /opt/packages/\n        - source: target/\n          destination: /opt/packages/\n      hooks:\n        AfterInstall:\n          - location: scripts/install_package\n            timeout: 300\n            runas: root\n~~~\n\n## License\n\nDistributed under the Eclipse Public License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetanalytics%2Flein-codedeploy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyetanalytics%2Flein-codedeploy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetanalytics%2Flein-codedeploy/lists"}