Skip to content

appveyor: replace choco with pinned/hashed direct download for docker - #1894

Closed
vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:dropchoco2
Closed

vszakats wants to merge 1 commit into
libssh2:masterfrom
vszakats:dropchoco2

Conversation

@vszakats

@vszakats vszakats commented Apr 26, 2026 •

Copy link
Copy Markdown
Member

To avoid chocolatey as a dependency, to add hash verification, and to
control version bumps. The latter is also the slight downside, it needs
to be bumped manually.

Note: With tests disabled docker-cli isn't actually used in CI at the
moment.

Cherry-picked from #1892

@vszakats vszakats changed the title appveyor: replace choco with pinned/hashed direct download for docker-cli appveyor: replace choco with pinned/hashed direct download for docker Apr 26, 2026
@vszakats vszakats closed this in c71ff14 Apr 26, 2026
@vszakats
vszakats deleted the dropchoco2 branch April 26, 2026 08:33
vszakats added a commit that referenced this pull request Apr 26, 2026
- wait for sshd before the build, to ease testing.
- restore the RSA 2048 hostkey generator line, commented, to ease tests.
- keep per-job `SKIP_CTEST` settings, commented, to ease tests.
- drop automatism to disable tests for ARM64, for simplicity.

Note: This has been tested with tests enabled, but they remain
a hit-or-miss (mostly a miss) due to failed sshd connection, and this
patch does not re-enable them.

FTR:
- a CI run when tests worked without issues (2023-12-04):
  https://ci.appveyor.com/project/libssh2org/libssh2/builds/48673013/job/79lywpm3pfvq7hn5
- a fresh CI run when the first job successfully waited for sshd:
  https://ci.appveyor.com/project/libssh2org/libssh2/builds/53941135/job/yu9jf5hvp3grse0g

Ref: #1856 #1857
Follow-up to c71ff14 #1894
Follow-up to c321b32 #1768
Follow-up to b5e68bd #1461
Follow-up to f36edf9 #997

Closes #1892
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant