Skip to content

Commit 6619404

Browse files
committed
add riff-debian
1 parent b7e83a5 commit 6619404

File tree

4 files changed

+57
-0
lines changed

4 files changed

+57
-0
lines changed

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ apt-get install vault
6363
apt-get install concourse-fly
6464
apt-get install concourse # also installs concourse-fly
6565
66+
apt-get install riff
6667
apt-get install om
6768
apt-get install pivnet-cli
6869
apt-get install pks

apt/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ <h1>Stark &amp; Wayne APT repository</h1>
3838
apt-get install terraform
3939
apt-get install vault
4040

41+
apt-get install riff
4142
apt-get install om
4243
apt-get install pivnet-cli
4344
apt-get install pks

ci/pipeline.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ groups:
5858
- credhub-cli-debian
5959
- uaa-cli-homebrew
6060
- uaa-cli-debian
61+
- riff-debian
6162
- certstrap-debian
6263
- cf-cli-debian
6364
- jq-debian
@@ -99,6 +100,7 @@ groups:
99100
- bosh-cli-debian
100101
- credhub-cli-debian
101102
- uaa-cli-debian
103+
- riff-debian
102104
- certstrap-debian
103105
- cf-cli-debian
104106
- jq-debian
@@ -863,6 +865,47 @@ jobs:
863865
GPG_PUBLIC_KEY: (( grab meta.gpg.public_key ))
864866
GPG_PRIVATE_KEY: (( grab meta.gpg.private_key ))
865867

868+
- name: riff-debian
869+
public: true
870+
serial_groups: [apt]
871+
plan:
872+
- aggregate:
873+
- get: homebrew
874+
resource: homebrew
875+
- get: riff
876+
trigger: true
877+
params:
878+
globs: [riff-linux-amd64.tgz]
879+
- task: create-debian
880+
config:
881+
platform: linux
882+
image_resource: (( grab meta.image ))
883+
inputs:
884+
- name: homebrew
885+
- name: riff
886+
path: recipe
887+
run:
888+
path: "homebrew/ci/scripts/create-debian-pkg-from-binary.sh"
889+
params:
890+
DEBUG: 1
891+
REPO_ROOT: homebrew
892+
REPO_OUT: pushme
893+
IN_BINARY_PREFIX_TGZ: riff-linux-amd64
894+
IN_BINARY_AFTER_UNPACK: riff
895+
OUT_BINARY: riff
896+
NAME: riff
897+
LICENSE: Apache-2.0
898+
DESCRIPTION: riff is for functions
899+
URL: https://github.com/projectriff/riff
900+
MAINTAINERS: https://github.com/projectriff/riff/graphs/contributors
901+
VENDOR: Pivotal Inc
902+
RELEASE_BUCKET: (( grab meta.debian.s3_bucket ))
903+
AWS_ACCESS_KEY: (( grab meta.debian.aws_access_key ))
904+
AWS_SECRET_KEY: (( grab meta.debian.aws_secret_key ))
905+
GPG_ID: (( grab meta.gpg.id ))
906+
GPG_PUBLIC_KEY: (( grab meta.gpg.public_key ))
907+
GPG_PRIVATE_KEY: (( grab meta.gpg.private_key ))
908+
866909
- name: uaa-cli-homebrew
867910
public: true
868911
serial: true
@@ -1658,6 +1701,14 @@ resources:
16581701
repository: certstrap
16591702
access_token: (( grab meta.github.access_token ))
16601703

1704+
- name: riff
1705+
type: github-release
1706+
source:
1707+
owner: projectriff
1708+
repository: riff
1709+
pre_release: true
1710+
access_token: (( grab meta.github.access_token ))
1711+
16611712
- name: cf-cli-linux
16621713
type: s3
16631714
source:

ci/scripts/create-debian-pkg-from-binary.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,12 @@ fi
4242
if [[ ${IN_BINARY_PREFIX_TGZ:-X} != "X" ]]; then
4343
cd recipe
4444
tar xfz $IN_BINARY_PREFIX_TGZ*tgz
45+
# I think 'hub' needed this; but it doesn't work for riff
46+
set +e
4547
IN_BINARY=$(ls **/*/$IN_BINARY_AFTER_UNPACK)
48+
IN_BINARY=${IN_BINARY:-$IN_BINARY_AFTER_UNPACK}
4649
cd -
50+
set -e
4751
fi
4852
if [[ ${IN_BINARY_PREFIX_ZIP:-X} != "X" ]]; then
4953
cd recipe

0 commit comments

Comments
 (0)