Commit Graph
9 Commits
Author SHA1 Message Date
dependabot[bot] 5fb6c8cf84 Bump actions/checkout from 2 to 3 (#640)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-07 09:22:23 -05:00
Jason Hall a41529ebf4 Fix Windows e2e test (#599)
Use nanoserver:ltsc2022 and correct osversion
2022-02-16 14:48:14 -05:00
Jason Hall 5f733f9ac6 Support partial platform matching for osversion only (#572)
* Support partial platform matching for osversion only

* Add doc comment

* lint fixes

* pick up Platform.String and v1.ParsePlatform

* go mod tidy && go mod vendor
2022-01-27 17:06:35 -05:00
Jason Hall 33fa766168 Support osversion when selecting base images (#536)
* Support osversion when selecting base images

Use this in e2e tests.

Also clean up usage of bo.Platform vs a new platform var.

* use correct osversion
2021-12-15 16:08:27 -05:00
Matt Moore 22c9a5229b Add coverage of --platform=a,b (#547) 2021-12-14 15:24:07 -08:00
Jason Hall 96bedf16df Add .ko.yaml to base ko container image on golang:1.17 (#533)
* Add .ko.yaml to base ko container image on golang:1.17

Ignore this in e2e tests, since even though golang:1.17 provides a
Windows base image, ko's base image platform selection doesn't take
osversion into account. The e2e tests don't exercise golang usage at
all, so it shouldn't matter.

* Update README
2021-12-14 12:56:21 -05:00
Jason Hall 9821190605 Add e2e test for using ldflags to set a build-time variable (#480) 2021-11-02 17:36:05 -04:00
Jason Hall 5a8663b58d [ci] upgrade to Go 1.17 everywhere, clean up configs (#445)
* [ci] upgrade to go 1.17 everywhere

* remove unnecessary step names and shell:bash

gofmt with Go v1.17

* add boilerplate to hack/tools.go
2021-09-22 23:19:13 -04:00
Jason Hall 690533235a Build working Windows container images (#374)
* Build working Windows container images

Add e2e tests that run on Windows and cover kodata behavior

* now successfully skipping symlinks on windows :-/

* fix e2e test on windows, that relied on a symlink in kodata after all

* document windows symlink issue

* review feedback

* re-add kodata symlink tests for linux
2021-07-27 16:19:21 -04:00