For general contribution and community guidelines, please see the community repo.
You can test these scripts locally against a VM with Vagrant. Ensure you have
conjur-appliance.tar.gz
in your project directory and run vagrant up
.
Vagrant will:
- Copy
conjur-appliance.tar.gz
into the VM. - Run bootstrap scripts.
Tests are run using test-kitchen. Install the ChefDK (bundles test-kitchen) to run tests locally.
Run a test against a created AMI like so:
./test.sh <AMI_ID>
This will:
- Spin up an EC2 instance of the AMI.
- Run bootstrap.sh to configure the Conjur container.
- curl the health endpoint to make sure all is okay.
- Terminate the EC2 instance.
- Fork the project
- Clone your fork
- Make local changes to your fork by editing files
- Commit your changes
- Push your local changes to the remote server
- Create new Pull Request
From here your pull request will be reviewed and once you've responded to all feedback it will be merged into the project. Congratulations, you're a contributor!