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

Dockerfile: use bats-core #2336

Merged
merged 1 commit into from
Apr 24, 2020
Merged

Conversation

kolyshkin
Copy link
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
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
Contributor Author

rebased to re-kick ci

Copy link
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
Contributor Author

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

@kolyshkin
Copy link
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 <[email protected]>
@kolyshkin
Copy link
Contributor Author

rebased to fix ci

@thaJeztah
Copy link
Member

@cyphar @AkihiroSuda ptal

@AkihiroSuda
Copy link
Member

AkihiroSuda commented Apr 23, 2020

LGTM

Approved with PullApprove

@mrunalp
Copy link
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