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

Remove windows support 1.22 #275

Merged
merged 1 commit into from
Jul 20, 2022
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
136 changes: 0 additions & 136 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,140 +88,6 @@ volumes:
path: /var/run/docker.sock
---
kind: pipeline
name: windows-1809-pr

platform:
os: windows
arch: amd64
version: 1809

steps:
- name: hyperkube-windows-1809-pr
image: rancher/dapper:v0.5.7
commands:
- "docker build -f Dockerfile.windows --build-arg SERVERCORE_VERSION=1809 ."
volumes:
- name: docker_pipe
path: \\\\.\\pipe\\docker_engine
when:
event:
- pull_request

volumes:
- name: docker_pipe
host:
path: \\\\.\\pipe\\docker_engine

---
kind: pipeline
name: windows-1809

platform:
os: windows
arch: amd64
version: 1809

steps:
- name: publish-hyperkube-windows-1809
image: plugins/docker
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: Dockerfile.windows
repo: rancher/hyperkube
tag: "${DRONE_TAG}-windows-1809"
build_args:
- SERVERCORE_VERSION=1809
volumes:
- name: docker_pipe
path: \\\\.\\pipe\\docker_engine
when:
instance:
- drone-publish.rancher.io
event:
- tag

volumes:
- name: docker_pipe
host:
path: \\\\.\\pipe\\docker_engine
---
kind: pipeline
name: windows-20H2-pr

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: rancher/drone-images:git-20H2
- name: hyperkube-windows-20H2-pr
image: rancher/dapper:v0.5.7
commands:
- "docker build -f Dockerfile.windows.20H2 --build-arg SERVERCORE_VERSION=20H2 ."
volumes:
- name: docker_pipe
path: \\\\.\\pipe\\docker_engine
when:
event:
- pull_request

volumes:
- name: docker_pipe
host:
path: \\\\.\\pipe\\docker_engine

---
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: rancher/drone-images:git-20H2
- name: publish-hyperkube-windows-20H2
image: rancher/drone-images:docker-20H2
settings:
username:
from_secret: docker_username
password:
from_secret: docker_password
dockerfile: Dockerfile.windows.20H2
repo: rancher/hyperkube
tag: "${DRONE_TAG}-windows-20H2"
build_args:
- SERVERCORE_VERSION=20H2
volumes:
- name: docker_pipe
path: \\\\.\\pipe\\docker_engine
when:
instance:
- drone-publish.rancher.io
event:
- tag

volumes:
- name: docker_pipe
host:
path: \\\\.\\pipe\\docker_engine
---
kind: pipeline
name: manifest

steps:
Expand All @@ -241,5 +107,3 @@ steps:
depends_on:
- linux-amd64
- linux-arm64
- windows-1809
- windows-20H2
67 changes: 0 additions & 67 deletions Dockerfile.windows

This file was deleted.

71 changes: 0 additions & 71 deletions Dockerfile.windows.20H2

This file was deleted.

12 changes: 0 additions & 12 deletions manifest.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,3 @@ manifests:
platform:
architecture: arm64
os: linux
-
image: rancher/hyperkube:{{build.tag}}-windows-1809
platform:
architecture: amd64
os: windows
version: 1809
-
image: rancher/hyperkube:{{build.tag}}-windows-20H2
platform:
architecture: amd64
os: windows
version: 20H2
Loading