{"id":18341025,"url":"https://github.com/shyx0rmz/aptly-cli-resource","last_synced_at":"2025-10-29T11:35:51.270Z","repository":{"id":150037269,"uuid":"77960335","full_name":"SHyx0rmZ/aptly-cli-resource","owner":"SHyx0rmZ","description":"Enables you to transfer packages between your job and an aptly repository in your Concourse pipeline.","archived":false,"fork":false,"pushed_at":"2017-06-02T08:58:59.000Z","size":5,"stargazers_count":4,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-10T08:35:38.415Z","etag":null,"topics":["aptly","concourse","concourse-ci","concourse-ci-resource","concourse-resource"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/SHyx0rmZ.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-03T22:55:32.000Z","updated_at":"2022-01-18T04:30:07.000Z","dependencies_parsed_at":"2023-05-04T08:47:12.222Z","dependency_job_id":null,"html_url":"https://github.com/SHyx0rmZ/aptly-cli-resource","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/SHyx0rmZ%2Faptly-cli-resource","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SHyx0rmZ%2Faptly-cli-resource/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SHyx0rmZ%2Faptly-cli-resource/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SHyx0rmZ%2Faptly-cli-resource/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SHyx0rmZ","download_url":"https://codeload.github.com/SHyx0rmZ/aptly-cli-resource/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248111295,"owners_count":21049569,"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":["aptly","concourse","concourse-ci","concourse-ci-resource","concourse-resource"],"created_at":"2024-11-05T20:25:15.634Z","updated_at":"2025-10-29T11:35:46.237Z","avatar_url":"https://github.com/SHyx0rmZ.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# aptly CLI Resource\n\nEnables you to transfer packages between your job and an [aptly](https://www.aptly.info/) repository in your [Concourse](http://concourse.ci/) pipeline.\n\n## Source Configuration\n\n* `api_uri`: *Required.* URL pointing to the aptly repository's API.\n\n* `repo_uri`: *Required.* URL pointing to the aptly repository.\n\n* `component`: *Required.* Repository component the package should be placed in.\n\n* `distribution`: *Required.* Distribution that the package is built for.\n\n* `package`: *Required.* Name of the package.\n\n### Example\n\nResource configuration:\n\n``` yaml\nresource_types:\n- name: aptly-cli\n  type: docker-image\n  source:\n    repository: shyxormz/aptly-cli-resource\n    tag: latest\n\nresources:\n- name: concourse-deb\n  type: aptly-cli\n  source:\n    api_uri: http://127.0.0.1:8080/\n    repo_uri: http://127.0.0.1/concourse/\n    component: concourse\n    distribution: jessie\n    package: concourse\n```\n\nDownloading latest version of package:\n\n```yaml\n- get: concourse-deb\n  params:\n    archive: concourse_latest.deb\n```\n\nUploading new version of package:\n\n``` yaml\n- put: concourse-deb\n  params:\n    archive_file: source-code/filename\n    gpg_passphrase_file: /root/aptly.pass\n```\n\n## Behavior\n\n### `check`: Detect all versions of package.\n\nDetects versions of the package.\n\n### `in`: Download latest version of package\n\nDownloads the latest version of the package.\n\nThe following files will be placed in the destination:\n\n* `(filename|params.archive)`: The downloaded package. Either named after the filename or after the `archive` parameter, if it is set.\n\n* `filename`: Contains the filename of the package, as sent by aptly.\n\n* `path`: Contains the path to the downloaded package.\n\n#### Parameters\n\n* `archive`: *Optional.* Where the downloaded package should be placed.\n\n### `out`: Upload package\n\nUploads a new version of a package to aptly, signs it, creates a snapshot, and updates the published repository.\n\n#### Parameters\n\n* `gpg_passphrase_file`: *Required.* Path to a file containing a key to sign packages with on the Aptly server.\n\nOne of the following two options must be specified:\n\n* `archive`: *Optional.* Path to the package that should be uploaded.\n\n* `archive_file`: *Optional.* Path to a file containing the path to the package that should be uploaded.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshyx0rmz%2Faptly-cli-resource","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshyx0rmz%2Faptly-cli-resource","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshyx0rmz%2Faptly-cli-resource/lists"}