├── .gitignore ├── CODE_OF_CONDUCT.md ├── LICENSE ├── README.md ├── apt ├── favicon.ico ├── index.html └── staging │ └── index.html ├── ci ├── pipeline.yml ├── rebuild-all-debian-packages ├── repipe ├── scripts │ ├── create-debian-pkg-from-binary.sh │ ├── generate-public-key.sh │ └── update-homebrew.sh └── settings.yml ├── eden.rb ├── fissile.rb ├── genesis.rb ├── gotcha.rb ├── govc.rb ├── kafka-service-broker.rb ├── om.rb ├── public.key ├── quaa.rb ├── riff.rb ├── safe.rb ├── shield.rb ├── spruce.rb ├── uaa-cli.rb └── yj.rb /.gitignore: -------------------------------------------------------------------------------- 1 | tmp 2 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | ## Code of Conduct 2 | 3 | ### Our Pledge 4 | 5 | In the interest of fostering an open and welcoming environment, we as 6 | contributors and maintainers pledge to making participation in our project and 7 | our community a harassment-free experience for everyone, regardless of age, body 8 | size, disability, ethnicity, gender identity and expression, level of experience, 9 | nationality, personal appearance, race, religion, or sexual identity and 10 | orientation. 11 | 12 | ### Our Standards 13 | 14 | Examples of behavior that contributes to creating a positive environment 15 | include: 16 | 17 | * Using welcoming and inclusive language 18 | * Being respectful of differing viewpoints and experiences 19 | * Gracefully accepting constructive criticism 20 | * Focusing on what is best for the community 21 | * Showing empathy towards other community members 22 | 23 | Examples of unacceptable behavior by participants include: 24 | 25 | * The use of sexualized language or imagery and unwelcome sexual attention or 26 | advances 27 | * Trolling, insulting/derogatory comments, and personal or political attacks 28 | * Public or private harassment 29 | * Publishing others' private information, such as a physical or electronic 30 | address, without explicit permission 31 | * Other conduct which could reasonably be considered inappropriate in a 32 | professional setting 33 | 34 | ### Our Responsibilities 35 | 36 | Project maintainers are responsible for clarifying the standards of acceptable 37 | behavior and are expected to take appropriate and fair corrective action in 38 | response to any instances of unacceptable behavior. 39 | 40 | Project maintainers have the right and responsibility to remove, edit, or 41 | reject comments, commits, code, wiki edits, issues, pull requests, and other 42 | contributions that are not aligned to this Code of Conduct, or to ban 43 | temporarily or permanently any contributor for other behaviors that they deem 44 | inappropriate, threatening, offensive, or harmful. 45 | 46 | ### Scope 47 | 48 | This Code of Conduct applies both within project spaces and in public spaces 49 | when an individual is representing the project or its community. Examples of 50 | representing a project or community include using an official project e-mail 51 | address, posting via an official social media account, or acting as an appointed 52 | representative at an online or offline event. Representation of a project may be 53 | further defined and clarified by project maintainers. 54 | 55 | ### Enforcement 56 | 57 | Instances of abusive, harassing, or otherwise unacceptable behavior may be 58 | reported by contacting the project team at conduct@starkandwayne.com. All 59 | complaints will be reviewed and investigated and will result in a response that 60 | is deemed necessary and appropriate to the circumstances. The project team is 61 | obligated to maintain confidentiality with regard to the reporter of an incident. 62 | Further details of specific enforcement policies may be posted separately. 63 | 64 | Project maintainers who do not follow or enforce the Code of Conduct in good 65 | faith may face temporary or permanent repercussions as determined by other 66 | members of the project's leadership. 67 | 68 | ### Attribution 69 | 70 | This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4, 71 | available at [http://contributor-covenant.org/version/1/4][version] 72 | 73 | [homepage]: http://contributor-covenant.org 74 | [version]: http://contributor-covenant.org/version/1/4/ -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015-2022 Stark & Wayne 4 | Copyright (c) 2023-present Cloud Foundry Community 5 | 6 | Permission is hereby granted, free of charge, to any person obtaining a copy 7 | of this software and associated documentation files (the "Software"), to deal 8 | in the Software without restriction, including without limitation the rights 9 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 10 | copies of the Software, and to permit persons to whom the Software is 11 | furnished to do so, subject to the following conditions: 12 | 13 | The above copyright notice and this permission notice shall be included in all 14 | copies or substantial portions of the Software. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 17 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 18 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 19 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 20 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 21 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 22 | SOFTWARE. 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # CF Community Homebrew Tap & APT Repository 2 | 3 | Homebrew Tap & Debian Packages for useful BOSH / Cloud Foundry / Kubernetes 4 | utilities. These were initially created by Stark & Wayne and contains some 5 | software they had written, and other community tools that have been found 6 | valuable in day-to-day operations with CF and Kubernetes. 7 | 8 | ## Homebrew Tap 9 | 10 | Tap the formula repository: 11 | ```plain 12 | brew tap cloudfoundry-community/cf 13 | ``` 14 | 15 | 16 | Current software offered: 17 | 18 | | Package | Description | Author | Source | 19 | | ------- | ----------- | ------ | ------ | 20 | eden | CLI tool to interact with any Open Service Broker API | Stark & Wayne | [starkandwayne/eden][eden] 21 | genesis | BOSH Deployment Paradigm | Stark & Wayne | [starkandwayne/genesis][genesis] 22 | gotcha | Small HTTP/HTTPS MITM proxy, to troubleshoot encrypted HTTP traffic | Stark & Wayne | [starkandwayne/gotcha][gotcha] 23 | govc | vSphere CLI built on top of govmomi | VMWare | [vmware/govmomi][govmomi] 24 | kafka-service-broker | CLI tool to interact with Kafka/ZooKeeper OSB | Stark & Wayne | [starkandwayne/kafka-service-broker][kafka_svc_bkr] 25 | quaa | Tool to quickly deploy/run the Cloud Foundry UAA locally, or to a remote platform/cloud | Stark & Wayne | [quaa][quaa] 26 | riff | CLI tool that helps developers build and run functions using Knative | Pivotal | [projectriff/riff][riff] 27 | safe | CLI tool to interact with a Vault server | Stark & Wayne | [starkandwayne/safe][safe] 28 | shield | CLI tool to interact with SHIELD, a data protection offering | Stark & Wayne | [starkandwayne/shield][shield] 29 | spruce | General purpose YAML & JSON merging tool | geoffranks et al. | [geoffranks/spruce][spruce] 30 | uaa-cli | Experimental CLI for UAA written in Golang | Various | [cloudfoundry-community/uaa-cli][uaa_cli] 31 | 32 | [eden]: https://github.com/starkandwayne/eden 33 | [genesis]: https://github.com/starkandwayne/genesis 34 | [gotcha]: https://github.com/starkandwayne/gotcha 35 | [govmomi]: https://github.com/vmware/govmomi 36 | [kafka_svc_bkr]: https://github.com/starkandwayne/kafka-service-broker 37 | [quaa]: https://github.com/starkandwayne/quaa 38 | [riff]: https://github.com/projectriff/riff 39 | [safe]: https://github.com/starkandwayne/safe 40 | [shield]: https://github.com/starkandwayne/shield 41 | [spruce]: https://github.com/geoffranks/spruce 42 | [uaa_cli]: https://github.com/cloudfoundry-community/uaa-cli 43 | 44 | To install a package from our tap, run: 45 | 46 | `brew install cloudfoundry-community/cf/`, e.g. `brew install cloudfoundry-community/cf/safe` 47 | 48 | _Please note that while some of the above software is provided by other 49 | formulas, we only support installations from our tap. Other taps contain 50 | mismatched dependency versions which outright break some of our software. 51 | Please make sure you prefix package names with 52 | `cloudfoundry-community/cf/` to avoid installing an unsupported 53 | version._ 54 | 55 | ## Debian packages 56 | 57 | This project automatically packages several CLI binaries as Debian packages as 58 | well. To add our APT repository to your OS: 59 | 60 | ```plain 61 | wget -q -O - https://raw.githubusercontent.com/cloudfoundry-community/homebrew-cf/master/public.key | apt-key add - 62 | echo "deb http://apt.community.cloudfoundry.org stable main" | tee /etc/apt/sources.list.d/starkandwayne.list 63 | apt-get update 64 | ``` 65 | 66 | The above snippet will add our GPG key to your APT keychain, add the 67 | repository, and update your cache. 68 | 69 | The following packages are provided by the APT repository: 70 | 71 | | Package | Description | Author | Source | 72 | | --------- | ----------- | ------ | ------ | 73 | bosh-cli | CLI tool to interact with a BOSH director | Cloudfoundry | [cloudfoundry/bosh-cli][bosh_cli] 74 | bosh-bootloader | CLI tool for standing up a BOSH director | Cloudfoundry | [cloudfoundry/bosh-bootloader][bbl] 75 | eden | CLI tool to interact with any Open Service Broker API | Stark & Wayne | [starkandwayne/eden][eden] 76 | certstrap | Tools to bootstrap CAs, certificate requests, and signed certificates. | Square | [square/certstrap][certstrap] 77 | cf-cli | [currently v6, PRs welcome] CLI tool to interact with the Cloudfoundry API | Cloudfoundry | [cloudfoundry/cli][cf_cli] 78 | cf6-cli | legacy v6 CLI tool to interact with the Cloudfoundry API | Cloudfoundry | [cloudfoundry/cli][cf_cli] 79 | cf7-cli | v7 CLI tool to interact with the Cloudfoundry API | Cloudfoundry | [cloudfoundry/cli][cf_cli] 80 | ~~cf8-cli~~ | v8 CLI tool is not yet provided, PRs are welcome | Cloudfoundry | [cloudfoundry/cli][cf_cli] 81 | credhub-cli | CLI tool to interact with a CredHub server | Cloudfoundry | [cloudfoundry-community/credhub-cli][credhub_cli] 82 | direnv | Environment switcher for the shell | direnv | [direnv/direnv][direnv] 83 | genesis | BOSH Deployment Paradigm | Stark & Wayne | [starkandwayne/genesis][genesis] 84 | gotcha | Small HTTP/HTTPS MITM proxy, to troubleshoot encrypted HTTP traffic | Stark & Wayne | [starkandwayne/gotcha][gotcha] 85 | govc | vSphere CLI built on top of govmomi | VMWare | [vmware/govmomi][govmomi] 86 | hub | CLI tool that wraps git in order to extend it with extra features | GitHub | [github/hub][hub] 87 | install-debs-in-order | Install Debian packages in order | Stark & Wayne | [starkandwayne/install-debs-in-order][debs_in_order] 88 | jq | Command-line JSON processor, like `sed` for JSON. | Stedolan | [stedolan/jq][jq] 89 | kafka-service-broker | CLI tool to interact with Kafka/ZooKeeper OSB | Stark & Wayne | [starkandwayne/kafka-service-broker][kafka_svc_bkr] 90 | om | CLI tool to deploy products with Ops Manager | Pivotal | [pivotal-cf/om][om] 91 | pivnet-cli | CLI tool to interact with the Pivotal Network | Pivotal | [pivotal-cf/pivnet-cli][pivnet] 92 | quaa | Tool to quickly deploy/run the Cloud Foundry UAA locally, or to a remote platform/cloud | Stark & Wayne | [quaa][quaa] 93 | riff | CLI tool that helps developers build and run functions using Knative | Pivotal | [projectriff/riff][riff] 94 | safe | CLI tool to interact with a Vault server | Stark & Wayne | [starkandwayne/safe][safe] 95 | shield | CLI tool to interact with SHIELD, a data protection offering | Stark & Wayne | [starkandwayne/shield][shield] 96 | spruce | General purpose YAML & JSON merging tool | geoffranks et al. | [geoffranks/spruce][spruce] 97 | terraform | Tool for building, changing, and combining infrastructure safely | HashiCorp | [hashicorp/terraform][terraform] 98 | uaa-cli | Experimental CLI for UAA written in Golang | Various | [cloudfoundry-community/uaa-cli][uaa_cli] 99 | vault | Secrets management, encryption as a service, and privileged access management | HashiCorp | [hashicorp/vault][vault] 100 | aliyun-cli | Alibaba Cloud CLI | Alibaba Cloud | [aliyun/aliyun-cli][alicli] 101 | minica | MiniCA | Jacob Hoffman-Andrews | [jsha/minica][minica] 102 | 103 | [bosh_cli]: https://github.com/cloudfoundry/bosh-cli 104 | [bbl]: https://github.com/cloudfoundry/bosh-bootloader 105 | [certstrap]: https://github.com/square/certstrap 106 | [cf_cli]: https://github.com/cloudfoundry 107 | [credhub_cli]: https://github.com/cloudfoundry-incubator/credhub-cli 108 | [direnv]: https://github.com/direnv/direnv 109 | [hub]: https://github.com/github/hub 110 | [debs_in_order]: https://github.com/starkandwayne/install-debs-in-order 111 | [jq]: https://github.com/stedolan/jq 112 | [om]: https://github.com/pivotal-cf/om 113 | [pivnet]: https://github.com/pivotal-cf/pivnet-cli 114 | [terraform]: https://github.com/hashicorp/terraform 115 | [vault]: https://github.com/hashicorp/vault 116 | [alicli]: https://github.com/aliyun/aliyun-cli 117 | [minica]: https://github.com/jsha/minica 118 | 119 | To update the static site's index.html, run: 120 | 121 | ```plain 122 | aws s3 sync apt/ s3://apt.community.cloudfoundry.org/ 123 | ``` 124 | 125 | ## CI 126 | 127 | The CI pipeline to automatically update these Homebrew & Debian packages is: 128 | 129 | - Pipeline is currently being migrated to a new Concourse 130 | - Defined at https://github.com/cloudfoundry-community/homebrew-cf under the ci/ folder 131 | -------------------------------------------------------------------------------- /apt/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/cloudfoundry-community/homebrew-cf/b7e9695564ce5144a8babcace79f5ca0938e9fc2/apt/favicon.ico -------------------------------------------------------------------------------- /apt/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Cloud Foundry Community APT repository 4 | 5 | 6 | 7 |

Cloud Foundry Community APT repository

8 |

When you find yourself on an Ubuntu/Debian machine and you just need your favourite CLIs.

9 |
apt-get update
10 | apt install gnupg wget -y
11 | wget -q -O - https://raw.githubusercontent.com/cloudfoundry-community/homebrew-cf/master/public.key | apt-key add -
12 | echo "deb http://apt.community.cloudfoundry.org stable main" | tee /etc/apt/sources.list.d/starkandwayne.list
13 | apt-get update
14 | 
15 | apt install spruce
16 | apt install safe
17 | apt install bosh-cli
18 | apt install genesis # also installs spruce, safe, vault, bosh-cli, git, perl
19 | 
20 | apt install gotcha
21 | apt install shield
22 | apt install eden
23 | apt install kafka-service-broker
24 | apt install install-debs-in-order
25 | 
26 | apt install certstrap
27 | apt install credhub-cli
28 | apt install cf-cli # currently v6
29 | apt install cf6-cli
30 | apt install cf7-cli
31 | apt install uaa-cli
32 | apt install jq
33 | apt install yj
34 | apt install hub
35 | apt install direnv
36 | 
37 | apt install pack
38 | apt install minica
39 | 
40 | apt install terraform
41 | apt install vault
42 | 
43 | apt install riff
44 | apt install om
45 | apt install pivnet-cli
46 | 
47 | apt install knctl
48 | 
49 | apt install aliyun-cli
50 | 
51 | apt install govc
52 | 
53 |

