1. 05 Mar, 2019 3 commits
    • 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
      Also add `--force-rm` to the build command to remove intermediate
      containers during build time.
    • 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.
    • 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
      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.