Basic workflow with Snake CI from the developer perspective

Make sure you have installed the Snake CI add-on and configured at least one Snake Runner.

Read more about prerequisites and installation.

Step 1: Set up your pipeline

You will need to create the snake-ci.yaml file in your repository and include the list of commands required to test, build, and deploy your software.

Step 2: Push the config into the repository

Add your changes to Git, commit, and push to Bitbucket:

git add snake-ci.yaml
git commit -m "Integrate Snake CI"
git push origin

Step 3: Watch the pipeline run

During the 2nd step, Git will print the direct link to the pipeline created by your latest commit. You can also find this pipeline by navigating to the Pipelines menu in the sidebar of your Bitbucket repository.

By this point, the pipeline has already been started. You will see all the jobs related to the stages described in your configuration file.

Click on a job and watch its logs. If everything is going well, the pipeline will finish with status completed, otherwise, it will be failed.

Need a visual? Check out the screenshots page or see the live demo.

See also

Last modified October 21, 2020