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

chore(Windows): add OpenSSH updatecli manifest #386

Merged
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
54 changes: 54 additions & 0 deletions updatecli/updatecli.d/openssh.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: Bump `openssh` version on Windows

scms:
default:
kind: github
spec:
user: "{{ .github.user }}"
email: "{{ .github.email }}"
owner: "{{ .github.owner }}"
repository: "{{ .github.repository }}"
token: "{{ requiredEnv .github.token }}"
username: "{{ .github.username }}"
branch: "{{ .github.branch }}"

sources:
lastVersion:
kind: githubrelease
name: Get the latest `openssh` version
spec:
owner: PowerShell
repository: Win32-OpenSSH
token: "{{ requiredEnv .github.token }}"
username: "{{ .github.username }}"

targets:
setGitLfsVersionWindowsNanoserver:
lemeurherve marked this conversation as resolved.
Show resolved Hide resolved
name: Update the `openssh` Windows version for Windows Nanoserver
lemeurherve marked this conversation as resolved.
Show resolved Hide resolved
kind: dockerfile
spec:
file: windows/nanoserver/Dockerfile
instruction:
keyword: ARG
matcher: OPENSSH_VERSION
scmid: default
setGitLfsVersionWindowsServer:
lemeurherve marked this conversation as resolved.
Show resolved Hide resolved
name: Update the `openssh` Windows version for Windows Core Server
lemeurherve marked this conversation as resolved.
Show resolved Hide resolved
kind: dockerfile
spec:
file: windows/windowsservercore/Dockerfile
instruction:
keyword: ARG
matcher: OPENSSH_VERSION
scmid: default

actions:
default:
kind: github/pullrequest
title: Bump `openssh` version on Windows to {{ source "lastVersion" }}
lemeurherve marked this conversation as resolved.
Show resolved Hide resolved
scmid: default
spec:
labels:
- enhancement
- openssh
- windows