I use gitlab.com with my own runners (they are executed on my server).
When a script entry in .gitlab-ci.yml is executed in a shell context,
script
.gitlab-ci.yml