Skip to content

Commit 2f14adc

Browse files
committed
fix(local-flake): Remove piper, rename mbt
# Issue - `sap-piper` is not needed at the moment. - `mbt` was cryptically named. # Fix - Remove `sap-piper` - Rename `mbt` to the name of the repo
1 parent d3dd316 commit 2f14adc

File tree

2 files changed

+2
-29
lines changed

2 files changed

+2
-29
lines changed

devbox.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
"path:local-flake#bosh-bootloader": "",
44
"path:local-flake#app-autoscaler-cli-plugin": "",
55
"path:local-flake#log-cache-cli-plugin": "",
6-
"path:local-flake#mbt": "",
7-
"path:local-flake#sap-piper": {
8-
"platforms": ["x86_64-linux"]
9-
},
6+
"path:local-flake#cloud-mta-build-tool": "",
107
"path:local-flake#uaac": "",
118
"credhub-cli": "latest",
129
"delve": "latest",

local-flake/flake.nix

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
ldflags = ["-s" "-w" "-X main.version=${version}"];
5959
};
6060

61-
mbt = nixpkgsFor.${system}.buildGoModule rec {
61+
cloud-mta-build-tool = nixpkgsFor.${system}.buildGoModule rec {
6262
pname = "Cloud MTA Build Tool";
6363
version = "1.2.26";
6464

@@ -82,30 +82,6 @@
8282
'';
8383
};
8484

85-
sap-piper = nixpkgsFor.${system}.buildGoModule rec {
86-
pname = "Project Piper";
87-
version = "1.360.0";
88-
89-
src = nixpkgsFor.${system}.fetchFromGitHub {
90-
owner = "SAP";
91-
repo = "jenkins-library";
92-
rev = "v${version}";
93-
hash = "sha256-eCg9fgP4pIhbW8zkg6izHb6V1VrkA+4hUCNvjMYOagI=";
94-
};
95-
96-
vendorHash = "sha256-qCoz6jGoqGYsTYumrdy4RA3LdVwaMhS+vcCK2n970eg=";
97-
98-
ldflags = ["-s" "-w" "-X github.com/SAP/jenkins-library/cmd.GitTag=v${version}"];
99-
100-
doCheck = false;
101-
102-
postInstall = ''
103-
pushd "$out/bin" &> /dev/null
104-
ln -s 'jenkins-library' 'piper'
105-
popd
106-
'';
107-
};
108-
10985
uaac = nixpkgsFor.${system}.bundlerApp rec {
11086
pname = "cf-uaac";
11187
gemdir = ./.;

0 commit comments

Comments
 (0)