1. 07 Mar, 2019 4 commits
  2. 06 Mar, 2019 15 commits
  3. 05 Mar, 2019 11 commits
    • Steve Azzopardi's avatar
      Update TestCacheInit to dir instead of file · 837d5c00
      Steve Azzopardi authored
      Windows doesn't seem to support `+x` for files, ending up with
      permissions looking like `-rw-rw-rw-` which is not `0777`, which leads
      in the test to fail.
      
      The main idea of the `cache-init` is to change permissions for
      directories not files so we should update the test to reflect that.
      837d5c00
    • Steve Azzopardi's avatar
      Add cleanup after building windows images · 9fb7cbda
      Steve Azzopardi authored
      To build these images we are using shell runner on 1 vm per windows
      version. Windows images take quite a lot of space, and disk space will
      be filled up quite quickly. After the building of the image is done, we
      should delete that image again, since it is uploaded to docker hub
      afterwords.
      
      Also add `--force-rm` to the build command to remove intermediate
      containers during build time.
      9fb7cbda
    • Steve Azzopardi's avatar
      Allow TLS1.2 for windows 1803 docker image · 2589b1cb
      Steve Azzopardi authored
      TLS1.2 is not enabled by default on windows 1803 and downloading from
      GitHub fails with the following error `Invoke-Webrequest : The request
      was aborted: Could not create SSL/TLS secure channel.`
      
      Combine the `Invoke-Webrequest` and the setting for TLS1.2 into one
      layer or otherwise it would not work, since they would be in different
      layers.
      
      1809 does not need it, but for consistency sake we make sure it's
      enabled there as well.
      2589b1cb
    • Steve Azzopardi's avatar
      Add CI for building/publishing windows images · a9802980
      Steve Azzopardi authored
      Create CI jobs to only build windows helper images when on branches that
      are not master or branches related to docs for both Windows server 1809
      and 1803
      
      Create CI job to publish windows helper images when on master branch for
      both Windows server 1809 and 1803.
      a9802980
    • Steve Azzopardi's avatar
      Update script to push latest tag for helper image · 6f07e0f2
      Steve Azzopardi authored
      Use same the environment variable `IS_LATEST` that is used for the bash
      script to check when to create and push the latest tag.
      6f07e0f2
    • Steve Azzopardi's avatar
      Add script for building/releasing windows image · b131149e
      Steve Azzopardi authored
      The decision for using PowerShell for windows is because we cannot
      build/save/export windows containers to a non-Windows image so we to use
      a scripting language native to windows. Bash can be used but it would be
      in a subsystem which is not ideal. This script will be used inside of
      GitLab CI in a future MR when the infrastructure has set up
      gitlab-com/gl-infra/infrastructure#5952.
      
      This PowerShell script is doing a few things different than
      `release_docker_images` for the helper images. In the bash script we
      expect the helper images are already built and exported using `docker
      export` but for windows containers when you run the command you get `the
      daemon on this operating system does not support exporting Windows
      containers`. This script will build the docker container and then push
      it to the docker registry hub.
      b131149e
    • Alessio Caiazza's avatar
      Merge branch '3755-gitlab-runner-helper-image-feature-flag' into 'master' · 56efef02
      Alessio Caiazza authored
      Deprecate helper image commands
      
      See merge request gitlab-org/gitlab-runner!1218
      56efef02
    • Steve Azzopardi's avatar
      Show warning to user when specifying helper image · 09cc6ffb
      Steve Azzopardi authored
      If the user has a helper image specified in the config, and the feature
      flag is not on, show a warning to the user to inform him that the
      commands will change.
      09cc6ffb
    • Steve Azzopardi's avatar
      Add feature flag to use old API for helper · 42616e40
      Steve Azzopardi authored
      With gitlab-org/gitlab-runner!1195 &
      gitlab-org/gitlab-runner!1201 the bash
      scripts were moved to Go so that they can be used for windows
      containers.
      
      It's safe to use these commands on new helper images, which is
      automatically downloaded when the user does not specify a `helper_image`
      in the config file. If the user has specified a helper image which does
      not use the new API will be considered as a breaking change.
      
      If the `helper_image` is specified and the newly introduced feature flag
      `FF_DOCKER_HELPER_IMAGE_V2` is not set, use the old command when
      starting the container.
      42616e40
    • Steve Azzopardi's avatar
      Merge branch 'sntp' into 'master' · 62745eed
      Steve Azzopardi authored
      Check either ntpdate command exists or not before trying to execute it
      
      Closes #3666
      
      See merge request !1189
      62745eed
    • Alexander Kutelev's avatar
  4. 04 Mar, 2019 9 commits
  5. 01 Mar, 2019 1 commit