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

Add Docker Windows Containers #285

Open
dduportal opened this issue Jul 20, 2022 · 0 comments
Open

Add Docker Windows Containers #285

dduportal opened this issue Jul 20, 2022 · 0 comments
Labels
enhancement New feature or request windows

Comments

@dduportal
Copy link
Contributor

dduportal commented Jul 20, 2022

Requires #282 , same as #282 but for Windows 2019 (and eventualy Windows 2022)

  • Add a Packer source docker on the Windows agent HCL
  • Update the pipeline to:
    • Runs the "Windows + Docker" cells of the matrix in Windows VM with Docker (and the correct version of Windows: 2019 for 2019 containers, and 2022 for 2022 containers)
    • // No build on Windows or Docker, not yet implemented
      exclude {
      axis {
      name 'agent_type'
      values 'windows-2019'
      }
      axis {
      name 'compute_type'
      values 'docker'
      }
      }
      exclude {
      axis {
      name 'agent_type'
      values 'windows-2022'
      }
      axis {
      name 'compute_type'
      values 'docker'
      }
      }
      }
      agent {
      label "linux-${env.cpu_architecture}-docker"
      }
    • Remove the matrix exclusions
    • Update pipeline steps to use bat instead of sh when run on Windows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request windows
Projects
None yet
Development

No branches or pull requests

2 participants