Docker image used to build other docker images
Print list of commit messages between GIT_TAG
and previous non-pre (ie tag without dash) version.
usage:
git-log-diff GIT_TAG
usage:
gitlab-build-docker-image Dockerfile registry-image/ref:tag registry-cache-image/ref:tag
If not specified, will use Gitlab's $CI_REGISTRY_IMAGE
variable for image and $CI_REGISTRY_IMAGE/buildcache
for cache
This script will install private key (via ssh-agent) and optionally write contents of ~/.ssh/known_hosts
file.
usage:
eval $(setup-ssh "BASE64_ENCODED_PRIVATE_KEY" ["CONTENT_OF_KNOWN_HOSTS_FILE"])
- we need to use
eval
to export variables fromssh-agent
to outer shell - script will use following environment variables if arguments are missing:
- SSH_PRIVATE_KEY_BASE64
- SSH_KNOWN_HOSTS
Gitlab's own Release Command Line
The Release CLI is a command-line tool for managing GitLab Releases from the command line or from the GitLab CI/CD configuration file, .gitlab-ci.yml.
see: https://docs.gitlab.com/ee/user/project/releases/#release-command-line