These packages are automatically generated when their respective upstream projects publish new releases.

54 |

The scripts for building these Debian packages are at https://github.com/cloudfoundry-community/homebrew-cf in /ci subfolder. Pull requests for new packages and fixes are welcome.

55 |

(Previously was Stark & Wayne Community APT repository) 56 | 57 | 58 | -------------------------------------------------------------------------------- /apt/staging/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | Stark & Wayne APT repository 4 | 5 | 6 | 7 |

Stark & Wayne APT repository - staging

8 |

When you find yourself on an Ubuntu/Debian machine and you just need your favourite CLIs.

9 |
wget -q -O - https://raw.githubusercontent.com/starkandwayne/homebrew-cf/master/public.key | apt-key add -
10 | echo "deb http://apt.starkandwayne.com/staging stable main" | tee /etc/apt/sources.list.d/starkandwayne.list
11 | apt-get update
12 | 
13 | apt install safe
14 | 
15 | 16 | 17 | -------------------------------------------------------------------------------- /ci/pipeline.yml: -------------------------------------------------------------------------------- 1 | --- 2 | meta: 3 | name: (( param "Please name your pipeline" )) 4 | pipeline: (( grab meta.name )) 5 | target: (( param "Please identify the name of the target Concourse CI" )) 6 | image: 7 | type: registry-image 8 | source: 9 | repository: registry.ops.scalecf.net/genesis-community/concourse 10 | tag: "latest" 11 | insecure: true 12 | image-golang: 13 | type: docker-image 14 | source: 15 | repository: registry.ops.scalecf.net/genesis-community/concourse-go 16 | tag: "1.18" 17 | 18 | github: 19 | uri: (( concat "git@github.com:" meta.github.owner "/" meta.github.repo )) 20 | owner: (( param "Please specify the name of the user / organization that owns the Github repository" )) 21 | repo: (( param "Please specify the name of the Github repository" )) 22 | branch: master 23 | private_key: (( param "Please generate an SSH Deployment Key for this repo and specify it here" )) 24 | access_token: (( param "Please generate a Personal Access Token and specify it here (read-only for repos, to avoid rate limiting)" )) 25 | 26 | debian: 27 | s3_bucket: (( param "Please specify AWS S3 bucket for Debian packages" )) 28 | aws_access_key: (( param "Please specify AWS access key for debian S3 bucket" )) 29 | aws_secret_key: (( param "Please specify AWS secret key for debian S3 bucket" )) 30 | region: us-east-1 31 | 32 | gpg: 33 | id: (( param "Please provide GPG ID for signing packages" )) 34 | public_key: (( param "Please provide GPG public key for signing packages" )) 35 | private_key: (( param "Please provide GPG private key for signing packages" )) 36 | 37 | pivnet: 38 | api-token: (( param "Please set api token for pivnet )) 39 | 40 | groups: 41 | - name: (( grab meta.name )) 42 | jobs: 43 | - spruce-homebrew 44 | - spruce-debian 45 | - shield-homebrew 46 | - shield-debian 47 | - safe-homebrew 48 | - safe-debian 49 | - eden-homebrew 50 | - eden-debian 51 | - kafka-service-broker-homebrew 52 | - kafka-service-broker-debian 53 | - install-debs-in-order-debian 54 | - gotcha-homebrew 55 | - gotcha-debian 56 | - genesis-homebrew 57 | - genesis-debian 58 | - bosh-cli-debian 59 | - credhub-cli-debian 60 | - uaa-cli-homebrew 61 | - uaa-cli-debian 62 | - certstrap-debian 63 | - cf-cli-debian 64 | - cf6-cli-debian 65 | - cf7-cli-debian 66 | - jq-debian 67 | - om-homebrew 68 | - om-debian 69 | - pivnet-cli-debian 70 | - hub-debian 71 | - direnv-debian 72 | - terraform-debian 73 | - bosh-bootloader-debian 74 | - govc-homebrew 75 | - govc-debian 76 | - quaa-homebrew 77 | - pack-debian 78 | - riff-homebrew 79 | - riff-debian 80 | - knctl-debian 81 | - aliyun-debian 82 | - minica-debian 83 | - yj-homebrew 84 | - yj-debian 85 | - fissile-homebrew 86 | - vault-debian 87 | - name: homebrew 88 | jobs: 89 | - spruce-homebrew 90 | - shield-homebrew 91 | - safe-homebrew 92 | - eden-homebrew 93 | - kafka-service-broker-homebrew 94 | - gotcha-homebrew 95 | - genesis-homebrew 96 | - uaa-cli-homebrew 97 | - govc-homebrew 98 | - quaa-homebrew 99 | - riff-homebrew 100 | - om-homebrew 101 | - yj-homebrew 102 | - fissile-homebrew 103 | - name: debian 104 | jobs: 105 | - spruce-debian 106 | - shield-debian 107 | - safe-debian 108 | - eden-debian 109 | - kafka-service-broker-debian 110 | - install-debs-in-order-debian 111 | - gotcha-debian 112 | - genesis-debian 113 | - bosh-cli-debian 114 | - credhub-cli-debian 115 | - uaa-cli-debian 116 | - certstrap-debian 117 | - cf-cli-debian 118 | - cf6-cli-debian 119 | - cf7-cli-debian 120 | - jq-debian 121 | - om-debian 122 | - pivnet-cli-debian 123 | - hub-debian 124 | - direnv-debian 125 | - terraform-debian 126 | - bosh-bootloader-debian 127 | - govc-debian 128 | - pack-debian 129 | - riff-debian 130 | - knctl-debian 131 | - aliyun-debian 132 | - minica-debian 133 | - yj-debian 134 | - vault-debian 135 | 136 | jobs: 137 | - name: install-debs-in-order-debian 138 | public: true 139 | serial_groups: [apt] 140 | plan: 141 | - get: homebrew 142 | resource: homebrew 143 | - get: install-debs-in-order 144 | resource: install-debs-in-order 145 | trigger: true 146 | - task: create-debian 147 | config: 148 | platform: linux 149 | image_resource: (( grab meta.image )) 150 | inputs: 151 | - name: homebrew 152 | - name: install-debs-in-order 153 | path: recipe 154 | run: 155 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 156 | params: 157 | DEBUG: 1 158 | REPO_ROOT: homebrew 159 | REPO_OUT: pushme 160 | IN_BINARY: "install-debs-in-order-linux-amd64" 161 | OUT_BINARY: install-debs-in-order 162 | NAME: install-debs-in-order 163 | LICENSE: MIT 164 | DESCRIPTION: Install a directory of *.deb in the correct order 165 | URL: https://github.com/starkandwayne/install-debs-in-order 166 | MAINTAINERS: https://github.com/starkandwayne/install-debs-in-order/graphs/contributors 167 | VENDOR: Stark & Wayne LLC 168 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 169 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 170 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 171 | S3_REGION: (( grab meta.debian.region )) 172 | GPG_ID: (( grab meta.gpg.id )) 173 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 174 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 175 | 176 | - name: kafka-service-broker-debian 177 | public: true 178 | serial_groups: [apt] 179 | plan: 180 | - get: homebrew 181 | resource: homebrew 182 | - get: kafka-service-broker 183 | resource: kafka-service-broker 184 | trigger: true 185 | - task: create-debian 186 | config: 187 | platform: linux 188 | image_resource: (( grab meta.image )) 189 | inputs: 190 | - name: homebrew 191 | - name: kafka-service-broker 192 | path: recipe 193 | run: 194 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 195 | params: 196 | DEBUG: 1 197 | REPO_ROOT: homebrew 198 | REPO_OUT: pushme 199 | IN_BINARY: "kafka-service-broker-linux-amd64" 200 | OUT_BINARY: kafka-service-broker 201 | NAME: kafka-service-broker 202 | LICENSE: MIT 203 | DESCRIPTION: Open Service Broker for Apache Kafka 204 | URL: https://github.com/starkandwayne/kafka-service-broker 205 | MAINTAINERS: https://github.com/starkandwayne/kafka-service-broker/graphs/contributors 206 | VENDOR: Stark & Wayne LLC 207 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 208 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 209 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 210 | S3_REGION: (( grab meta.debian.region )) 211 | GPG_ID: (( grab meta.gpg.id )) 212 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 213 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 214 | 215 | - name: kafka-service-broker-homebrew 216 | public: true 217 | serial: true 218 | plan: 219 | - get: homebrew 220 | resource: homebrew 221 | - get: kafka-service-broker 222 | resource: kafka-service-broker 223 | trigger: true 224 | - task: update-homebrew 225 | config: 226 | platform: linux 227 | image_resource: (( grab meta.image )) 228 | inputs: 229 | - name: homebrew 230 | - name: kafka-service-broker 231 | path: recipe 232 | outputs: 233 | - name: pushme 234 | run: 235 | path: "homebrew/ci/scripts/update-homebrew.sh" 236 | args: 237 | - kafka-service-broker.rb 238 | params: 239 | REPO_ROOT: homebrew 240 | REPO_OUT: pushme 241 | BINARY: "kafka-service-broker-darwin-amd64" 242 | - put: homebrew 243 | params: 244 | repository: pushme/homebrew 245 | rebase: true 246 | 247 | - name: eden-debian 248 | public: true 249 | serial_groups: [apt] 250 | plan: 251 | - get: homebrew 252 | resource: homebrew 253 | - get: homebrew-public-key 254 | trigger: true 255 | - get: eden 256 | resource: eden 257 | trigger: true 258 | - task: create-debian 259 | config: 260 | platform: linux 261 | image_resource: (( grab meta.image )) 262 | inputs: 263 | - name: homebrew 264 | - name: eden 265 | path: recipe 266 | run: 267 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 268 | params: 269 | DEBUG: 1 270 | REPO_ROOT: homebrew 271 | REPO_OUT: pushme 272 | IN_BINARY: "eden-linux-amd64" 273 | OUT_BINARY: eden 274 | NAME: eden 275 | LICENSE: MIT 276 | DESCRIPTION: CLI to any Open Service Broker API 277 | URL: https://github.com/starkandwayne/eden 278 | MAINTAINERS: https://github.com/starkandwayne/eden/graphs/contributors 279 | VENDOR: Stark & Wayne LLC 280 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 281 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 282 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 283 | S3_REGION: (( grab meta.debian.region )) 284 | GPG_ID: (( grab meta.gpg.id )) 285 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 286 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 287 | 288 | - name: eden-homebrew 289 | public: true 290 | serial: true 291 | plan: 292 | - get: homebrew 293 | resource: homebrew 294 | - get: eden 295 | resource: eden 296 | trigger: true 297 | - task: update-homebrew 298 | config: 299 | platform: linux 300 | image_resource: (( grab meta.image )) 301 | inputs: 302 | - name: homebrew 303 | - name: eden 304 | path: recipe 305 | outputs: 306 | - name: pushme 307 | run: 308 | path: "homebrew/ci/scripts/update-homebrew.sh" 309 | args: 310 | - eden.rb 311 | params: 312 | REPO_ROOT: homebrew 313 | REPO_OUT: pushme 314 | BINARY: "eden-darwin-amd64" 315 | - put: homebrew 316 | params: 317 | repository: pushme/homebrew 318 | rebase: true 319 | 320 | - name: safe-debian 321 | public: true 322 | serial_groups: [apt] 323 | plan: 324 | - get: homebrew 325 | resource: homebrew 326 | - get: safe 327 | resource: safe 328 | trigger: true 329 | - task: create-debian 330 | config: 331 | platform: linux 332 | image_resource: (( grab meta.image )) 333 | inputs: 334 | - name: homebrew 335 | - name: safe 336 | path: recipe 337 | run: 338 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 339 | params: 340 | DEBUG: 1 341 | REPO_ROOT: homebrew 342 | REPO_OUT: pushme 343 | IN_BINARY: "safe-*-linux-amd64" 344 | OUT_BINARY: safe 345 | NAME: safe 346 | LICENSE: MIT 347 | DESCRIPTION: Alternative Vault CLI 348 | URL: https://github.com/cloudfoundry-community/safe 349 | MAINTAINERS: https://github.com/cloudfoundry-community/safe/graphs/contributors 350 | VENDOR: Cloud Foundry Community 351 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 352 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 353 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 354 | S3_REGION: (( grab meta.debian.region )) 355 | GPG_ID: (( grab meta.gpg.id )) 356 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 357 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 358 | 359 | - name: safe-homebrew 360 | public: true 361 | serial: true 362 | plan: 363 | - get: homebrew 364 | resource: homebrew 365 | - get: safe 366 | resource: safe 367 | trigger: true 368 | - task: update-homebrew 369 | config: 370 | platform: linux 371 | image_resource: (( grab meta.image )) 372 | inputs: 373 | - name: homebrew 374 | - name: safe 375 | path: recipe 376 | outputs: 377 | - name: pushme 378 | run: 379 | path: "homebrew/ci/scripts/update-homebrew.sh" 380 | args: 381 | - safe.rb 382 | params: 383 | REPO_ROOT: homebrew 384 | REPO_OUT: pushme 385 | BINARY: "safe-*-darwin-amd64" 386 | - put: homebrew 387 | params: 388 | repository: pushme/homebrew 389 | rebase: true 390 | 391 | - name: vault-debian 392 | public: true 393 | serial_groups: [apt] 394 | plan: 395 | - get: homebrew 396 | resource: homebrew 397 | - get: vault 398 | resource: vault 399 | trigger: true 400 | params: { regexp: linux_amd64 } 401 | - task: create-debian 402 | config: 403 | platform: linux 404 | image_resource: (( grab meta.image )) 405 | inputs: 406 | - name: homebrew 407 | - name: vault 408 | path: recipe 409 | run: 410 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 411 | params: 412 | DEBUG: 1 413 | REPO_ROOT: homebrew 414 | REPO_OUT: pushme 415 | IN_BINARY_PREFIX_ZIP: vault_ 416 | IN_BINARY: "vault" 417 | OUT_BINARY: vault 418 | NAME: vault 419 | LICENSE: Mozilla Public License 2.0 420 | DESCRIPTION: A tool for secrets management, encryption as a service, and privileged access management 421 | URL: https://www.vaultproject.io/ 422 | MAINTAINERS: https://github.com/cloudfoundry-community/safe/graphs/contributors 423 | VENDOR: Hashicorp 424 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 425 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 426 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 427 | S3_REGION: (( grab meta.debian.region )) 428 | GPG_ID: (( grab meta.gpg.id )) 429 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 430 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 431 | 432 | - name: gotcha-debian 433 | public: true 434 | serial_groups: [apt] 435 | plan: 436 | - get: homebrew 437 | resource: homebrew 438 | - get: gotcha 439 | resource: gotcha 440 | trigger: true 441 | - task: create-debian 442 | config: 443 | platform: linux 444 | image_resource: (( grab meta.image )) 445 | inputs: 446 | - name: homebrew 447 | - name: gotcha 448 | path: recipe 449 | run: 450 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 451 | params: 452 | DEBUG: 1 453 | REPO_ROOT: homebrew 454 | REPO_OUT: pushme 455 | IN_BINARY: "gotcha-linux-amd64" 456 | OUT_BINARY: gotcha 457 | NAME: gotcha 458 | LICENSE: MIT 459 | DESCRIPTION: Debugging MiTM HTTP Proxy 460 | URL: https://github.com/starkandwayne/gotcha 461 | MAINTAINERS: https://github.com/starkandwayne/gotcha/graphs/contributors 462 | VENDOR: Stark & Wayne LLC 463 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 464 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 465 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 466 | S3_REGION: (( grab meta.debian.region )) 467 | GPG_ID: (( grab meta.gpg.id )) 468 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 469 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 470 | 471 | - name: gotcha-homebrew 472 | public: true 473 | serial: true 474 | plan: 475 | - get: homebrew 476 | resource: homebrew 477 | - get: gotcha 478 | resource: gotcha 479 | trigger: true 480 | - task: update-homebrew 481 | config: 482 | platform: linux 483 | image_resource: (( grab meta.image )) 484 | inputs: 485 | - name: homebrew 486 | - name: gotcha 487 | path: recipe 488 | outputs: 489 | - name: pushme 490 | run: 491 | path: "homebrew/ci/scripts/update-homebrew.sh" 492 | args: 493 | - gotcha.rb 494 | params: 495 | REPO_ROOT: homebrew 496 | REPO_OUT: pushme 497 | BINARY: "gotcha-darwin-amd64" 498 | - put: homebrew 499 | params: 500 | repository: pushme/homebrew 501 | rebase: true 502 | 503 | - name: genesis-debian 504 | public: true 505 | serial_groups: [apt] 506 | plan: 507 | - get: homebrew 508 | resource: homebrew 509 | - get: genesis 510 | resource: genesis 511 | trigger: true 512 | - task: create-debian 513 | config: 514 | platform: linux 515 | image_resource: (( grab meta.image )) 516 | inputs: 517 | - name: homebrew 518 | - name: genesis 519 | path: recipe 520 | run: 521 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 522 | params: 523 | DEBUG: 1 524 | REPO_ROOT: homebrew 525 | REPO_OUT: pushme 526 | IN_BINARY: "genesis" 527 | OUT_BINARY: genesis 528 | NAME: genesis 529 | LICENSE: MIT 530 | DESCRIPTION: BOSH Deployment Paradigm 531 | URL: https://github.com/genesis-community/genesis 532 | MAINTAINERS: https://github.com/genesis-community/genesis/graphs/contributors 533 | VENDOR: Five Twenty LLC 534 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 535 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 536 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 537 | S3_REGION: (( grab meta.debian.region )) 538 | GPG_ID: (( grab meta.gpg.id )) 539 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 540 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 541 | FPM_FLAGS: --deb-recommends bosh-cli --deb-recommends safe --deb-recommends spruce --deb-recommends vault --deb-recommends git --deb-recommends perl 542 | 543 | - name: genesis-homebrew 544 | public: true 545 | serial: true 546 | plan: 547 | - get: homebrew 548 | resource: homebrew 549 | - get: genesis 550 | resource: genesis 551 | trigger: true 552 | - task: update-homebrew 553 | config: 554 | platform: linux 555 | image_resource: (( grab meta.image )) 556 | inputs: 557 | - name: homebrew 558 | - name: genesis 559 | path: recipe 560 | outputs: 561 | - name: pushme 562 | run: 563 | path: "homebrew/ci/scripts/update-homebrew.sh" 564 | args: 565 | - genesis.rb 566 | params: 567 | REPO_ROOT: homebrew 568 | REPO_OUT: pushme 569 | BINARY: "genesis" 570 | - put: homebrew 571 | params: 572 | repository: pushme/homebrew 573 | rebase: true 574 | 575 | - name: spruce-debian 576 | public: true 577 | serial_groups: [apt] 578 | plan: 579 | - get: homebrew 580 | resource: homebrew 581 | - get: spruce 582 | resource: spruce 583 | trigger: true 584 | - task: create-debian 585 | config: 586 | platform: linux 587 | image_resource: (( grab meta.image )) 588 | inputs: 589 | - name: homebrew 590 | - name: spruce 591 | path: recipe 592 | run: 593 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 594 | params: 595 | DEBUG: 1 596 | REPO_ROOT: homebrew 597 | REPO_OUT: pushme 598 | IN_BINARY: "spruce-linux-amd64" 599 | OUT_BINARY: spruce 600 | NAME: spruce 601 | LICENSE: MIT 602 | DESCRIPTION: General purpose YAML & JSON merging tool 603 | URL: https://github.com/geofffranks/spruce 604 | MAINTAINERS: https://github.com/geofffranks/spruce/graphs/contributors 605 | VENDOR: Geoff Franks 606 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 607 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 608 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 609 | S3_REGION: (( grab meta.debian.region )) 610 | GPG_ID: (( grab meta.gpg.id )) 611 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 612 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 613 | 614 | - name: spruce-homebrew 615 | public: true 616 | serial: true 617 | plan: 618 | - get: homebrew 619 | resource: homebrew 620 | - get: spruce 621 | resource: spruce 622 | trigger: true 623 | - task: update-homebrew 624 | config: 625 | platform: linux 626 | image_resource: (( grab meta.image )) 627 | inputs: 628 | - name: homebrew 629 | - name: spruce 630 | path: recipe 631 | outputs: 632 | - name: pushme 633 | run: 634 | path: "homebrew/ci/scripts/update-homebrew.sh" 635 | args: 636 | - spruce.rb 637 | params: 638 | REPO_ROOT: homebrew 639 | REPO_OUT: pushme 640 | BINARY: "spruce-darwin-amd64" 641 | - put: homebrew 642 | params: 643 | repository: pushme/homebrew 644 | rebase: true 645 | 646 | - name: shield-debian 647 | public: true 648 | serial_groups: [apt] 649 | plan: 650 | - get: homebrew 651 | resource: homebrew 652 | - get: shield 653 | resource: shield 654 | trigger: true 655 | - task: create-debian 656 | config: 657 | platform: linux 658 | image_resource: (( grab meta.image )) 659 | inputs: 660 | - name: homebrew 661 | - name: shield 662 | path: recipe 663 | run: 664 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 665 | params: 666 | DEBUG: 1 667 | REPO_ROOT: homebrew 668 | REPO_OUT: pushme 669 | IN_BINARY: "shield-linux-amd64" 670 | OUT_BINARY: shield 671 | NAME: shield 672 | LICENSE: MIT 673 | DESCRIPTION: CLI to SHIELD Backup/Restore Director 674 | URL: https://github.com/shieldproject/shield 675 | MAINTAINERS: https://github.com/shieldproject/shield/graphs/contributors 676 | VENDOR: Cloud Foundry Community 677 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 678 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 679 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 680 | S3_REGION: (( grab meta.debian.region )) 681 | GPG_ID: (( grab meta.gpg.id )) 682 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 683 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 684 | 685 | - name: shield-homebrew 686 | public: true 687 | serial: true 688 | plan: 689 | - get: homebrew 690 | resource: homebrew 691 | - get: shield 692 | resource: shield 693 | trigger: true 694 | - task: update-homebrew 695 | config: 696 | platform: linux 697 | image_resource: (( grab meta.image )) 698 | inputs: 699 | - name: homebrew 700 | - name: shield 701 | path: recipe 702 | outputs: 703 | - name: pushme 704 | run: 705 | path: "homebrew/ci/scripts/update-homebrew.sh" 706 | args: 707 | - shield.rb 708 | params: 709 | REPO_ROOT: homebrew 710 | REPO_OUT: pushme 711 | BINARY: "shield-darwin-amd64" 712 | - put: homebrew 713 | params: 714 | repository: pushme/homebrew 715 | rebase: true 716 | 717 | - name: bosh-cli-debian 718 | public: true 719 | serial_groups: [apt] 720 | plan: 721 | - get: homebrew 722 | resource: homebrew 723 | - get: bosh-cli 724 | resource: bosh-cli-linux 725 | trigger: true 726 | - task: create-debian 727 | config: 728 | platform: linux 729 | image_resource: (( grab meta.image )) 730 | inputs: 731 | - name: homebrew 732 | - name: bosh-cli 733 | path: recipe 734 | run: 735 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 736 | params: 737 | DEBUG: 1 738 | REPO_ROOT: homebrew 739 | REPO_OUT: pushme 740 | IN_BINARY: "bosh-cli-*-linux-amd64" 741 | OUT_BINARY: bosh bosh 742 | NAME: bosh-cli 743 | LICENSE: Apache2 744 | DESCRIPTION: Interact with BOSH director 745 | URL: https://bosh.io/docs/cli-v2.html 746 | MAINTAINERS: https://github.com/cloudfoundry/bosh-cli/graphs/contributors 747 | VENDOR: Cloud Foundry Foundation 748 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 749 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 750 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 751 | S3_REGION: (( grab meta.debian.region )) 752 | GPG_ID: (( grab meta.gpg.id )) 753 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 754 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 755 | 756 | - name: credhub-cli-debian 757 | public: true 758 | serial_groups: [apt] 759 | plan: 760 | - get: homebrew 761 | resource: homebrew 762 | - get: credhub 763 | resource: credhub-cli 764 | trigger: true 765 | - task: unpack-tgz 766 | config: 767 | platform: linux 768 | image_resource: (( grab meta.image )) 769 | inputs: 770 | - name: homebrew 771 | - name: credhub 772 | path: recipe 773 | outputs: 774 | - name: unpacked 775 | run: 776 | path: sh 777 | args: 778 | - -exc 779 | - | 780 | tar xfz recipe/${IN_TGZ} -C unpacked 781 | cp recipe/version unpacked/version 782 | params: 783 | IN_TGZ: "*linux*tgz" 784 | - task: create-debian 785 | config: 786 | platform: linux 787 | image_resource: (( grab meta.image )) 788 | inputs: 789 | - name: homebrew 790 | - name: unpacked 791 | path: recipe 792 | run: 793 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 794 | params: 795 | DEBUG: 1 796 | REPO_ROOT: homebrew 797 | REPO_OUT: pushme 798 | IN_BINARY: credhub 799 | OUT_BINARY: credhub 800 | NAME: credhub-cli 801 | LICENSE: Apache2 802 | DESCRIPTION: CLI to interact with CredHub servers 803 | URL: https://github.com/cloudfoundry-incubator/credhub-cli 804 | MAINTAINERS: https://github.com/cloudfoundry-incubator/credhub-cli/graphs/contributors 805 | VENDOR: Cloud Foundry Foundation 806 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 807 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 808 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 809 | S3_REGION: (( grab meta.debian.region )) 810 | GPG_ID: (( grab meta.gpg.id )) 811 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 812 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 813 | 814 | - name: uaa-cli-debian 815 | public: true 816 | serial_groups: [apt] 817 | plan: 818 | - get: homebrew 819 | resource: homebrew 820 | - get: uaa-cli 821 | resource: uaa-cli 822 | trigger: true 823 | - task: create-debian 824 | config: 825 | platform: linux 826 | image_resource: (( grab meta.image )) 827 | inputs: 828 | - name: homebrew 829 | - name: uaa-cli 830 | path: recipe 831 | run: 832 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 833 | params: 834 | DEBUG: 1 835 | REPO_ROOT: homebrew 836 | REPO_OUT: pushme 837 | IN_BINARY: "uaa-linux-amd64-$VERSION" 838 | OUT_BINARY: uaa 839 | NAME: uaa-cli 840 | LICENSE: Apache-2.0 841 | DESCRIPTION: CLI to UAA 842 | URL: https://github.com/cloudfoundry-incubator/uaa-cli 843 | MAINTAINERS: https://github.com/cloudfoundry-incubator/uaa-cli/graphs/contributors 844 | VENDOR: Cloud Foundry Foundation 845 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 846 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 847 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 848 | S3_REGION: (( grab meta.debian.region )) 849 | GPG_ID: (( grab meta.gpg.id )) 850 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 851 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 852 | 853 | - name: uaa-cli-homebrew 854 | public: true 855 | serial: true 856 | plan: 857 | - get: homebrew 858 | resource: homebrew 859 | - get: uaa-cli 860 | resource: uaa-cli 861 | trigger: true 862 | - task: update-homebrew 863 | config: 864 | platform: linux 865 | image_resource: (( grab meta.image )) 866 | inputs: 867 | - name: homebrew 868 | - name: uaa-cli 869 | path: recipe 870 | outputs: 871 | - name: pushme 872 | run: 873 | path: "homebrew/ci/scripts/update-homebrew.sh" 874 | args: 875 | - uaa-cli.rb 876 | params: 877 | REPO_ROOT: homebrew 878 | REPO_OUT: pushme 879 | BINARY: "uaa-darwin-amd64-$VERSION" 880 | - put: homebrew 881 | params: 882 | repository: pushme/homebrew 883 | rebase: true 884 | 885 | - name: knctl-debian 886 | public: true 887 | serial_groups: [apt] 888 | plan: 889 | - get: homebrew 890 | resource: homebrew 891 | - get: knctl 892 | trigger: true 893 | params: 894 | globs: [knctl-linux-amd64] 895 | - task: create-debian 896 | config: 897 | platform: linux 898 | image_resource: (( grab meta.image )) 899 | inputs: 900 | - name: homebrew 901 | - name: knctl 902 | path: recipe 903 | run: 904 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 905 | params: 906 | DEBUG: 1 907 | REPO_ROOT: homebrew 908 | REPO_OUT: pushme 909 | IN_BINARY: knctl-linux-amd64 910 | OUT_BINARY: knctl 911 | NAME: knctl 912 | LICENSE: Apache-2.0 913 | DESCRIPTION: Knative CLI 914 | URL: https://github.com/cppforlife/knctl 915 | MAINTAINERS: https://github.com/cppforlife/knctl/graphs/contributors 916 | VENDOR: Pivotal 917 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 918 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 919 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 920 | S3_REGION: (( grab meta.debian.region )) 921 | GPG_ID: (( grab meta.gpg.id )) 922 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 923 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 924 | 925 | - name: riff-debian 926 | public: true 927 | serial_groups: [apt] 928 | plan: 929 | - get: homebrew 930 | resource: homebrew 931 | - get: riff 932 | trigger: true 933 | params: 934 | globs: [riff-linux-amd64.tgz] 935 | - task: create-debian 936 | config: 937 | platform: linux 938 | image_resource: (( grab meta.image )) 939 | inputs: 940 | - name: homebrew 941 | - name: riff 942 | path: recipe 943 | run: 944 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 945 | params: 946 | DEBUG: 1 947 | REPO_ROOT: homebrew 948 | REPO_OUT: pushme 949 | IN_BINARY_PREFIX_TGZ: riff-linux-amd64 950 | IN_BINARY_AFTER_UNPACK: riff 951 | OUT_BINARY: riff 952 | NAME: riff 953 | LICENSE: Apache-2.0 954 | DESCRIPTION: riff is for functions 955 | URL: https://github.com/projectriff/riff 956 | MAINTAINERS: https://github.com/projectriff/riff/graphs/contributors 957 | VENDOR: Pivotal 958 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 959 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 960 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 961 | S3_REGION: (( grab meta.debian.region )) 962 | GPG_ID: (( grab meta.gpg.id )) 963 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 964 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 965 | 966 | - name: riff-homebrew 967 | public: true 968 | serial: true 969 | plan: 970 | - get: homebrew 971 | resource: homebrew 972 | - get: riff 973 | resource: riff 974 | trigger: true 975 | params: 976 | globs: [riff-darwin-amd64.tgz] 977 | - task: update-homebrew 978 | config: 979 | platform: linux 980 | image_resource: (( grab meta.image )) 981 | inputs: 982 | - name: homebrew 983 | - name: riff 984 | path: recipe 985 | outputs: 986 | - name: pushme 987 | run: 988 | path: "homebrew/ci/scripts/update-homebrew.sh" 989 | args: 990 | - riff.rb 991 | params: 992 | REPO_ROOT: homebrew 993 | REPO_OUT: pushme 994 | BINARY: riff-darwin-amd64.tgz 995 | - put: homebrew 996 | params: 997 | repository: pushme/homebrew 998 | rebase: true 999 | 1000 | - name: certstrap-debian 1001 | public: true 1002 | serial_groups: [apt] 1003 | plan: 1004 | - get: homebrew 1005 | resource: homebrew 1006 | - get: certstrap 1007 | resource: certstrap 1008 | trigger: true 1009 | params: { include_source_tarball: true } 1010 | - task: compile-certstrap 1011 | config: 1012 | platform: linux 1013 | image_resource: (( grab meta.image-golang )) 1014 | inputs: 1015 | - name: homebrew 1016 | - name: certstrap 1017 | path: recipe 1018 | outputs: 1019 | - name: build 1020 | run: 1021 | path: sh 1022 | args: 1023 | - -exc 1024 | - | 1025 | mkdir -p unpack 1026 | tar xfs recipe/*.tar.gz -C unpack 1027 | export GOPATH=$PWD/build 1028 | export PATH=$PATH:$GOPATH/bin 1029 | mkdir -p $GOPATH/src/github.com/square/certstrap 1030 | cp -r unpack/*-certstrap-*/* $GOPATH/src/github.com/square/certstrap 1031 | go install github.com/square/certstrap@latest 1032 | 1033 | cp $GOPATH/bin/certstrap build/certstrap 1034 | cp recipe/version build/version 1035 | params: 1036 | DEBUG: 1 1037 | REPO_ROOT: homebrew 1038 | REPO_OUT: buildme 1039 | - task: create-debian 1040 | config: 1041 | platform: linux 1042 | image_resource: (( grab meta.image )) 1043 | inputs: 1044 | - name: homebrew 1045 | - name: build 1046 | path: recipe 1047 | run: 1048 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 1049 | params: 1050 | DEBUG: 1 1051 | REPO_ROOT: homebrew 1052 | REPO_OUT: pushme 1053 | IN_BINARY: certstrap 1054 | OUT_BINARY: certstrap 1055 | NAME: certstrap 1056 | LICENSE: Apache2 1057 | DESCRIPTION: Tools to bootstrap CAs, certificate requests, and signed certificates 1058 | URL: https://github.com/square/certstrap 1059 | MAINTAINERS: https://github.com/square/certstrap/graphs/contributors 1060 | VENDOR: Square 1061 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 1062 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 1063 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 1064 | S3_REGION: (( grab meta.debian.region )) 1065 | GPG_ID: (( grab meta.gpg.id )) 1066 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 1067 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 1068 | 1069 | - name: cf-cli-debian 1070 | public: true 1071 | serial_groups: [apt] 1072 | plan: 1073 | - get: homebrew 1074 | resource: homebrew 1075 | - get: cf 1076 | resource: cf7-cli-linux 1077 | trigger: true 1078 | - task: unpack-tgz 1079 | config: 1080 | platform: linux 1081 | image_resource: (( grab meta.image )) 1082 | inputs: 1083 | - name: homebrew 1084 | - name: cf 1085 | path: recipe 1086 | outputs: 1087 | - name: unpacked 1088 | run: 1089 | path: sh 1090 | args: 1091 | - -exc 1092 | - | 1093 | tar xfz recipe/${IN_TGZ} -C unpacked 1094 | cp recipe/version unpacked/version 1095 | params: 1096 | IN_TGZ: "*linux*tgz" 1097 | - task: create-debian 1098 | config: 1099 | platform: linux 1100 | image_resource: (( grab meta.image )) 1101 | inputs: 1102 | - name: homebrew 1103 | - name: unpacked 1104 | path: recipe 1105 | run: 1106 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 1107 | params: 1108 | DEBUG: 1 1109 | REPO_ROOT: homebrew 1110 | REPO_OUT: pushme 1111 | IN_BINARY: cf7 1112 | OUT_BINARY: cf 1113 | NAME: cf-cli 1114 | LICENSE: Apache2 1115 | DESCRIPTION: official command line client for Cloud Foundry v7 1116 | URL: https://docs.cloudfoundry.org 1117 | MAINTAINERS: https://github.com/cloudfoundry/cli/graphs/contributors 1118 | VENDOR: Cloud Foundry Foundation 1119 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 1120 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 1121 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 1122 | S3_REGION: (( grab meta.debian.region )) 1123 | GPG_ID: (( grab meta.gpg.id )) 1124 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 1125 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 1126 | 1127 | - name: cf6-cli-debian 1128 | public: true 1129 | serial_groups: [apt] 1130 | plan: 1131 | - get: homebrew 1132 | resource: homebrew 1133 | - get: cf 1134 | resource: cf6-cli-linux 1135 | trigger: true 1136 | - task: unpack-tgz 1137 | config: 1138 | platform: linux 1139 | image_resource: (( grab meta.image )) 1140 | inputs: 1141 | - name: homebrew 1142 | - name: cf 1143 | path: recipe 1144 | outputs: 1145 | - name: unpacked 1146 | run: 1147 | path: sh 1148 | args: 1149 | - -exc 1150 | - | 1151 | tar xfz recipe/${IN_TGZ} -C unpacked 1152 | cp recipe/version unpacked/version 1153 | params: 1154 | IN_TGZ: "*linux*tgz" 1155 | - task: create-debian 1156 | config: 1157 | platform: linux 1158 | image_resource: (( grab meta.image )) 1159 | inputs: 1160 | - name: homebrew 1161 | - name: unpacked 1162 | path: recipe 1163 | run: 1164 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 1165 | params: 1166 | DEBUG: 1 1167 | REPO_ROOT: homebrew 1168 | REPO_OUT: pushme 1169 | IN_BINARY: cf 1170 | OUT_BINARY: cf6 1171 | NAME: cf6-cli 1172 | LICENSE: Apache2 1173 | DESCRIPTION: official command line client for Cloud Foundry 1174 | URL: https://docs.cloudfoundry.org 1175 | MAINTAINERS: https://github.com/cloudfoundry/cli/graphs/contributors 1176 | VENDOR: Cloud Foundry Foundation 1177 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 1178 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 1179 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 1180 | S3_REGION: (( grab meta.debian.region )) 1181 | GPG_ID: (( grab meta.gpg.id )) 1182 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 1183 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 1184 | 1185 | - name: cf7-cli-debian 1186 | public: true 1187 | serial_groups: [apt] 1188 | plan: 1189 | - get: homebrew 1190 | resource: homebrew 1191 | - get: cf 1192 | resource: cf7-cli-linux 1193 | trigger: true 1194 | - task: unpack-tgz 1195 | config: 1196 | platform: linux 1197 | image_resource: (( grab meta.image )) 1198 | inputs: 1199 | - name: homebrew 1200 | - name: cf 1201 | path: recipe 1202 | outputs: 1203 | - name: unpacked 1204 | run: 1205 | path: sh 1206 | args: 1207 | - -exc 1208 | - | 1209 | tar xfz recipe/${IN_TGZ} -C unpacked 1210 | cp recipe/version unpacked/version 1211 | params: 1212 | IN_TGZ: "*linux*tgz" 1213 | - task: create-debian 1214 | config: 1215 | platform: linux 1216 | image_resource: (( grab meta.image )) 1217 | inputs: 1218 | - name: homebrew 1219 | - name: unpacked 1220 | path: recipe 1221 | run: 1222 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 1223 | params: 1224 | DEBUG: 1 1225 | REPO_ROOT: homebrew 1226 | REPO_OUT: pushme 1227 | IN_BINARY: cf7 1228 | OUT_BINARY: cf7 1229 | NAME: cf7-cli 1230 | LICENSE: Apache2 1231 | DESCRIPTION: beta v7 command line client for Cloud Foundry 1232 | URL: https://docs.cloudfoundry.org 1233 | MAINTAINERS: https://github.com/cloudfoundry/cli/graphs/contributors 1234 | VENDOR: Cloud Foundry Foundation 1235 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 1236 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 1237 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 1238 | S3_REGION: (( grab meta.debian.region )) 1239 | GPG_ID: (( grab meta.gpg.id )) 1240 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 1241 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 1242 | 1243 | - name: jq-debian 1244 | public: true 1245 | serial_groups: [apt] 1246 | plan: 1247 | - get: homebrew 1248 | resource: homebrew 1249 | - get: jq 1250 | resource: jq 1251 | trigger: true 1252 | - task: create-debian 1253 | config: 1254 | platform: linux 1255 | image_resource: (( grab meta.image )) 1256 | inputs: 1257 | - name: homebrew 1258 | - name: jq 1259 | path: recipe 1260 | run: 1261 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 1262 | params: 1263 | DEBUG: 1 1264 | REPO_ROOT: homebrew 1265 | REPO_OUT: pushme 1266 | IN_BINARY: jq-linux64 1267 | OUT_BINARY: jq 1268 | NAME: jq 1269 | LICENSE: MIT 1270 | DESCRIPTION: lightweight and flexible command-line JSON processor 1271 | URL: https://stedolan.github.io/jq/ 1272 | MAINTAINERS: https://github.com/stedolan/jq/graphs/contributors 1273 | VENDOR: Stephen Dolan 1274 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 1275 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 1276 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 1277 | S3_REGION: (( grab meta.debian.region )) 1278 | GPG_ID: (( grab meta.gpg.id )) 1279 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 1280 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 1281 | 1282 | - name: om-homebrew 1283 | public: true 1284 | serial: true 1285 | plan: 1286 | - get: homebrew 1287 | resource: homebrew 1288 | - get: om 1289 | resource: om 1290 | trigger: true 1291 | - task: update-homebrew 1292 | config: 1293 | platform: linux 1294 | image_resource: (( grab meta.image )) 1295 | inputs: 1296 | - name: homebrew 1297 | - name: om 1298 | path: recipe 1299 | outputs: 1300 | - name: pushme 1301 | run: 1302 | path: "homebrew/ci/scripts/update-homebrew.sh" 1303 | args: 1304 | - om.rb 1305 | params: 1306 | REPO_ROOT: homebrew 1307 | REPO_OUT: pushme 1308 | BINARY: om-darwin-$VERSION 1309 | - put: homebrew 1310 | params: 1311 | repository: pushme/homebrew 1312 | rebase: true 1313 | 1314 | - name: om-debian 1315 | public: true 1316 | serial_groups: [apt] 1317 | plan: 1318 | - get: homebrew 1319 | resource: homebrew 1320 | - get: om 1321 | resource: om 1322 | trigger: true 1323 | - task: create-debian 1324 | config: 1325 | platform: linux 1326 | image_resource: (( grab meta.image )) 1327 | inputs: 1328 | - name: homebrew 1329 | - name: om 1330 | path: recipe 1331 | run: 1332 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 1333 | params: 1334 | DEBUG: 1 1335 | REPO_ROOT: homebrew 1336 | REPO_OUT: pushme 1337 | IN_BINARY: om-linux-amd64-$VERSION 1338 | OUT_BINARY: om 1339 | NAME: om 1340 | LICENSE: Apache2 1341 | DESCRIPTION: Magical tool that helps you configure and deploy tiles to an Ops-Manager 1.8+ 1342 | URL: https://github.com/pivotal-cf/om 1343 | MAINTAINERS: Pivotal RelEng 1344 | VENDOR: Pivotal 1345 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 1346 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 1347 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 1348 | S3_REGION: (( grab meta.debian.region )) 1349 | GPG_ID: (( grab meta.gpg.id )) 1350 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 1351 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 1352 | 1353 | - name: pivnet-cli-debian 1354 | public: true 1355 | serial_groups: [apt] 1356 | plan: 1357 | - get: homebrew 1358 | resource: homebrew 1359 | - get: pivnet-cli 1360 | resource: pivnet-cli 1361 | trigger: true 1362 | - task: create-debian 1363 | config: 1364 | platform: linux 1365 | image_resource: (( grab meta.image )) 1366 | inputs: 1367 | - name: homebrew 1368 | - name: pivnet-cli 1369 | path: recipe 1370 | run: 1371 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 1372 | params: 1373 | DEBUG: 1 1374 | REPO_ROOT: homebrew 1375 | REPO_OUT: pushme 1376 | IN_BINARY: pivnet-linux-amd64* 1377 | OUT_BINARY: pivnet 1378 | NAME: pivnet-cli 1379 | LICENSE: Apache2 1380 | DESCRIPTION: CLI to interact with Pivotal Network 1381 | URL: https://github.com/pivotal-cf/om 1382 | MAINTAINERS: Pivotal RelEng 1383 | VENDOR: Pivotal 1384 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 1385 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 1386 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 1387 | S3_REGION: (( grab meta.debian.region )) 1388 | GPG_ID: (( grab meta.gpg.id )) 1389 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 1390 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 1391 | 1392 | - name: hub-debian 1393 | public: true 1394 | serial_groups: [apt] 1395 | plan: 1396 | - get: homebrew 1397 | resource: homebrew 1398 | - get: hub 1399 | resource: hub 1400 | trigger: true 1401 | params: 1402 | globs: [hub-linux-amd64*.tgz] 1403 | - task: create-debian 1404 | config: 1405 | platform: linux 1406 | image_resource: (( grab meta.image )) 1407 | inputs: 1408 | - name: homebrew 1409 | - name: hub 1410 | path: recipe 1411 | run: 1412 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 1413 | params: 1414 | DEBUG: 1 1415 | REPO_ROOT: homebrew 1416 | REPO_OUT: pushme 1417 | IN_BINARY_PREFIX_TGZ: hub-linux-amd64 1418 | IN_BINARY_AFTER_UNPACK: hub 1419 | OUT_BINARY: hub 1420 | NAME: hub 1421 | LICENSE: MIT 1422 | DESCRIPTION: CLI to interact with GitHub 1423 | URL: https://github.com/github/hub 1424 | MAINTAINERS: https://github.com/github/hub/graphs/contributors 1425 | VENDOR: GitHub 1426 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 1427 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 1428 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 1429 | S3_REGION: (( grab meta.debian.region )) 1430 | GPG_ID: (( grab meta.gpg.id )) 1431 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 1432 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 1433 | 1434 | 1435 | - name: direnv-debian 1436 | public: true 1437 | serial_groups: [apt] 1438 | plan: 1439 | - get: homebrew 1440 | resource: homebrew 1441 | - get: direnv 1442 | resource: direnv 1443 | params: 1444 | globs: [direnv.linux-amd64] 1445 | trigger: true 1446 | - task: create-debian 1447 | config: 1448 | platform: linux 1449 | image_resource: (( grab meta.image )) 1450 | inputs: 1451 | - name: homebrew 1452 | - name: direnv 1453 | path: recipe 1454 | run: 1455 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 1456 | params: 1457 | DEBUG: 1 1458 | REPO_ROOT: homebrew 1459 | REPO_OUT: pushme 1460 | IN_BINARY: direnv.linux-amd64 1461 | OUT_BINARY: direnv 1462 | NAME: direnv 1463 | LICENSE: MIT 1464 | DESCRIPTION: Unclutter your .profile 1465 | URL: https://github.com/direnv/direnv 1466 | MAINTAINERS: https://github.com/direnv/direnv 1467 | VENDOR: https://github.com/direnv 1468 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 1469 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 1470 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 1471 | S3_REGION: (( grab meta.debian.region )) 1472 | GPG_ID: (( grab meta.gpg.id )) 1473 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 1474 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 1475 | 1476 | - name: terraform-debian 1477 | public: true 1478 | serial_groups: [apt] 1479 | plan: 1480 | - get: homebrew 1481 | resource: homebrew 1482 | - get: terraform 1483 | resource: terraform 1484 | params: {regexp: linux_amd64} 1485 | trigger: true 1486 | - task: create-debian 1487 | config: 1488 | platform: linux 1489 | image_resource: (( grab meta.image )) 1490 | inputs: 1491 | - name: homebrew 1492 | - name: terraform 1493 | path: recipe 1494 | run: 1495 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 1496 | params: 1497 | DEBUG: 1 1498 | REPO_ROOT: homebrew 1499 | REPO_OUT: pushme 1500 | IN_BINARY_PREFIX_ZIP: terraform_ 1501 | IN_BINARY: terraform_*_linux_amd64.zip 1502 | OUT_BINARY: terraform 1503 | NAME: terraform 1504 | LICENSE: Mozilla Public License 2.0 1505 | DESCRIPTION: Terraform is a tool for building, changing, and combining infrastructure safely and efficiently 1506 | URL: https://github.com/hashicorp/terraform 1507 | MAINTAINERS: https://github.com/hashicorp/terraform/graphs/contributors 1508 | VENDOR: Hashicorp 1509 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 1510 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 1511 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 1512 | S3_REGION: (( grab meta.debian.region )) 1513 | GPG_ID: (( grab meta.gpg.id )) 1514 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 1515 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 1516 | 1517 | - name: bosh-bootloader-debian 1518 | public: true 1519 | serial_groups: [apt] 1520 | plan: 1521 | - get: homebrew 1522 | resource: homebrew 1523 | - get: bosh-bootloader 1524 | resource: bosh-bootloader 1525 | trigger: true 1526 | - task: create-debian 1527 | config: 1528 | platform: linux 1529 | image_resource: (( grab meta.image )) 1530 | inputs: 1531 | - name: homebrew 1532 | - name: bosh-bootloader 1533 | path: recipe 1534 | run: 1535 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 1536 | params: 1537 | DEBUG: 1 1538 | REPO_ROOT: homebrew 1539 | REPO_OUT: pushme 1540 | IN_BINARY: bbl-*_linux_amd64 1541 | OUT_BINARY: bbl 1542 | NAME: bosh-bootloader 1543 | LICENSE: apache2 1544 | DESCRIPTION: Command line utility for standing up a BOSH director on an IAAS of your choice. 1545 | URL: https://github.com/cloudfoundry/bosh-bootloader 1546 | MAINTAINERS: https://github.com/cloudfoundry/bosh-bootloader/graphs/contributors 1547 | VENDOR: Cloud Foundry Foundation 1548 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 1549 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 1550 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 1551 | S3_REGION: (( grab meta.debian.region )) 1552 | GPG_ID: (( grab meta.gpg.id )) 1553 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 1554 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 1555 | 1556 | - name: govc-debian 1557 | public: true 1558 | serial_groups: [apt] 1559 | plan: 1560 | - get: homebrew 1561 | resource: homebrew 1562 | - get: homebrew-public-key 1563 | trigger: true 1564 | - get: govc 1565 | resource: govc 1566 | params: 1567 | globs: [govc_Linux_x86_64.tar.gz] 1568 | trigger: true 1569 | - task: create-debian 1570 | config: 1571 | platform: linux 1572 | image_resource: (( grab meta.image )) 1573 | inputs: 1574 | - name: homebrew 1575 | - name: govc 1576 | path: recipe 1577 | run: 1578 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 1579 | params: 1580 | DEBUG: 1 1581 | REPO_ROOT: homebrew 1582 | REPO_OUT: pushme 1583 | IN_BINARY_PREFIX_TGZ: govc_Linux_x86_64 1584 | IN_BINARY_AFTER_UNPACK: govc 1585 | OUT_BINARY: govc 1586 | NAME: govc 1587 | LICENSE: Apache-2.0 1588 | DESCRIPTION: CLI to vSphere 1589 | URL: https://github.com/vmware/govmomi 1590 | MAINTAINERS: https://github.com/vmware/govmomi/graphs/contributors 1591 | VENDOR: VMWare 1592 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 1593 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 1594 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 1595 | S3_REGION: (( grab meta.debian.region )) 1596 | GPG_ID: (( grab meta.gpg.id )) 1597 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 1598 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 1599 | 1600 | - name: govc-homebrew 1601 | public: true 1602 | serial: true 1603 | plan: 1604 | - get: homebrew 1605 | resource: homebrew 1606 | - get: govc 1607 | resource: govc 1608 | params: 1609 | globs: [govc_darwin_amd64.gz] 1610 | trigger: true 1611 | - task: update-homebrew 1612 | config: 1613 | platform: linux 1614 | image_resource: (( grab meta.image )) 1615 | inputs: 1616 | - name: homebrew 1617 | - name: govc 1618 | path: recipe 1619 | outputs: 1620 | - name: pushme 1621 | run: 1622 | path: "homebrew/ci/scripts/update-homebrew.sh" 1623 | args: 1624 | - govc.rb 1625 | params: 1626 | REPO_ROOT: homebrew 1627 | REPO_OUT: pushme 1628 | BINARY: "govc_darwin_amd64.gz" 1629 | - put: homebrew 1630 | params: 1631 | repository: pushme/homebrew 1632 | rebase: true 1633 | 1634 | - name: fissile-homebrew 1635 | public: true 1636 | serial: true 1637 | plan: 1638 | - get: homebrew 1639 | resource: homebrew 1640 | - get: fissile 1641 | resource: fissile-darwin 1642 | trigger: true 1643 | - task: update-homebrew 1644 | config: 1645 | platform: linux 1646 | image_resource: (( grab meta.image )) 1647 | inputs: 1648 | - name: homebrew 1649 | - name: fissile 1650 | path: recipe 1651 | outputs: 1652 | - name: pushme 1653 | run: 1654 | path: "homebrew/ci/scripts/update-homebrew.sh" 1655 | args: 1656 | - fissile.rb 1657 | params: 1658 | REPO_ROOT: homebrew 1659 | REPO_OUT: pushme 1660 | BINARY: "fissile-$VERSION.darwin-amd64.tgz" 1661 | - put: homebrew 1662 | params: 1663 | repository: pushme/homebrew 1664 | rebase: true 1665 | 1666 | - name: quaa-homebrew 1667 | public: true 1668 | serial: true 1669 | plan: 1670 | - get: homebrew 1671 | resource: homebrew 1672 | - get: quaa 1673 | resource: quick-uaa-local 1674 | params: 1675 | globs: ['x'] 1676 | include_source_tarball: true 1677 | trigger: true 1678 | - task: update-homebrew 1679 | config: 1680 | platform: linux 1681 | image_resource: (( grab meta.image )) 1682 | inputs: 1683 | - name: homebrew 1684 | - name: quaa 1685 | path: recipe 1686 | outputs: 1687 | - name: pushme 1688 | run: 1689 | path: "homebrew/ci/scripts/update-homebrew.sh" 1690 | args: 1691 | - quaa.rb 1692 | params: 1693 | REPO_ROOT: homebrew 1694 | REPO_OUT: pushme 1695 | FETCH_TGZ_BASE: https://github.com/starkandwayne/quick-uaa-local/archive/ 1696 | - put: homebrew 1697 | params: 1698 | repository: pushme/homebrew 1699 | rebase: true 1700 | 1701 | - name: pack-debian 1702 | public: true 1703 | serial_groups: [apt] 1704 | plan: 1705 | - get: homebrew 1706 | resource: homebrew 1707 | - get: pack 1708 | resource: pack 1709 | trigger: true 1710 | - task: create-debian 1711 | config: 1712 | platform: linux 1713 | image_resource: (( grab meta.image )) 1714 | inputs: 1715 | - name: homebrew 1716 | - name: pack 1717 | path: recipe 1718 | run: 1719 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 1720 | params: 1721 | DEBUG: 1 1722 | REPO_ROOT: homebrew 1723 | REPO_OUT: pushme 1724 | IN_BINARY: pack-*-linux.tgz 1725 | OUT_BINARY: pack 1726 | NAME: pack 1727 | LICENSE: Apache 2.0 1728 | DESCRIPTION: tool to create runnable images from applications using buildpacks 1729 | URL: https://buildpacks.io 1730 | MAINTAINERS: https://github.com/buildpack/pack/graphs/contributors 1731 | VENDOR: Cloud Native Computing Foundation 1732 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 1733 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 1734 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 1735 | S3_REGION: (( grab meta.debian.region )) 1736 | GPG_ID: (( grab meta.gpg.id )) 1737 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 1738 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 1739 | 1740 | - name: aliyun-debian 1741 | public: true 1742 | serial_groups: [apt] 1743 | plan: 1744 | - get: homebrew 1745 | resource: homebrew 1746 | - get: aliyun-cli 1747 | resource: aliyun-cli 1748 | trigger: true 1749 | params: {globs: [aliyun-cli-linux*tgz]} 1750 | - task: create-debian 1751 | config: 1752 | platform: linux 1753 | image_resource: (( grab meta.image )) 1754 | inputs: 1755 | - name: homebrew 1756 | - name: aliyun-cli 1757 | path: recipe 1758 | run: 1759 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 1760 | params: 1761 | DEBUG: 1 1762 | REPO_ROOT: homebrew 1763 | REPO_OUT: pushme 1764 | IN_BINARY_PREFIX_TGZ: aliyun-cli-linux 1765 | IN_BINARY_AFTER_UNPACK: aliyun 1766 | OUT_BINARY: aliyun 1767 | NAME: aliyun-cli 1768 | LICENSE: Apache 2.0 1769 | DESCRIPTION: Alibaba Cloud CLI 1770 | URL: https://github.com/aliyun/aliyun-cli 1771 | MAINTAINERS: https://github.com/aliyun/aliyun-cli/graphs/contributors 1772 | VENDOR: Alibaba Cloud 1773 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 1774 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 1775 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 1776 | S3_REGION: (( grab meta.debian.region )) 1777 | GPG_ID: (( grab meta.gpg.id )) 1778 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 1779 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 1780 | 1781 | - name: minica-debian 1782 | public: true 1783 | serial_groups: [apt] 1784 | plan: 1785 | - get: homebrew 1786 | resource: homebrew 1787 | - get: minica 1788 | resource: minica 1789 | trigger: true 1790 | - task: create-debian 1791 | config: 1792 | platform: linux 1793 | image_resource: (( grab meta.image )) 1794 | inputs: 1795 | - name: homebrew 1796 | - name: minica 1797 | path: recipe 1798 | run: 1799 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 1800 | params: 1801 | DEBUG: 1 1802 | REPO_ROOT: homebrew 1803 | REPO_OUT: pushme 1804 | IN_BINARY: "minica-linux-amd64" 1805 | OUT_BINARY: minica 1806 | NAME: minica 1807 | LICENSE: MIT 1808 | DESCRIPTION: MiniCA 1809 | URL: https://github.com/jsha/minica 1810 | MAINTAINERS: hthttps://github.com/jsha/minica/graphs/contributors 1811 | VENDOR: Jacob Hoffman-Andrews 1812 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 1813 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 1814 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 1815 | S3_REGION: (( grab meta.debian.region )) 1816 | GPG_ID: (( grab meta.gpg.id )) 1817 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 1818 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 1819 | 1820 | - name: yj-homebrew 1821 | public: true 1822 | serial: true 1823 | plan: 1824 | - get: homebrew 1825 | resource: homebrew 1826 | - get: yj 1827 | resource: yj 1828 | trigger: true 1829 | params: {globs: [yj-macos]} 1830 | - task: update-homebrew 1831 | config: 1832 | platform: linux 1833 | image_resource: (( grab meta.image )) 1834 | inputs: 1835 | - name: homebrew 1836 | - name: yj 1837 | path: recipe 1838 | outputs: 1839 | - name: pushme 1840 | run: 1841 | path: "homebrew/ci/scripts/update-homebrew.sh" 1842 | args: 1843 | - yj.rb 1844 | params: 1845 | REPO_ROOT: homebrew 1846 | REPO_OUT: pushme 1847 | BINARY: "yj-macos" 1848 | - put: homebrew 1849 | params: 1850 | repository: pushme/homebrew 1851 | rebase: true 1852 | 1853 | - name: yj-debian 1854 | public: true 1855 | serial_groups: [apt] 1856 | plan: 1857 | - get: homebrew 1858 | resource: homebrew 1859 | - get: yj 1860 | resource: yj 1861 | trigger: true 1862 | params: {globs: [yj-linux-amd64]} 1863 | - task: create-debian 1864 | config: 1865 | platform: linux 1866 | image_resource: (( grab meta.image )) 1867 | inputs: 1868 | - name: homebrew 1869 | - name: yj 1870 | path: recipe 1871 | run: 1872 | path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh" 1873 | params: 1874 | DEBUG: 1 1875 | REPO_ROOT: homebrew 1876 | REPO_OUT: pushme 1877 | IN_BINARY: yj-linux-amd64 1878 | OUT_BINARY: yj 1879 | NAME: yj 1880 | LICENSE: apache2 1881 | DESCRIPTION: CLI - Convert YAML <=> TOML <=> JSON <=> HCL 1882 | URL: https://github.com/sclevine/yj 1883 | MAINTAINERS: https://github.com/sclevine/yj/graphs/contributors 1884 | VENDOR: Stephen Levine 1885 | RELEASE_BUCKET: (( grab meta.debian.s3_bucket )) 1886 | AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key )) 1887 | AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key )) 1888 | S3_REGION: (( grab meta.debian.region )) 1889 | GPG_ID: (( grab meta.gpg.id )) 1890 | GPG_PUBLIC_KEY: (( grab meta.gpg.public_key )) 1891 | GPG_PRIVATE_KEY: (( grab meta.gpg.private_key )) 1892 | 1893 | resources: 1894 | - name: homebrew 1895 | type: git 1896 | check_every: 6h 1897 | source: 1898 | uri: (( grab meta.github.uri )) 1899 | branch: (( grab meta.github.branch )) 1900 | private_key : (( grab meta.github.private_key )) 1901 | 1902 | - name: homebrew-public-key 1903 | type: git 1904 | check_every: 6h 1905 | source: 1906 | uri: (( grab meta.github.uri )) 1907 | branch: (( grab meta.github.branch )) 1908 | private_key : (( grab meta.github.private_key )) 1909 | paths: [public.key] 1910 | 1911 | - name: spruce 1912 | type: github-release 1913 | check_every: 6h 1914 | source: 1915 | user: geofffranks 1916 | repository: spruce 1917 | access_token: (( grab meta.github.access_token )) 1918 | 1919 | - name: shield 1920 | type: github-release 1921 | check_every: 6h 1922 | source: 1923 | user: shieldproject 1924 | repository: shield 1925 | access_token: (( grab meta.github.access_token )) 1926 | 1927 | - name: safe 1928 | type: github-release 1929 | check_every: 6h 1930 | source: 1931 | user: cloudfoundry-community 1932 | repository: safe 1933 | access_token: (( grab meta.github.access_token )) 1934 | 1935 | - name: vault 1936 | type: hashicorp-release 1937 | check_every: 6h 1938 | source: 1939 | project: vault 1940 | 1941 | - name: eden 1942 | type: github-release 1943 | check_every: 6h 1944 | source: 1945 | user: starkandwayne 1946 | repository: eden 1947 | access_token: (( grab meta.github.access_token )) 1948 | 1949 | - name: gotcha 1950 | type: github-release 1951 | check_every: 6h 1952 | source: 1953 | user: starkandwayne 1954 | repository: gotcha 1955 | access_token: (( grab meta.github.access_token )) 1956 | 1957 | - name: genesis 1958 | type: github-release 1959 | check_every: 6h 1960 | source: 1961 | user: genesis-community 1962 | repository: genesis 1963 | access_token: (( grab meta.github.access_token )) 1964 | 1965 | - name: kafka-service-broker 1966 | type: github-release 1967 | check_every: 6h 1968 | source: 1969 | user: starkandwayne 1970 | repository: kafka-service-broker 1971 | access_token: (( grab meta.github.access_token )) 1972 | 1973 | - name: install-debs-in-order 1974 | type: github-release 1975 | check_every: 6h 1976 | source: 1977 | user: starkandwayne 1978 | repository: install-debs-in-order 1979 | access_token: (( grab meta.github.access_token )) 1980 | 1981 | - name: bosh-cli-linux 1982 | type: s3 1983 | check_every: 6h 1984 | source: 1985 | bucket: bosh-cli-artifacts 1986 | regexp: bosh-cli-(.*)-linux-amd64 1987 | 1988 | - name: credhub-cli 1989 | type: github-release 1990 | check_every: 6h 1991 | source: 1992 | user: cloudfoundry-incubator 1993 | repository: credhub-cli 1994 | access_token: (( grab meta.github.access_token )) 1995 | 1996 | - name: uaa-cli 1997 | type: github-release 1998 | check_every: 6h 1999 | source: 2000 | user: cloudfoundry-incubator 2001 | repository: uaa-cli 2002 | access_token: (( grab meta.github.access_token )) 2003 | 2004 | - name: certstrap 2005 | type: github-release 2006 | check_every: 6h 2007 | source: 2008 | user: square 2009 | repository: certstrap 2010 | access_token: (( grab meta.github.access_token )) 2011 | 2012 | - name: riff 2013 | type: github-release 2014 | check_every: 6h 2015 | source: 2016 | owner: projectriff 2017 | repository: riff 2018 | pre_release: true 2019 | access_token: (( grab meta.github.access_token )) 2020 | 2021 | - name: cf6-cli-linux 2022 | type: s3 2023 | check_every: 6h 2024 | source: 2025 | bucket: cf-cli-releases 2026 | region_name: us-west-1 2027 | regexp: releases/v6.*/cf-cli_(.*)_linux_x86-64.tgz 2028 | 2029 | - name: cf7-cli-linux 2030 | type: s3 2031 | check_every: 6h 2032 | source: 2033 | bucket: v7-cf-cli-releases 2034 | region_name: us-west-1 2035 | regexp: releases/v(.*)/cf7-cli_(.*)_linux_x86-64.tgz 2036 | 2037 | 2038 | - name: jq 2039 | type: github-release 2040 | check_every: 6h 2041 | source: 2042 | user: stedolan 2043 | repository: jq 2044 | access_token: (( grab meta.github.access_token )) 2045 | 2046 | - name: om 2047 | type: github-release 2048 | check_every: 6h 2049 | source: 2050 | user: pivotal-cf 2051 | repository: om 2052 | access_token: (( grab meta.github.access_token )) 2053 | 2054 | - name: pivnet-cli 2055 | type: github-release 2056 | check_every: 6h 2057 | source: 2058 | user: pivotal-cf 2059 | repository: pivnet-cli 2060 | access_token: (( grab meta.github.access_token )) 2061 | 2062 | - name: hub 2063 | type: github-release 2064 | check_every: 6h 2065 | source: 2066 | user: github 2067 | repository: hub 2068 | access_token: (( grab meta.github.access_token )) 2069 | 2070 | - name: direnv 2071 | type: github-release 2072 | check_every: 6h 2073 | source: 2074 | user: direnv 2075 | repository: direnv 2076 | access_token: (( grab meta.github.access_token )) 2077 | 2078 | - name: terraform 2079 | type: hashicorp-release 2080 | check_every: 6h 2081 | source: 2082 | project: terraform 2083 | 2084 | - name: bosh-bootloader 2085 | type: github-release 2086 | check_every: 6h 2087 | source: 2088 | user: cloudfoundry 2089 | repository: bosh-bootloader 2090 | access_token: (( grab meta.github.access_token )) 2091 | 2092 | - name: govc 2093 | type: github-release 2094 | check_every: 6h 2095 | source: 2096 | user: vmware 2097 | repository: govmomi 2098 | access_token: (( grab meta.github.access_token )) 2099 | 2100 | - name: quick-uaa-local 2101 | type: github-release 2102 | check_every: 6h 2103 | source: 2104 | user: starkandwayne 2105 | repository: quick-uaa-local 2106 | access_token: (( grab meta.github.access_token )) 2107 | 2108 | - name: pack 2109 | type: github-release 2110 | check_every: 6h 2111 | source: 2112 | user: buildpack 2113 | repository: pack 2114 | access_token: (( grab meta.github.access_token )) 2115 | 2116 | - name: knctl 2117 | type: github-release 2118 | check_every: 6h 2119 | source: 2120 | user: cppforlife 2121 | repository: knctl 2122 | access_token: (( grab meta.github.access_token )) 2123 | 2124 | - name: aliyun-cli 2125 | type: github-release 2126 | check_every: 6h 2127 | source: 2128 | user: aliyun 2129 | repository: aliyun-cli 2130 | access_token: (( grab meta.github.access_token )) 2131 | 2132 | - name: yj 2133 | type: github-release 2134 | check_every: 6h 2135 | source: 2136 | user: sclevine 2137 | repository: yj 2138 | access_token: (( grab meta.github.access_token )) 2139 | 2140 | - name: minica 2141 | type: github-release 2142 | check_every: 6h 2143 | source: 2144 | user: starkandwayne 2145 | repository: minica-binaries 2146 | access_token: (( grab meta.github.access_token )) 2147 | 2148 | - name: fissile-darwin 2149 | type: s3 2150 | check_every: 6h 2151 | source: 2152 | bucket: cf-opensusefs2 2153 | regexp: fissile/develop/fissile-(.*)\.darwin-amd64\.tgz 2154 | 2155 | resource_types: 2156 | - name: hashicorp-release 2157 | type: docker-image 2158 | source: 2159 | repository: registry.ops.scalecf.net/genesis-community/hashicorp-release-resource 2160 | insecure: true 2161 | 2162 | - name: pivnet 2163 | type: docker-image 2164 | source: 2165 | repository: pivotalcf/pivnet-resource 2166 | tag: latest-final 2167 | -------------------------------------------------------------------------------- /ci/rebuild-all-debian-packages: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | fly_target=${fly_target:-sw} 4 | pipeline=${pipeline:-homebrew-recipes} 5 | 6 | debian_jobs=($(spruce json ci/pipeline.yml | jq -r ".jobs[] | select(.serial_groups // [] == \"[apt]\") | .name")) 7 | for job in ${debian_jobs[@]}; do 8 | fly -t $fly_target trigger-job -j $pipeline/$job 9 | done 10 | -------------------------------------------------------------------------------- /ci/repipe: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # ci/repipe 4 | # 5 | # Script for merging together pipeline configuration files 6 | # (via Spruce!) and configuring Concourse. 7 | # 8 | # author: James Hunt 9 | # Dennis Bell 10 | # created: 2016-03-04 11 | 12 | need_command() { 13 | local cmd=${1:?need_command() - no command name given} 14 | 15 | if [[ ! -x "$(command -v $cmd)" ]]; then 16 | echo >&2 "${cmd} is not installed." 17 | if [[ "${cmd}" == "spruce" ]]; then 18 | echo >&2 "Please download it from https://github.com/geofffranks/spruce/releases" 19 | fi 20 | exit 2 21 | fi 22 | } 23 | 24 | cd $(dirname $BASH_SOURCE[0]) 25 | echo "Working in $(pwd)" 26 | need_command spruce 27 | 28 | # Allow for target-specific settings 29 | settings_file="$(ls -1 settings.yml ${CONCOURSE_TARGET:+"settings-${CONCOURSE_TARGET}.yml"} 2>/dev/null | tail -n1)" 30 | if [[ -z "$settings_file" ]] 31 | then 32 | echo >&2 "Missing local settings in ci/settings.yml${CONCOURSE_TARGET:+" or ci/settings-${CONCOURSE_TARGET}.yml"}!" 33 | exit 1 34 | fi 35 | 36 | echo >&2 "Using settings found in ${settings_file}" 37 | 38 | set -e 39 | trap "rm -f .deploy.yml" QUIT TERM EXIT INT 40 | spruce merge pipeline.yml ${settings_file} > .deploy.yml 41 | PIPELINE=$(spruce json .deploy.yml | jq -r '.meta.pipeline // ""') 42 | if [[ -z ${PIPELINE} ]]; then 43 | echo >&2 "Missing pipeline name in ci/settings.yml!" 44 | exit 1 45 | fi 46 | 47 | TARGET_FROM_SETTINGS=$(spruce json .deploy.yml | jq -r '.meta.target // ""') 48 | if [[ -z ${CONCOURSE_TARGET} ]]; then 49 | TARGET=${TARGET_FROM_SETTINGS} 50 | elif [[ "$CONCOURSE_TARGET" != "$TARGET_FROM_SETTINGS" ]] 51 | then 52 | echo >&2 "Target in {$settings_file} differs from target in \$CONCOURSE_TARGET" 53 | echo >&2 " \$CONCOURSE_TARGET: $CONCOURSE_TARGET" 54 | echo >&2 " Target in file: $TARGET_FROM_SETTINGS" 55 | exit 1 56 | else 57 | TARGET=${CONCOURSE_TARGET} 58 | fi 59 | 60 | if [[ -z ${TARGET} ]]; then 61 | echo >&2 "Missing Concourse Target in ci/settings.yml!" 62 | exit 1 63 | fi 64 | 65 | fly_cmd="${FLY_CMD:-fly}" 66 | 67 | set +x 68 | $fly_cmd --target ${TARGET} set-pipeline --pipeline ${PIPELINE} --config .deploy.yml $@ 69 | $fly_cmd --target ${TARGET} unpause-pipeline --pipeline ${PIPELINE} 70 | -------------------------------------------------------------------------------- /ci/scripts/create-debian-pkg-from-binary.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | [ -n "$DEBUG" ] && set -x 5 | 6 | # 7 | # ci/scripts/create-debian-pkg-from-binary.sh - Create .deb package 8 | # 9 | # This script is run from a concourse pipeline (per ci/pipeline.yml). 10 | # 11 | 12 | echo ">> Retrieving version metadata" 13 | 14 | VERSION=$(cat recipe/version) 15 | if [[ -z "${VERSION:-}" ]]; then 16 | echo >&2 "VERSION not found in `recipe/version`" 17 | exit 1 18 | fi 19 | # strip any non numbers; https://github.com/stedolan/jq/releases tag is "jq-1.5" 20 | VERSION=$(echo $VERSION | sed "s/^[a-z\-]*//") 21 | # pivnet versions might look like 1.0.0#2018-02-15T14:57:14.495Z 22 | VERSION=$(echo $VERSION | sed "s/#.*//") 23 | # Allow VERSION to be used in IN_BINARY 24 | IN_BINARY=$(eval echo "${IN_BINARY}") 25 | 26 | mkdir -p certs 27 | echo "${GPG_ID:?required}" > certs/id 28 | echo "${GPG_PUBLIC_KEY:?required}" > certs/public.key 29 | set +x 30 | echo "${GPG_PRIVATE_KEY:?required}" > certs/private.key 31 | [ -n "$DEBUG" ] && set -x 32 | 33 | echo ">> Setup GPG public key" 34 | gpg --import certs/public.key 35 | echo ">> Setup GPG private key" 36 | gpg --allow-secret-key-import --import certs/private.key 37 | echo ">> List keys" 38 | gpg --list-secret-keys 39 | 40 | echo ">> Creating Debian package" 41 | if [[ ! -x fpm ]]; then 42 | gem install fpm --no-document 43 | fi 44 | if [[ ${IN_BINARY_PREFIX_TGZ:-X} != "X" ]]; then 45 | cd recipe 46 | tar xfz $IN_BINARY_PREFIX_TGZ*t*gz 47 | # I think 'hub' needed this; but it doesn't work for riff 48 | set +e 49 | IN_BINARY=$(ls **/*/$IN_BINARY_AFTER_UNPACK) 50 | IN_BINARY=${IN_BINARY:-$IN_BINARY_AFTER_UNPACK} 51 | cd - 52 | set -e 53 | fi 54 | if [[ ${IN_BINARY_PREFIX_ZIP:-X} != "X" ]]; then 55 | cd recipe 56 | unzip $IN_BINARY_PREFIX_ZIP*zip 57 | IN_BINARY=${IN_BINARY_AFTER_UNPACK:-$OUT_BINARY} 58 | cd - 59 | fi 60 | if [[ ${IN_BINARY_PREFIX_GZ:-X} != "X" ]]; then 61 | cd recipe 62 | gunzip $IN_BINARY_PREFIX_GZ*gz 63 | IN_BINARY=${IN_BINARY_AFTER_UNPACK:-$OUT_BINARY} 64 | cd - 65 | fi 66 | 67 | recipe_binaries= 68 | provides= 69 | for binary in $OUT_BINARY; do 70 | if [[ "recipe/${IN_BINARY}" != "recipe/${binary}" ]]; then 71 | cp --remove-destination recipe/${IN_BINARY} recipe/${binary} 72 | fi 73 | chmod +x recipe/${binary} 74 | recipe_binaries="${recipe_binaries} recipe/${binary}=/usr/bin/${binary} " 75 | provides="${provides} --provides ${binary} " 76 | done 77 | 78 | fpm -s dir -t deb -n "${NAME:?required}" -v "${VERSION}" \ 79 | --vendor "${VENDOR:-Unknown}" \ 80 | --license "${LICENSE:-Unknown}" \ 81 | -m "${MAINTAINERS:-Unknown}" \ 82 | --description "${DESCRIPTION:-Unknown}" \ 83 | --url "${URL:-Unknown}" \ 84 | --deb-use-file-permissions \ 85 | --deb-no-default-config-files ${FPM_FLAGS:-} \ 86 | $provides \ 87 | $recipe_binaries 88 | 89 | DEBIAN_FILE="${NAME}_${VERSION}_amd64.deb" 90 | 91 | echo ">> Uploading Debian package to APT repository" 92 | if [[ ! -x deb-s3 ]]; then 93 | gem install deb-s3 --no-document 94 | fi 95 | 96 | mkdir ~/.aws 97 | cat > ~/.aws/credentials <> Latest debian package list" 109 | deb-s3 list -b "${RELEASE_BUCKET}" --s3-region "${S3_REGION}" 110 | -------------------------------------------------------------------------------- /ci/scripts/generate-public-key.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | [ -n "$DEBUG" ] && set -x 5 | 6 | # This script will generate a new /public.key and updates vault with the private key info 7 | # To run locally: 8 | # REPO_ROOT=$PWD ci/scripts/generate-public-key.sh 9 | # 10 | # Tips on unattended GPG key generation: https://www.gnupg.org/documentation/manuals/gnupg/Unattended-GPG-key-generation.html 11 | # Debian GPG key requirements: https://keyring.debian.org/creating-key.html 12 | 13 | : ${REPO_ROOT:?required} 14 | export KEY_AUTHOR=${KEY_AUTHOR:-"Adepttech Bot"} 15 | export KEY_EMAIL=${KEY_EMAIL:-"krutten+bot@adepttech.ca"} 16 | export GPG_SAFE_PATH=${GPG_SAFE_PATH:-secret/pipelines/homebrew/gpg} 17 | 18 | # change to the root of the repo 19 | pushd ${REPO_ROOT} 20 | mkdir -p tmp 21 | 22 | export GNUPGHOME="$(mktemp -d)" 23 | cat >$GNUPGHOME/gpg.conf <tmp/bot < tmp/bot.id 52 | gpg --export -a ${key_id} > public.key 53 | gpg --export-secret-keys -a ${key_id} > tmp/bot.private.key 54 | safe set ${GPG_SAFE_PATH} public@public.key private@tmp/bot.private.key id@tmp/bot.id 55 | ci/repipe --non-interactive 56 | 57 | gpg --list-keys 58 | gpg --fingerprint 59 | -------------------------------------------------------------------------------- /ci/scripts/update-homebrew.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | [ -n "$DEBUG" ] && set -x 5 | 6 | formula=$1 7 | shift 8 | 9 | # 10 | # ci/scripts/update-homebrew.sh - Update homebrew repo for new version of the binary 11 | # 12 | # This script is run from a concourse pipeline (per ci/pipeline.yml). 13 | # 14 | # It is resompsible for bumping the version + shasum in the homebrew-cf repo 15 | # to get the new version of the binary for darwin_amd64. 16 | 17 | function auto_sed() { 18 | cmd=$1 19 | shift 20 | 21 | if [[ "$(uname -s)" == "Darwin" ]]; then 22 | sed -i '' -e "$cmd" $@ 23 | else 24 | sed -i -e "$cmd" $@ 25 | fi 26 | } 27 | 28 | echo ">> Retrieving version + sha256 metadata" 29 | 30 | VERSION=$(cat recipe/version) 31 | # Allow VERSION to be used in BINARY 32 | BINARY=$(eval echo "${BINARY}") 33 | 34 | if [[ -z "${VERSION:-}" ]]; then 35 | echo >&2 "VERSION not found in `recipe/version`" 36 | exit 1 37 | fi 38 | 39 | if [[ "${FETCH_TGZ_BASE:-X}" != "X" ]]; then 40 | TAG=$(cat recipe/tag) 41 | pushd recipe 42 | fetch_tgz="${FETCH_TGZ_BASE}/${TAG}.tar.gz" 43 | curl -L $fetch_tgz -O 44 | BINARY=${TAG}.tar.gz 45 | popd 46 | fi 47 | 48 | # change to the root of the homebrew repo 49 | pushd ${REPO_ROOT} 50 | 51 | SHASUM=$(shasum -a 256 ../recipe/${BINARY} | cut -d " " -f1) 52 | 53 | echo ">> Updating $formula with new version/shasum" 54 | auto_sed "s/v = \\\".*\\\" # CI Managed/v = \\\"v${VERSION}\\\" # CI Managed/" $formula 55 | auto_sed "s/sha256 \\\".*\\\" # CI Managed/sha256 \\\"${SHASUM}\\\" # CI Managed/" $formula 56 | 57 | if [[ "$(git status -s)X" != "X" ]]; then 58 | set +e 59 | if [[ -z $(git config --global user.email) ]]; then 60 | git config --global user.email "krutten+bot@adepttech.ca" 61 | fi 62 | if [[ -z $(git config --global user.name) ]]; then 63 | git config --global user.name "CI Bot" 64 | fi 65 | 66 | set -e 67 | echo ">> Running git operations as $(git config --global user.name) <$(git config --global user.email)>" 68 | echo ">> Getting back to master (from detached-head)" 69 | git merge --no-edit master 70 | git status 71 | git --no-pager diff 72 | git add $formula 73 | git commit -m "Updated $formula from new release" 74 | else 75 | echo ">> No update needed" 76 | fi 77 | popd 78 | 79 | # so that future steps in the pipeline can push our changes 80 | cp -a ${REPO_ROOT} ${REPO_OUT}/homebrew 81 | -------------------------------------------------------------------------------- /ci/settings.yml: -------------------------------------------------------------------------------- 1 | --- 2 | meta: 3 | name: homebrew-cf 4 | target: pipes@main 5 | # url: https://pipes.scalecf.net team: main 6 | 7 | github: 8 | owner: cloudfoundry-community 9 | repo: homebrew-cf 10 | private_key: ((github.private-key)) 11 | access_token: ((github.access-token)) 12 | 13 | debian: 14 | s3_bucket: apt.community.cloudfoundry.org 15 | aws_access_key: ((aws-access-key)) 16 | aws_secret_key: ((aws-secret-key)) 17 | region: "us-west-2" 18 | 19 | gpg: 20 | id: ((gpg-packaging-id)) 21 | public_key: ((gpg-packaging-public)) 22 | private_key: ((gpg-packaging-private)) 23 | 24 | pivnet: 25 | api-token: ((pivnet-token)) 26 | -------------------------------------------------------------------------------- /eden.rb: -------------------------------------------------------------------------------- 1 | require "fileutils" 2 | 3 | class Eden < Formula 4 | homepage "https://github.com/starkandwayne/eden" 5 | 6 | v = "v0.7.4" # CI Managed 7 | url "https://github.com/starkandwayne/eden/releases/download/#{v}/eden-darwin-amd64" 8 | version v 9 | sha256 "78bc2e2fa6bca9db9f96f18d6615bf6000dda169935dd8bbcf25471e15642af0" # CI Managed 10 | 11 | def install 12 | FileUtils.mv("eden-darwin-amd64", "eden") 13 | bin.install "eden" 14 | end 15 | 16 | test do 17 | system "#{bin}/eden", "--version" 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /fissile.rb: -------------------------------------------------------------------------------- 1 | require "fileutils" 2 | 3 | class Fissile < Formula 4 | homepage "https://github.com/cloudfoundry-incubator/fissile" 5 | 6 | v = "v7.0.0+374.gb8e8e6af" # CI Managed 7 | v_safe = v.gsub("+", "%2B").gsub(%r{^v}, "") 8 | url "http://cf-opensusefs2.s3.amazonaws.com/fissile/develop/fissile-#{v_safe}.darwin-amd64.tgz" 9 | version v 10 | sha256 "4ceedcda5a2164e653fee85b391b8084aba44bb31c230b0a8a9fbda991670db3" # CI Managed 11 | 12 | def install 13 | bin.install "fissile" 14 | end 15 | 16 | test do 17 | system "#{bin}/fissile", "version" 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /genesis.rb: -------------------------------------------------------------------------------- 1 | require "fileutils" 2 | 3 | class Genesis < Formula 4 | homepage "https://github.com/geofffranks/genesis" 5 | 6 | v = "v3.0.14" # CI Managed 7 | url "https://github.com/starkandwayne/genesis/releases/download/#{v}/genesis" 8 | version v 9 | sha256 "9db85ad2bac689e7f41e6a5e0a66ed363361a4d91d1ec295bd89b08b40f40e48" # CI Managed 10 | 11 | def install 12 | bin.install "genesis" 13 | end 14 | 15 | test do 16 | system "#{bin}/genesis", "--version" 17 | end 18 | end 19 | -------------------------------------------------------------------------------- /gotcha.rb: -------------------------------------------------------------------------------- 1 | require "fileutils" 2 | 3 | class Gotcha < Formula 4 | homepage "https://github.com/starkandwayne/gotcha" 5 | 6 | v = "v0.2.0" # CI Managed 7 | url "https://github.com/starkandwayne/gotcha/releases/download/#{v}/gotcha-darwin-amd64" 8 | version v 9 | sha256 "41da14a6dd1a38a0aeba09a7c158f1baac7ecbffff3831de71b6f779f734e77a" # CI Managed 10 | 11 | def install 12 | FileUtils.mv("gotcha-darwin-amd64", "gotcha") 13 | bin.install "gotcha" 14 | end 15 | 16 | test do 17 | system "#{bin}/gotcha", "-h" 18 | end 19 | end 20 | 21 | -------------------------------------------------------------------------------- /govc.rb: -------------------------------------------------------------------------------- 1 | require "fileutils" 2 | 3 | class Govc < Formula 4 | homepage "https://github.com/vmware/govmomi" 5 | 6 | v = "v0.51.0" # CI Managed 7 | url "https://github.com/vmware/govmomi/releases/download/#{v}/govc_Darwin_x86_64.tar.gz" 8 | version v 9 | sha256 "" # CI Managed 10 | 11 | def gunzip(filename) 12 | command = "gunzip --force #{filename}" 13 | success = system(command) 14 | 15 | success && $?.exitstatus == 0 16 | end 17 | 18 | def install 19 | FileUtils.mv("govc_darwin_amd64", "govc") 20 | bin.install "govc" 21 | end 22 | 23 | test do 24 | system "#{bin}/govc", "version" 25 | end 26 | end 27 | 28 | -------------------------------------------------------------------------------- /kafka-service-broker.rb: -------------------------------------------------------------------------------- 1 | require "fileutils" 2 | 3 | class KafkaServiceBroker < Formula 4 | homepage "https://github.com/starkandwayne/kafka-service-broker" 5 | 6 | v = "v2.1.0" # CI Managed 7 | url "https://github.com/starkandwayne/kafka-service-broker/releases/download/#{v}/kafka-service-broker-darwin-amd64" 8 | version v 9 | sha256 "6f38f1d145b24ea0a9f92e5c21ead9586610f951ac519e940fd0d821d1c82511" # CI Managed 10 | 11 | def install 12 | FileUtils.mv("kafka-service-broker-darwin-amd64", "kafka-service-broker") 13 | bin.install "kafka-service-broker" 14 | end 15 | 16 | test do 17 | system "#{bin}/kafka-service-broker", "-v" 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /om.rb: -------------------------------------------------------------------------------- 1 | require "fileutils" 2 | 3 | class Om < Formula 4 | homepage "https://github.com/pivotal-cf/om" 5 | 6 | v = "v7.16.0" # CI Managed 7 | @@verNum = v.sub "v", "" 8 | url "https://github.com/pivotal-cf/om/releases/download/#{@@verNum}/om-darwin-#{@@verNum}" 9 | version @@verNum 10 | sha256 "" # CI Managed 11 | 12 | def install 13 | FileUtils.mv("om-darwin-#{@@verNum}", "om") 14 | bin.install "om" 15 | end 16 | 17 | test do 18 | system "#{bin}/om", "version" 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /public.key: -------------------------------------------------------------------------------- 1 | -----BEGIN PGP PUBLIC KEY BLOCK----- 2 | 3 | mQINBGRJvOkBEACrfxGCoyiUXuueDhPje1FzR789kE2ppaDBilr7WdT5VVYNQ/u1 4 | PC0Bbmor2gxdCeugA/YJE97pU1HKYF+o3Tg0QKFT48eqr1nvcDTOzs/lZe4Pzthz 5 | Ekfx+rk+QultfvIsIluboR/d64sfVfsYkds5A/kzKMJNoEVN/zQpc0gccBY9dJ8S 6 | JaqKWJr2pQYxS80gDXuj+c7gJLwrj3K5f0mxH7Fg/6n+jV6Z9PG75ZsLFsJwbPJW 7 | osAvPg2g0q5K7yUnN/WcvzGD8+EwIuMA3EzkiuHQKjah3yQsFzHGTPHyAptLtdhl 8 | LySazNVIJNEaBeoPl/cHtFOESg6TYauQal8pNqjNgmaTUxTnlB+a1kN3iKF3Q7fq 9 | P3BNhmDi25CCLZBjOWCO1PtMCwwjvOFKewRomqILF5anur05sRvkTVEBP8gLFNew 10 | Mv3zRUxg8Jyd9dw4UxJgdf6qbjT50aC5SWa4ZozEHu5sD+RIKg1l+aitL8ERB1NP 11 | uUsHSUuNax0dTsUPZYKOsX3YCgngDovocweQEQjHd53E3U1ttvU0yxGN32AVRG2l 12 | sJhtyDByGfqQkQ2IhWMkQxcblM/yGrFdIhAkKGFCzZ18sUH9hfBafccZflC1a/EC 13 | /jlWCKdPwoUuubdphzncTHRRTYYi2JvVXuH0NKw29DbZ47Wu1HE5Z/Z9ywARAQAB 14 | tDhBZGVwdHRlY2ggQm90IChDcmVhdGVkIGJ5IENJKSA8a3J1dHRlbitib3RAYWRl 15 | cHR0ZWNoLmNhPokCTgQTAQgAOBYhBK4Jc/1u6uGDDLSwMiV9Hg7v57QcBQJkSbzp 16 | AhsvBQsJCAcDBRUKCQgLBRYCAwEAAh4BAheAAAoJECV9Hg7v57Qc33sP/REtGZPX 17 | vSOgs5fRgTJPBs0hbwYlTx/Yl2MsWKrcI9IL8eQVKqpFc3bItimLpaC8OgC8S7/s 18 | iCNMa2bE/5EXaDSWTdQfSnM07TurvI4vZHg75lpHLlgYVb/phvwrQ9i3D6oRGnFV 19 | 3muueCBhhyfkFr33JIvk7/VYzib7YqsqTCq76xHjRt5ln7bXVSuEOCfkRUQAN8tT 20 | RjA9+y/ZjuEnSr72ERdQkqRO0isaPkwKr0fFeMk1/bv5VyjFq3S4lDXkJw3Vh7tu 21 | VTT8wha98ujZlooWceigJxRwmQ4erjkrnmD8CJDazNafSc3gKvGKEkzK6ctnPYxN 22 | J/YEWzI6omo38puGbEIwzh52srlNpHDXzJuwb3L2lGgUwDkIyQpZVBuSYRjDYqSN 23 | dqrmLk8nrqwqboCsESBEX/de55wrV/5EwZ6gxP6rLM6BsVvDYDMBgtfS1e2v7/RF 24 | yQ8HQCLesv2G6KGwCxxGZ2PRr06ONN/8EYPUn/kW2ZtQXPhAui9cf1k2WG5h3MNZ 25 | rhpRr6OCvoKQa2seUBnDFulAixch7H7i2dEJ+z27/Px7CW3ozERvvFafyoGtbCqz 26 | EdhXpEEX/nON0a7EW0WK8zvDw5LfO+bvRGlesZrXNyXn1X4ixflqo8RAkRFwFrlo 27 | MkqPZrDUimibitdU4JJLjmyUpKWz5tZuupgIuQQNBGRJvOkQEACujiiXrXXSQs3Y 28 | yDjhS2XNdo1QMaj1ABWCB7PZXgWuaGnVNrujZlnTjCYdUCP0s7jbQ5GzxdTQV99T 29 | Iv15H3qeZ1HIxQhdR6tiv0tIVtG1P6Q+63fpBw3kaonVwEJGo6PisWyT9HI+kz9C 30 | zap7FfqdNojVpBdmHx+XZuEOq790f9AHysOlhz6+zrY9izbjDXvYD1jclfr1ji+M 31 | MvcIfkU+PcEmAOmFmhlgoJQPrp83hwKx2u4MvVW7G2XHAoWv+4LDsVBVw88ptmC2 32 | uHA0DKOpGRdnRo8o2ZY6Q+TcsvXLiSdRoz13h6uE/Cao0/xsLRxstq8t2wHMTc9s 33 | dDq3dtRTXYpN9zp5halqXcorWJocPjkI+SRULFl9mw10FtrA4APtM0bfSzigZmF/ 34 | bDV1tR6p1p1p1+W/53ubpmjeHEM08JCTu55EY/pJSi9d3zvNsi6ToJn7FTsjDhKB 35 | +gtqueiI0RKzCGLppm+ppbqkp52sPK4i9OsrorYHf5GIw1fr2KvrUFFEqgT7bdql 36 | MJtD5nWe8kuyce990t7DghzUqhXoVdYQEzLMwyGmPzIF8wXSIziJpTF6SKVi7CWm 37 | IXSeOGhT+3wWLlP+Ny/0sXmx7FUM426DLmjH7CCnSF7yYCWPeluL++31utjFdN5K 38 | Cm8gSpI9nKy/G9d08XFly7wGgWeHmwADBQ/+PebTBcxI2HgVq2VZSkFGa4ngRVsj 39 | dMkfjm1m9mhRc+VqQbXda9ag6T44ayU8Y3ENnxOiLcU21P8Ks1PKSsf54Mwgtd/v 40 | CFutxaFY2tRqFyxY27uRGZRCNQa+ZbhaIA71G5ILDkNaSYI9wMRiwznfLV2hV9MB 41 | qeu8c7n7AWKIE1i+9OGxAN9Up5c1hv8vGWNA7yuBonPBDPjDfU8wMG3IgGoibfX1 42 | FO3kamxTCQM/q4NTpkiSzu/C4PaLJmUAghPo/rchMofD5ZzDS+uTxGNP6jlincYD 43 | NNGBkuR2eXEMo3Z/dWbN/q3TwxBDHLDwg520QcIkoV0bmEgvpc2Q+F9NwJCTFa/p 44 | lRWOvuurkvs5tQdgfzBjHiNYwX6zsJ0zEo59UjhMkVSMjs+5VvlmjvZ+I3WtxMtM 45 | EEryi98QKl2NebMWqTiT3DWLZ/SabFRXrpUEc32uvQO5I5r9QUI6EP1Pk+x2m4Ru 46 | p3wzxqe9G9x3bNCoE8O3kMQDlC+eE1HZIvL6jZV9Jcyo48Z0NuTapvH5U707SItc 47 | rTXstoyJtO76xW7ySnKBp16J9HN3Foeu4WxiiJdwfMLarEIVfMoas+XQSmw0EtTE 48 | Rtk43jAqb+SoMp6VTZ464UrVsoTty0TqCFPgN/4nSdeBYHHfbV0AcXbpuB3C+oS/ 49 | c9YZZPekHJFhJTmJAjYEGAEIACAWIQSuCXP9burhgwy0sDIlfR4O7+e0HAUCZEm8 50 | 6QIbDAAKCRAlfR4O7+e0HINHD/9n5HdgSbZFfU2jNjbR1s/12+bFdcbszA/wrpbV 51 | AFgy+YxeuJt+e3V5CFK53Kh/tJFs7piq+HkAq5HkZxSo10vWNgMDzl9+BWfwwSES 52 | g/4/Ga1FjZF854ztdVC/feInVimoKZ9DQLFIt0SpyLxVkEYFlb2ZxIZgpmaiV/Yd 53 | ND3HatnXy/FD4mLhzGkCZWE2nvmxm/vw85+K7JE5M0pn6LXgSGHvYa9DGuylsMGV 54 | DHeHYKbfTZbx+KQMP7euuoaFbJHWiNnbHXVcpfHAAHvTJMYNEutyorj3Fq+KcyuI 55 | QFJe/ZXLEwdB4HCyF07JTs2qoyXYqwFb0yqTp6yPpLPmgUyXzG5UfVGCtzYY129e 56 | zJIXCmgyA9tnGFm01Q5bJf30ZIpXBTe1rcxzcjbggVIY4DKk2pkS6NF2fI9DBHJM 57 | XIHkbnO2LdiaqZV6f+DgJexhrvBqlTihN10gW4Au/O0VzNdgFs3O1E22/gnZUiix 58 | D/ZhhGnuh2EUx4EkMNF28srIv6uPgcvzLFcykFOuye2Q41TzGpPkt2LdHhnNfBZr 59 | ydrEnDy4Z2iHTbg61hjTBh+s2btJKweVPj4aFeIPlA1tdKurr4xdHkVn1Xr8CvYQ 60 | hohpPf4GB/DsHdLZJATjqdTUSqAu1ejasY1v774fWVmSagl4spEZCbkvH3oVOdQ4 61 | qBtWng== 62 | =zNiW 63 | -----END PGP PUBLIC KEY BLOCK----- 64 | -------------------------------------------------------------------------------- /quaa.rb: -------------------------------------------------------------------------------- 1 | class Quaa < Formula 2 | desc "Quickly run Cloud Foundry UAA inside Apache Tomcat" 3 | homepage "https://github.com/starkandwayne/quaa" 4 | 5 | v = "v1.0.4" # CI Managed 6 | url "https://github.com/starkandwayne/quick-uaa-local/archive/#{v}.tar.gz" 7 | version v 8 | sha256 "bef7ecc603ef40aaf92b4eb31070853ea7e3968149e57b0ecda6ae6faee228d1" # CI Managed 9 | 10 | head do 11 | url "https://github.com/starkandwayne/quick-uaa-local.git", using: :git 12 | end 13 | 14 | 15 | depends_on "openjdk" 16 | depends_on "cloudfoundry/tap/bosh-cli" => "5.2.2" 17 | depends_on "starkandwayne/cf/uaa-cli" => "0.0.1" 18 | 19 | def install 20 | bosh_bin = File.join(Formula["cloudfoundry/tap/bosh-cli"].opt_bin, "bosh") 21 | uaa_bin = File.join(Formula["starkandwayne/cf/uaa-cli"].opt_bin, "uaa") 22 | 23 | (share/"manifests").install Dir["*", ".versions"] 24 | 25 | quaa = <<-SHELL 26 | #!/bin/bash 27 | 28 | export BOSH_BIN=#{bosh_bin} 29 | export UAA_BIN=#{uaa_bin} 30 | 31 | DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" 32 | cd $DIR/.. 33 | 34 | #{(share/"manifests/bin/quaa")} "$@" 35 | SHELL 36 | bin.mkpath 37 | (bin/"quaa").binwrite(quaa) 38 | 39 | puts <<-README 40 | 41 | To run an in-memory UAA: 42 | 43 | quaa up 44 | 45 | To run the UAA backed by your local existing PostgreSQL database: 46 | 47 | quaa up --postgresql 48 | 49 | The UAA will be running at http://localhost:8080 50 | 51 | In another terminal, you can target & authorize the new "uaa" CLI: 52 | 53 | quaa auth-client 54 | 55 | Example "uaa" commands to try: 56 | 57 | uaa clients 58 | uaa users 59 | uaa groups 60 | 61 | README 62 | end 63 | end 64 | -------------------------------------------------------------------------------- /riff.rb: -------------------------------------------------------------------------------- 1 | require "fileutils" 2 | 3 | class Riff < Formula 4 | homepage "https://github.com/projectriff/riff" 5 | 6 | v = "v0.4.0" # CI Managed 7 | url "https://github.com/projectriff/riff/releases/download/#{v}/riff-darwin-amd64.tgz" 8 | version v 9 | sha256 "dc45e3cb0faaefc9483c4b6902413104f777b3a95219390535a7cee67911bd59" # CI Managed 10 | 11 | def gunzip(filename) 12 | command = "gunzip --force #{filename}" 13 | success = system(command) 14 | 15 | success && $?.exitstatus == 0 16 | end 17 | 18 | def install 19 | # FileUtils.mv("riff-darwin-amd64", "riff") 20 | bin.install "riff" 21 | end 22 | 23 | test do 24 | system "#{bin}/riff", "version" 25 | end 26 | end 27 | 28 | -------------------------------------------------------------------------------- /safe.rb: -------------------------------------------------------------------------------- 1 | require "fileutils" 2 | 3 | class Safe < Formula 4 | homepage "https://github.com/cloudfoundry-community/safe" 5 | 6 | v = "v1.9.0" # CI Managed 7 | @@verNum = v.sub "v", "" 8 | url "https://github.com/cloudfoundry-community/safe/releases/download/#{v}/safe-#{v.gsub(/v/,"")}-darwin-amd64" 9 | version v 10 | sha256 "6854eb15989f7e4bc16d231fc28a041058922fc52da92211e1df07ff502eb6a1" # CI Managed 11 | 12 | def install 13 | FileUtils.mv("safe-#{@@verNum}-darwin-amd64", "safe") 14 | bin.install "safe" 15 | end 16 | 17 | test do 18 | system "#{bin}/safe", "--version" 19 | end 20 | end 21 | -------------------------------------------------------------------------------- /shield.rb: -------------------------------------------------------------------------------- 1 | require "fileutils" 2 | 3 | class Shield < Formula 4 | homepage "https://github.com/starkandwayne/shield" 5 | 6 | v = "v8.8.7" # CI Managed 7 | url "https://github.com/starkandwayne/shield/releases/download/#{v}/shield-darwin-amd64" 8 | version v 9 | sha256 "3333aae48c583630fd070f4683fd3ac3704d93229e3d76f66d6d58ae4228edde" # CI Managed 10 | 11 | def install 12 | FileUtils.mv("shield-darwin-amd64", "shield") 13 | bin.install "shield" 14 | end 15 | 16 | test do 17 | system "#{bin}/shield", "-h" 18 | end 19 | end 20 | 21 | -------------------------------------------------------------------------------- /spruce.rb: -------------------------------------------------------------------------------- 1 | require "fileutils" 2 | 3 | class Spruce < Formula 4 | homepage "https://github.com/geofffranks/spruce" 5 | 6 | v = "v1.31.1" # CI Managed 7 | url "https://github.com/geofffranks/spruce/releases/download/#{v}/spruce-darwin-amd64" 8 | version v 9 | sha256 "735c27e0c177a149aff63312fa46445ce87b9926796d02fcf1fe9417c25f5d9c" # CI Managed 10 | 11 | def install 12 | FileUtils.mv("spruce-darwin-amd64", "spruce") 13 | bin.install "spruce" 14 | end 15 | 16 | test do 17 | system "#{bin}/spruce", "--version" 18 | end 19 | end 20 | -------------------------------------------------------------------------------- /uaa-cli.rb: -------------------------------------------------------------------------------- 1 | require "fileutils" 2 | 3 | class UaaCli < Formula 4 | homepage "https://github.com/cloudfoundry-incubator/uaa-cli" 5 | 6 | v = "v0.16.0" # CI Managed 7 | @@verNum = v.sub "v", "" 8 | url "https://github.com/cloudfoundry-incubator/uaa-cli/releases/download/#{@@verNum}/uaa-darwin-amd64-#{@@verNum}" 9 | version v 10 | sha256 "5efae49cc8f66829e4daaec71e931700d8a2fe5fab85c265286787b616a7e9a5" # CI Managed 11 | 12 | def install 13 | FileUtils.mv("uaa-darwin-amd64-#{@@verNum}", "uaa") 14 | bin.install "uaa" 15 | end 16 | 17 | test do 18 | system "#{bin}/uaa", "-h" 19 | end 20 | end 21 | 22 | -------------------------------------------------------------------------------- /yj.rb: -------------------------------------------------------------------------------- 1 | require "fileutils" 2 | 3 | class Yj < Formula 4 | homepage "https://github.com/sclevine/yj" 5 | 6 | v = "v5.1.0" # CI Managed 7 | url "https://github.com/sclevine/yj/releases/download/#{v}/yj-macos" 8 | version v 9 | sha256 "" # CI Managed 10 | 11 | def install 12 | FileUtils.mv("yj-macos", "yj") 13 | bin.install "yj" 14 | end 15 | 16 | test do 17 | system "#{bin}/yj", "-h" 18 | end 19 | end 20 | --------------------------------------------------------------------------------