Snake Runner Release Notes

List of technical changes related to a heart component of Snake CI — Snake Runner.

If you are looking for the upgrade instructions, see the following page: Upgrading Snake Runner.

1.0.1

  • Bugfix for the incorrectly mounted repository directory in job containers. Bug leads to the behavior when repository is mounted to /pipeline/git/<project-key>/<repo-slug>/<project-key>/<repo-slug>/ instead of /pipeline/git/<project-key>/<repo-slug>/.

1.0.0

0.8.6

  • The runner was unable to process pipeline commands in scenarios where image with a specific entrypoint was used. One of such images was maven:3.6-jdk-11-slim.

0.8.5

  • Runner now expands environment variables in the variables: section.

    variables:
      DOCKER_REGISTRY: myregistry.local/$CI_PROJECT_KEY/$CI_REPO_SLUG
    

    The CI_PROJECT_KEY and CI_REPO_SLUG environment variables will be expanded upon the DOCKER_REGISTRY evaluation.

0.8.4

0.8.1

0.8.0

  • Support CI_FROM_COMMIT_HASH and CI_FROM_COMMIT_SHORT_HASH variables.
  • Support CI_PULL_REQUEST_* and CI_REF_* variables.

0.6.1

  • Support DOCKER_* environment variables such as DOCKER_HOST.

0.6.0

0.5.0

Improvements:

  • Now runner receives and recognizes a termination signal while being removed in Bitbucket’s admin panel. It leads to graceful shutdown of all running pipelines and stopping the process.

Bugfixes:

  • Fix deadlock in shutdown process: runner was not able to gracefully shutdown in some cases.

0.4.0

Features:

  • The SSH agent integration added. The agent is started once per pipeline and is available in each job container. It is automatically prepopulated with a unique access key to the repositories.

Bugfixes:

  • Fix task cancellation.

0.3.0

Features:

  • New configuration parameter volumes in docker section. The parameter specifies a list of Docker volumes that will be passed to job containers.

    Use case — passing Docker socket for building Docker images during job execution, for example:

    docker:
        volumes:
            - /var/run/docker.sock:/var/run/docker.sock
    

    Read more about this feature: Using Docker in CI.

  • Expand environment variables in image section, now image can contain environment variables that will be expanded through pipeline execution.

    Example: image: $CI_REPO_SLUG will be expanded into image: <value-of-CI-REPO_SLUG>

0.2.4

Improvements:

  • Improve error message regarding incorrect registration token.

Bugfixes:

  • Do not require global image property.

0.2.0

Improvements:

  • Run jobs in parallel mode for each stage.

Bugfixes:

  • Do not send duplicated status update requests.

0.1.36

Public version.

0.1.X

Initial versions.

Last modified October 21, 2020