-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2990 from cloudfoundry/fix-flake
Fix flake
- Loading branch information
Showing
13 changed files
with
116 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21,3 +21,4 @@ eclint_indent_style = unset | |
|
||
[Dockerfile] | ||
indent_size = 4 | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{ buildGoModule | ||
, callPackage | ||
, fetchFromGitHub | ||
, fetchgit | ||
, lib | ||
}: { | ||
app-autoscaler-cli-plugin = buildGoModule rec { | ||
pname = "app-autoscaler-cli-plugin"; | ||
gitCommit = "f46dc1ea62c4c7bd426c82f4e2a525b3a3c42300"; | ||
version = "${gitCommit}"; | ||
src = fetchgit { | ||
url = "https://github.com/cloudfoundry/app-autoscaler-cli-plugin"; | ||
rev = "${gitCommit}"; | ||
hash = "sha256-j8IAUhjYjEFvtRbA6o2vA7P2uUmKVYsd9uJmN0WtVCM="; | ||
fetchSubmodules = true; | ||
}; | ||
doCheck = false; | ||
vendorHash = "sha256-NzEStcOv8ZQsHOA8abLABKy+ZE3/SiYbRD/ZVxo0CEk="; | ||
}; | ||
|
||
# this bosh-bootloader custom build can be removed once https://github.com/cloudfoundry/bosh-bootloader/issues/596 is implemented. | ||
bosh-bootloader = buildGoModule rec { | ||
pname = "bosh-bootloader"; | ||
version = "9.0.17"; | ||
src = fetchgit { | ||
url = "https://github.com/cloudfoundry/bosh-bootloader"; | ||
rev = "v${version}"; | ||
fetchSubmodules = true; | ||
hash = "sha256-P4rS7Nv/09+9dD198z4NOXnldSE5fx3phEK24Acatps="; | ||
}; | ||
doCheck = false; | ||
vendorHash = null; | ||
}; | ||
|
||
cloud-mta-build-tool = buildGoModule rec { | ||
pname = "Cloud MTA Build Tool"; | ||
version = "1.2.26"; | ||
|
||
src = fetchFromGitHub { | ||
owner = "SAP"; | ||
repo = "cloud-mta-build-tool"; | ||
rev = "v${version}"; | ||
hash = "sha256-DKZ9Nj/sNC9dRjyiu4MKjLrIJWluYlZzUHWqEqtrNt4="; | ||
}; | ||
|
||
vendorHash = "sha256-h8LPsuxvbr/aRhH1vR1fYgBot37yrfiemZTJMKj0zbk="; | ||
|
||
ldflags = ["-s" "-w" "-X main.Version=${version}"]; | ||
|
||
doCheck = false; | ||
|
||
postInstall = '' | ||
pushd "$out/bin" &> /dev/null | ||
ln -s 'cloud-mta-build-tool' 'mbt' | ||
popd | ||
''; | ||
}; | ||
|
||
log-cache-cli-plugin = buildGoModule rec { | ||
pname = "log-cache-cli"; | ||
version = "6.0.1"; | ||
src = fetchgit { | ||
url = "https://github.com/cloudfoundry/log-cache-cli"; | ||
rev = "v${version}"; | ||
hash = "sha256-XMxZPmqjOo/yaMFHY+zTjamB2FmPn2eh0zEtwQevt+I="; | ||
fetchSubmodules = true; | ||
}; | ||
doCheck = false; | ||
vendorHash = null; | ||
ldflags = ["-s" "-w" "-X main.version=${version}"]; | ||
}; | ||
|
||
uaac = callPackage ./packages/uaac {}; | ||
} |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ bundlerApp }: | ||
|
||
bundlerApp { | ||
pname = "cf-uaac"; | ||
gemdir = ./.; | ||
exes = ["uaac"]; | ||
|
||
meta = { | ||
description = "CloudFoundry UAA Command Line Client"; | ||
homepage = "https://github.com/cloudfoundry/cf-uaac"; | ||
mainProgram = "uaac"; | ||
}; | ||
} |
File renamed without changes.