Skip to content

Dockerfile: use bats-core#2336

Merged
AkihiroSuda merged 1 commit intoopencontainers:masterfrom
kolyshkin:bats-core-2
Apr 24, 2020
Merged

Dockerfile: use bats-core#2336
AkihiroSuda merged 1 commit intoopencontainers:masterfrom
kolyshkin:bats-core-2

Conversation

@kolyshkin
Copy link
Copy Markdown
Contributor

this is a replacement for #2307, see some initial discussion in there

The bats testing framework we use for integration test is not maintained
since 2015 and was superceded by bats-core [1]. More to say, we were
using an unreleased version and relying on some features of it
(unfortunately I don't remember now what are those features exactly).

As Debian still packages very old version of bats from the old repo,
so let's Use recent bats-core from the new, supposedly better maintained,
github repo.

[1] sstephenson/bats#269

@kolyshkin
Copy link
Copy Markdown
Contributor Author

kolyshkin commented Apr 21, 2020

CI failure is unrelated (it's a flaky C/R test which is actually fixed by #2332)

@kolyshkin
Copy link
Copy Markdown
Contributor Author

rebased to re-kick ci

Copy link
Copy Markdown
Member

@thaJeztah thaJeztah left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@kolyshkin
Copy link
Copy Markdown
Contributor Author

OK, CI failures caused by github being (partially) down. Restarted.

@kolyshkin
Copy link
Copy Markdown
Contributor Author

OK we're again hitting a test case bug fixed by #2332 :(

The bats testing framework we use for integration test is not maintained
since 2015 and was superceded by bats-core [1]. More to say, we were
using an unreleased version and relying on some features of it
(unfortunately I don't remember now what are those features exactly).

As Debian still packages very old version of bats from the old repo,
so let's Use recent bats-core from the new, supposedly better maintained,
github repo.

[1] sstephenson/bats#269

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
@kolyshkin
Copy link
Copy Markdown
Contributor Author

rebased to fix ci

@thaJeztah
Copy link
Copy Markdown
Member

@cyphar @AkihiroSuda ptal

@AkihiroSuda
Copy link
Copy Markdown
Member

AkihiroSuda commented Apr 23, 2020

LGTM

Approved with PullApprove

@mrunalp
Copy link
Copy Markdown
Contributor

mrunalp commented Apr 24, 2020

LGTM

Approved with PullApprove

@AkihiroSuda AkihiroSuda merged commit 5b4bff9 into opencontainers:master Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants