• Steve Azzopardi's avatar
    Refactor helpers/docker/helperimage package · afa41f0b
    Steve Azzopardi authored
    The helper image is being used for both Kubernetes and Docker executor.
    But the code does not represent this, instead it duplicates the logic,
    such as creating the Linux tag and the name of the image.
    
    Refactor the helperimage package so that it can be used for both, by
    removing specific structs from the docker API, by defining helperimage
    own Config struct.
    
    The need for the refactor is for
    !1243, because
    we need to define different commands to run on the helper image, which
    is located in `common/container.go` which needs to change depending on
    the OS Type of docker, and we can't change it before we change how
    Kubernetes uses the helper image.
    afa41f0b
Name
Last commit
Last update
.gitlab Loading commit data...
apps/gitlab-runner-helper Loading commit data...
cache Loading commit data...
ci Loading commit data...
commands Loading commit data...
common Loading commit data...
dockerfiles Loading commit data...
docs Loading commit data...
executors Loading commit data...
helpers Loading commit data...
log Loading commit data...
network Loading commit data...
packaging Loading commit data...
scripts Loading commit data...
session Loading commit data...
shells Loading commit data...
tests Loading commit data...
vendor Loading commit data...
.codeclimate.yml Loading commit data...
.dockerignore Loading commit data...
.env Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
CHANGELOG.md Loading commit data...
CONTRIBUTING.md Loading commit data...
Dockerfile Loading commit data...
Gopkg.lock Loading commit data...
Gopkg.toml Loading commit data...
LICENSE Loading commit data...
Makefile Loading commit data...
Makefile.runner_helper.mk Loading commit data...
NOTICE Loading commit data...
Procfile Loading commit data...
README.md Loading commit data...
VERSION Loading commit data...
Vagrantfile Loading commit data...
config.toml.example Loading commit data...
install.sh Loading commit data...
main.go Loading commit data...