-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ec1f0a7
commit 2a9e47c
Showing
3 changed files
with
53 additions
and
11 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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
.DS_Store | ||
ServiceManagement.osx | ||
ServiceManagement.linux64 | ||
ServiceManagement.linux32 | ||
ServiceManagement.win64 | ||
ServiceManagement.win32 | ||
mod_settings |
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 |
---|---|---|
|
@@ -12,15 +12,30 @@ cf plugins | grep ServiceManage | |
GOOS=darwin GOARCH=amd64 go build -o ServiceManagement.osx ServiceManagement_plugin.go ; chmod 755 ServiceManagement.osx ; cf uninstall-plugin ServiceManagement ; cf install-plugin ServiceManagement.osx -f ; cf plugins | grep ServiceManage | ||
GOOS=linux GOARCH=amd64 go build -o ServiceManagement.linux64 ServiceManagement_plugin.go ; scp ServiceManagement.linux64 thedrop:/home/ec2-user/files | ||
GOOS=windows GOARCH=amd64 go build -o ServiceManagement.win64 ServiceManagement_plugin.go ; scp ServiceManagement.win64 thedrop:/home/ec2-user/files | ||
``` | ||
|
||
In BAS | ||
``` | ||
cd ~ | ||
curl -LJO http://thedrop.sap-partner-eng.com/files/ServiceManagement_1_0_10.linux64 | ||
chmod 755 ServiceManagement_1_0_10.linux64 | ||
cf uninstall-plugin ServiceManagement ; cf install-plugin ServiceManagement_1_0_10.linux64 -f | ||
cf api https://api.cf.us10.hana.ondemand.com ; cf login -u [email protected] -o ae67provider -s dev | ||
curl -LJO https://github.com/andrewlunde/ServiceManagement/releases/download/latest/ServiceManagement.linux64 ; chmod +x ServiceManagement.linux64 ; f uninstall-plugin ServiceManagement ; cf install-plugin ServiceManagement.linux64 -f | ||
``` | ||
For WIP Drops | ||
``` | ||
GOOS=linux GOARCH=amd64 go build -o ServiceManagement.linux64 ServiceManagement_plugin.go ; scp ServiceManagement.linux64 thedrop:/home/ec2-user/files | ||
GOOS=windows GOARCH=amd64 go build -o ServiceManagement.win64 ServiceManagement_plugin.go ; cf uninstall-plugin ServiceManagement ; cf install-plugin ServiceManagement.linux64 -f | ||
curl -LJO https://github.com/andrewlunde/ServiceManagement/releases/download/latest/ServiceManagement.win64 ; cf uninstall-plugin ServiceManagement ; cf install-plugin ServiceManagement.win64 -f | ||
cf plugins | grep ServiceManage | ||
curl -LJO "Redirects" | ||
|
@@ -56,8 +71,18 @@ vim /home/user/.theia/settings.json smc.json | |
``` | ||
|
||
For Release: | ||
The CF cli supports 5 combinations: | ||
|
||
linux/386 (known as linux32) | ||
linux/amd64 (known as linux64) | ||
windows/386 (known as win32) | ||
windows/amd64 (known as win64) | ||
darwin /amd64 (known as osx) | ||
|
||
``` | ||
GOOS=darwin GOARCH=amd64 go build -o ServiceManagement.osx ServiceManagement_plugin.go | ||
GOOS=linux GOARCH=amd64 go build -o ServiceManagement.linux64 ServiceManagement_plugin.go | ||
GOOS=linux GOARCH=386 go build -o ServiceManagement.linux32 ServiceManagement_plugin.go | ||
GOOS=windows GOARCH=amd64 go build -o ServiceManagement.win64 ServiceManagement_plugin.go | ||
GOOS=windows GOARCH=386 go build -o ServiceManagement.win32 ServiceManagement_plugin.go | ||
``` |
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