b02110f59a | ||
---|---|---|
.. | ||
build | ||
cmd | ||
internal/buildinfo | ||
pkg | ||
README.md | ||
go.mod | ||
go.sum | ||
main.go |
README.md
Running the dropgz locally
Select the file(for example azure-ipam binary) you want to deploy using the dropgz.
- Copy the file (i.e azure-ipam) to the directory
/dropgz/pkg/embed/fs
- Add the sha of the file to the sum.txt file.(
sha256sum * > sum.txt
) - You need to gzip the file, so run the cmd
gzip --verbose --best --recursive azure-ipam
and rename the output .gz file to original file name. - Do the step 3 for
sum.txt
file as well. - go to dropgz directory and build it. (
go build .
) - You can now test the dropgz command locally. (
./dropgz deploy azure-ipam -o ./azure-ipam
)