Amazee.io needs read access on the git repositories which need to be deployed. Also you need to setup a Webhook to inform Amazee.io about repository pushes. To support you in getting this permissions aligned please follow following guide:
-
Navigate to the Github Repository which will be deployed to amazee.io
-
Afterwards it will take several minutes until the invitation for the repository has been accepted
-
If everything is okay you'll see that the
Copy invite link
button has disappeared now you're good to start deploying to amazee.io -
Yay! amazee.io can now access your sourcecode. You are not quite done yet. Read on and add also the Webhook to the repository.
You need to add a webhook to your Github repository to inform amazee.io that code has been pushed.
-
Add the Payload URL :
https://deploy.amazeeio.cloud/github-webhook/
and clickAdd webhook
-
Check that there is a green checkmark next to your newly created webhook. This tells you that everything works as planned and the creation of the webhook has been successful.
-
Navigate to the Gitlab Repository which will be deployed to amazee.io
-
On the top right corner slick on the gear icon and then
Members
-
Verify that the user has been added to your git repository. you're good to go ahead and start you first deployment
-
On the top right corner click the gear icon and then
Webhooks
-
Add the URL :
https://deploy.amazeeio.cloud/gitlab/build_now
-
Click
Test
Please note, until the repo is associated with a sitegroup, this test will fail.
-
Navigate to the Bitbucket Repository which will be deployed to Amazee.io
-
Under Users add the user
amazeeio-deploy
and addread
permission for that user -
Afterwards you should see the User in the List with the appropriate access permission
-
Yay! amazee.io can now access your sourcecode. You are not quite done yet. Read on and add also the Webhook to the repository.
You need to add a webhook to your Bitbucket repository to inform amazee.io that code has been pushed.
- Click on Webhooks
- Click on
Add Webhook
- Choose a Title and add the Webhook url
https://deploy.amazeeio.cloud/bitbucket-hook/
You don't need to change SSL/TLS or Triggers default values are fine. When you're done clickSave
- You get back to the overview where you can see the newly created webhook.
You're using a private installation of GitLab, AWS Git repositories or something else we didn't come up with yet?
No worries, we only need read access on the repository so we will provide you with a SSH Public Key which then needs to be granted access.
Feel free to get in touch with us on slack or via support@amazee.io and we help you getting the repository access in line.