We'd love to accept your patches and contributions to this project. There are just a few guidelines you need to follow.
Contributions to this project must be accompanied by a Contributor License Agreement. You (or your employer) retain the copyright to your contribution; this simply gives us permission to use and redistribute your contributions as part of the project. Head over to https://cla.jfrog.com/ to see your current agreements on file or to sign a new one.
You generally only need to submit a CLA once, so if you've already submitted one (even if it was for a different project), you probably don't need to do it again.
Clone repository to: $GOPATH/src/github.com/jfrog/terraform-provider-bridge
mkdir -p $GOPATH/src/github.com/jfrog
cd $GOPATH/src/github.com/jfrog
git clone git@github.com:jfrog/terraform-provider-bridgeEnter the provider directory and build the provider:
cd $GOPATH/src/github.com/jfrog/terraform-provider-bridge
go mod tidy
make buildInstall locally for testing:
make installSet the following environment variables for testing:
export JFROG_URL="https://your-instance.jfrog.io"
export JFROG_ACCESS_TOKEN="your-admin-token"make testTo run the full suite of Acceptance tests, run make acceptance.
Note: Acceptance tests create real resources. You should expect that the full acceptance test suite may take time to run.
make acceptanceTo generate documentation, run:
make docAll submissions, including submissions by project members, require review. We use GitHub pull requests for this purpose. Consult GitHub Help for more information on using pull requests.
The provider currently supports the following resource:
bridge- Manages JFrog Bridge connections between Bridge Server and Bridge Client
For more details, see the README and documentation.