Workflow

Basic workflow with Snake CI from the developer perspective

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

Read more about prerequisites and installation.

Step 1: Setup your pipeline

You need to create the snake-ci.yaml file in your repository and include the list of commands required for accomplising steps of your software life-cycle such as testing, building, and even deploying.

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 running

During the 2nd step, you will get 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.

The pipeline is started already and 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.

Don’t know what to expect to see? Check the screenshots page or check the live demo.

Next steps


Last modified July 27, 2020