Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds image automated build #189

Merged

Commits on Jun 2, 2020

  1. Adds image automated build

    In order for the secret store CSI image to be automatically built and published
    to the staging registry (from which it will be promoted), the cloudbuild.yaml
    file has been added.
    
    The file was added in conformance with [1].
    
    Adds the docker folder, which contains several items:
    - cloudbuild.yaml
    - BASEIMAGE: the base image to use when building an image for a certain os/arch
      (or os/arch/version for Windows).
    - BASEIMAGE_CORE: for Windows images, from which image to copy necessary files (DLLs).
    - Makefile
    - build.sh: script that can build, push, and create the manifest list.
    - Dockerfile: needed to build the Linux docker image. Can now accept the a
      BASEIMAGE arg, which can be useful when building multi-arch images.
    - windows.Dockerfile: needed to build the Windows docker image. Can now accept
      BASEIMAGE and BASEIMAGE_CORE args, which can be useful when building images for multiple
      Windows versions.
    
    The image building process will be triggered when changes to the files in the docker changes
    are made (for example, you bump the image version, so a new image is built).
    
    Adds support for multiple Windows versions.
    
    The image will be created with the name gcr.io/k8s-staging-csi-secrets-store/driver:VERSION.
    
    Bumps the driver's image version.
    
    [1] https://github.com/kubernetes/test-infra/blob/master/config/jobs/image-pushing/README.md
    claudiubelu committed Jun 2, 2020
    Configuration menu
    Copy the full SHA
    a2c63e0 View commit details
    Browse the repository at this point in the history