1. Home
  2. Docs
  3. Developers
  4. Microservices
  5. Test Bitbucket Deployment

Test Bitbucket Deployment

This step requires that the Function code and AWS Lambda Function has been created.

Note: Verifying deployment does not mean the API Gateway is connected to the microservice!

Initial Code Commits / Pull Requests

  • Once you have committed your local code, create and merge a Pull Request to development
  • If this is a first time deployment, you will need to create the branch
    • In bitbucket repository, go to Branches
    • Click Create Branch
    • From Branch: development
    • Branch name: rf-api-(servicename)-dev
      • This branch name MUST match what you have added in bitbucket-pipelines.yml
  • When a Branch is created, it should automatically trigger a deployment
    • Go to Pipelines on the left to check
    • If a deployment hasn’t been triggered, you will need to check that bitbucket-pipelines.yml and your branch name has been configured and matched

Pull Requests

  • If the branch already exists, create a Pull Request to the branch and merge it to trigger a deployment

Verifying deployments

  • Check Bitbucket – the Pipeline status should be “Successful”
  • Check AWS Lambda – the function should have a recent “Last Updated”