Skip to content

Commit

Permalink
Merge pull request #3973 from inflexiongames/feat/add-buildkite-cli
Browse files Browse the repository at this point in the history
feat: Add buildkite/cli and buildkite/agent.
  • Loading branch information
suzuki-shunsuke committed Jun 14, 2022
2 parents 3e0b131 + 92a5c7a commit cdbd213
Show file tree
Hide file tree
Showing 6 changed files with 87 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkgs/buildkite/agent/pkg.yaml
@@ -0,0 +1,2 @@
packages:
- name: buildkite/agent@v3.36.1
8 changes: 8 additions & 0 deletions pkgs/buildkite/agent/registry.yaml
@@ -0,0 +1,8 @@
packages:
- type: github_release
repo_owner: buildkite
repo_name: agent
description: "The Buildkite Agent is an open-source toolkit written in Golang for securely running build jobs on any device or network"
asset: "buildkite-agent-{{.OS}}-{{.Arch}}-{{.Version|trimV}}.tar.gz"
files:
- name: buildkite-agent
4 changes: 4 additions & 0 deletions pkgs/buildkite/cli/pkg.yaml
@@ -0,0 +1,4 @@
packages:
- name: buildkite/cli@v1.2.0
- name: buildkite/cli
version: v1.1.0
16 changes: 16 additions & 0 deletions pkgs/buildkite/cli/registry.yaml
@@ -0,0 +1,16 @@
packages:
- type: github_release
repo_owner: buildkite
repo_name: cli
description: "A command line interface for Buildkite."
asset: "cli-{{.OS}}-{{.Arch}}"
format: raw
files:
- name: bk
src: cli
version_constraint: 'semver(">= 1.2.0")'
version_overrides:
- version_constraint: 'semver("< 1.2.0")'
supported_if: not (GOOS == "linux" and GOARCH == "arm64")
rosetta2: true
asset: "bk-{{.OS}}-{{.Arch}}-{{.Version|trimV}}"
35 changes: 35 additions & 0 deletions registry.json
Expand Up @@ -1922,6 +1922,41 @@
"supported_if": "not ((GOOS == \"linux\") and (GOARCH == \"arm64\"))",
"type": "github_release"
},
{
"asset": "buildkite-agent-{{.OS}}-{{.Arch}}-{{.Version|trimV}}.tar.gz",
"description": "The Buildkite Agent is an open-source toolkit written in Golang for securely running build jobs on any device or network",
"files": [
{
"name": "buildkite-agent"
}
],
"repo_name": "agent",
"repo_owner": "buildkite",
"type": "github_release"
},
{
"asset": "cli-{{.OS}}-{{.Arch}}",
"description": "A command line interface for Buildkite.",
"files": [
{
"name": "bk",
"src": "cli"
}
],
"format": "raw",
"repo_name": "cli",
"repo_owner": "buildkite",
"type": "github_release",
"version_constraint": "semver(\"\u003e= 1.2.0\")",
"version_overrides": [
{
"asset": "bk-{{.OS}}-{{.Arch}}-{{.Version|trimV}}",
"rosetta2": true,
"supported_if": "not (GOOS == \"linux\" and GOARCH == \"arm64\")",
"version_constraint": "semver(\"\u003c 1.2.0\")"
}
]
},
{
"asset": "pack-{{.Version}}-{{.OS}}.tgz",
"description": "CLI for building apps using Cloud Native Buildpacks",
Expand Down
22 changes: 22 additions & 0 deletions registry.yaml
Expand Up @@ -1279,6 +1279,28 @@ packages:
src: buf/bin/protoc-gen-buf-breaking
- name: protoc-gen-buf-lint
src: buf/bin/protoc-gen-buf-lint
- type: github_release
repo_owner: buildkite
repo_name: agent
description: "The Buildkite Agent is an open-source toolkit written in Golang for securely running build jobs on any device or network"
asset: "buildkite-agent-{{.OS}}-{{.Arch}}-{{.Version|trimV}}.tar.gz"
files:
- name: buildkite-agent
- type: github_release
repo_owner: buildkite
repo_name: cli
description: "A command line interface for Buildkite."
asset: "cli-{{.OS}}-{{.Arch}}"
format: raw
files:
- name: bk
src: cli
version_constraint: 'semver(">= 1.2.0")'
version_overrides:
- version_constraint: 'semver("< 1.2.0")'
supported_if: not (GOOS == "linux" and GOARCH == "arm64")
rosetta2: true
asset: "bk-{{.OS}}-{{.Arch}}-{{.Version|trimV}}"
- type: github_release
repo_owner: buildpacks
repo_name: pack
Expand Down

0 comments on commit cdbd213

Please sign in to comment.