Skip to content

Commit

Permalink
Fix for Windows 1809 build; also removal of custom ltsc2022 image
Browse files Browse the repository at this point in the history
  • Loading branch information
snasovich committed Jan 10, 2023
1 parent 70ea547 commit 9a016a8
Showing 1 changed file with 16 additions and 13 deletions.
29 changes: 16 additions & 13 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,11 @@ platform:
arch: amd64
version: 1809

# Currently have to define "depth" as otherwise clone fails at
# https://github.com/drone/drone-git/blob/39d233b3d9eccc68e66508a06a725a2567f33143/windows/clone-tag.ps1#L12
clone:
depth: 20

steps:
- name: build-pr
pull: always
Expand Down Expand Up @@ -915,15 +920,12 @@ platform:
arch: amd64
version: 2022

# remove this and use upstream images when https://github.com/drone/drone-git/pull/25 is merged
# Currently have to define "depth" as otherwise clone fails at
# https://github.com/drone/drone-git/blob/39d233b3d9eccc68e66508a06a725a2567f33143/windows/clone-tag.ps1#L12
clone:
disable: true
depth: 20

steps:
- name: clone
image: rancher/drone-images:git-amd64-ltsc2022
settings:
depth: 20
- name: build-pr
pull: always
image: rancher/dapper:v0.5.8
Expand Down Expand Up @@ -1370,6 +1372,11 @@ platform:
arch: amd64
version: 1809

# Currently have to define "depth" as otherwise clone fails at
# https://github.com/drone/drone-git/blob/39d233b3d9eccc68e66508a06a725a2567f33143/windows/clone-tag.ps1#L12
clone:
depth: 20

steps:
- name: docker-image-digests
image: rancher/drone-docker-image-digests:v0.0.12
Expand Down Expand Up @@ -1415,16 +1422,12 @@ platform:
arch: amd64
version: 2022

# remove this and use upstream images when https://github.com/drone/drone-git/pull/25 is merged
# Currently have to define "depth" as otherwise clone fails at
# https://github.com/drone/drone-git/blob/39d233b3d9eccc68e66508a06a725a2567f33143/windows/clone-tag.ps1#L12
clone:
disable: true
depth: 20

steps:
- name: clone
image: rancher/drone-images:git-amd64-ltsc2022
settings:
depth: 1

- name: docker-image-digests
image: rancher/drone-docker-image-digests:v0.0.12
environment:
Expand Down

0 comments on commit 9a016a8

Please sign in to comment.