Integrating into CI/CD
In order to keep function code synchronized with what is deployed, we suggest updating function code directly from your source control system.
Last updated
Was this helpful?
In order to keep function code synchronized with what is deployed, we suggest updating function code directly from your source control system.
Last updated
Was this helpful?
While it’s easy to start using Functions straight from web dashboard, it’s a good practice to keep the source in source control management (SCM), also known as systems such as:
Bitbucket function example can be found here: .
Updates are done using and the official which deploys your code.
Create a new function here (or using relay
CLI)
Get your access token key & secret
Configure Bitbucket repository settings with access token:
Go to “Repository settings”
Click on “Repository variables” (if pipelines are not enabled, enable them)
Add two environment variables RELAY_KEY (with value from the access token ‘key’) and RELAY_SECRET (with value from the access token ‘secret’)
4. Create bitbucket-pipelines.yml
file in your repository root directory:
That’s it, you can now push your functions and get them updated: