Skip to content

install bats directly into the VM images #139

@Luap99

Description

@Luap99
VERSION=v1.1.0 ./hack/install_bats.sh
Cloning into '/tmp/tmp.WsaMSX61iB'...
fatal: unable to access 'https://github.com/bats-core/bats-core/': Failed to connect to github.com port 443: Connection timed out
make: *** [Makefile:842: .install.bats] Error 128

From one of my PRs: https://cirrus-ci.com/task/4733813895987200

To prevent flakes bats should be in the VM images and not installed at runtime.

bats should available in both fedora and debian repos,
on fedora v1.7.0 is available and on ubuntu (21.10/22.04) v1.2.1 https://packages.ubuntu.com/search?keywords=bats

Given that the CI script installs v1.1.0 for our testing using the packaged version should just work?

@edsantiago @cevich PTAL

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions