-
Notifications
You must be signed in to change notification settings - Fork 7
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
Showing
2 changed files
with
19 additions
and
0 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 |
---|---|---|
|
@@ -20,3 +20,4 @@ | |
# Go workspace file | ||
go.work | ||
fleeting-plugin-openstack | ||
dist/ |
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,18 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
|
||
copybin() { | ||
local gorel=$1 | ||
local plugarch=$2 | ||
mkdir -p "dist/$plugarch/plugin" | ||
cp -p "dist/$gorel/bin"/* "dist/$plugarch/plugin/" | ||
} | ||
|
||
# move binaries to places expected by fleetine-artifact | ||
copybin fleeting-plugin-openstack_linux_386_sse2 linux/386 | ||
copybin fleeting-plugin-openstack_linux_amd64_v1 linux/amd64 | ||
copybin fleeting-plugin-openstack_linux_arm64_v8.0 linux/arm64 | ||
copybin fleeting-plugin-openstack_linux_arm_7 linux/armv7 | ||
|
||
go install gitlab.com/gitlab-org/fleeting/fleeting-artifact/...@latest |