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

Adding windows 20H2 builds #118

Merged
merged 1 commit into from
Jan 15, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 45 additions & 1 deletion .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,49 @@ volumes:

---
kind: pipeline
name: windows-20H2

platform:
os: windows
arch: amd64
version: 20H2

# remove this and use upstream images when https://github.com/drone/drone-git/pull/25 is merged
clone:
disable: true

steps:
- name: clone
image: luthermonson/drone-git:windows-20H2-amd64
- name: publish-rke-tools-windows-20H2
image: luthermonson/drone-docker:20H2
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: package/Dockerfile.windows
build_args:
- SERVERCORE_VERSION=20H2
repo: rancher/rke-tools
tag: "${DRONE_TAG}-windows-20H2"
volumes:
- name: docker_pipe
path: \\\\.\\pipe\\docker_engine
when:
instance:
- drone-publish.rancher.io
refs:
- refs/head/master
- refs/tags/*
event:
- tag
volumes:
- name: docker_pipe
host:
path: \\\\.\\pipe\\docker_engine
---
kind: pipeline
name: manifest

steps:
Expand All @@ -284,4 +327,5 @@ depends_on:
- windows-1809
- windows-1903
- windows-1909
- windows-2004
- windows-2004
- windows-20H2
8 changes: 7 additions & 1 deletion manifest.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,10 @@ manifests:
platform:
architecture: amd64
os: windows
version: 2004
version: 2004
-
image: rancher/rke-tools:{{build.tag}}-windows-20H2
platform:
architecture: amd64
os: windows
version: 20H2