nebulant-bridge

command module
v0.0.0-...-631ecd4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2024 License: MIT Imports: 11 Imported by: 0

README ΒΆ

Nebulant Bridge

Nebulant

This is part of [nebulant-cli][https://github.com/Develatio/nebulant-cli].

For more information, see the website of the Nebulant.


πŸ“– Documentation

Find information about how to use the Bridge at our docs website.


🏁 Quick Start


βš™οΈ Building locally

If you want to compile the source code yourself, you can follow these steps:

Using Docker:

$ docker compose -f docker-compose.yml build --no-cache
$ docker compose -f docker-compose.yml run --rm buildenv all

This will build the source code for all supported OSs and architectures.

You can build the code for a specific combination of OS and architecture by replacing all with the desired target in the second command. Example:

$ docker compose -f docker-compose.yml run --rm buildenv linux-amd64

Check the table of supported OSs and architectures.


πŸ–₯️ Supported OSs and architectures:

arm arm64 386 amd64
linux βœ… βœ… βœ… βœ…
freebsd βœ… βœ… βœ… βœ…
openbsd βœ… βœ… βœ… βœ…
windows βœ… βœ… βœ… βœ…
darwin N/A βœ… N/A βœ…

🧰 Reproducible Build

Reproducible builds are a set of software development practices that create an independently-verifiable path from source to binary code.

At Develatio, we believe in transparency, and we emphasize the safety of our products. For this reason, we offer you the means to build the source code yourself and verify that the resulting binaries match the ones that we provide.

To reproduce *nix and windows builds follow these steps:

  1. Clone the repo: git clone https://github.com/Develatio/nebulant-bridge.git
  2. Checkout the version you'd like to build (e.g. git checkout v0.6.0)
  3. Build the source code (check the Building locally section)
  4. Run diff between the binary that you just built and the binary that we provide. Make sure that both binaries have the same version, OS and architecture. You should see no differences, meaning that the binary that you downloaded contains the exact same code as the binary you just compiled.

To reproduce darwin (aka MacOS) builds, the first 3 steps are the same, but before running the 4th step you need to perform an extra action. The binaries that we provide are signed with our private certificate, while the binaries that you can build from the source code aren't, which means that diffing the darwin binaries will yield differences. You must remove the signature from the binary that we provide in order to be able to compare both binaries.

Removing the signature is as easy as:

$ codesign --remove-signature nebulant-darwin-arm64
$ xxd nebulant-darwin-arm64 > unsigned-nebulant-darwin-arm64

Now you should be able to follow the 4th step and see no differences.


Nebulant Bridge Configuration


🫑 Contributing

If you find an issue, please report it to the issue tracker.


πŸ“‘ License

Copyright (c) Develatio Technologies S.L. All rights reserved.

Licensed under the MIT license.

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL