-
-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix docker support and update github actions
* Ensure that docker is fully functional with the new changes * Determined that docker, unlike podman, only assigns the host IP after the instance has been created * Updated the GitHub Actions to test both podman and docker * Used a simple acceptance test for validation since the upstream beaker tests are wired for Vagrant * Fail if the container is in an inaccessible state instead of trying to SSH forever
- Loading branch information
1 parent
958080b
commit 50912bf
Showing
7 changed files
with
151 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
group :acceptance_testing do | ||
# Needed for podman testing | ||
gem "docker-api", :git => 'https://github.com/trevor-vaughan/docker-api', :branch => 'podman-compat' | ||
gem "beaker-rspec" | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
require 'beaker' | ||
require 'beaker-rspec' | ||
|
||
RSpec.describe 'it can connect' do | ||
hosts.each do |host| | ||
context "on #{host}" do | ||
on(host, 'ls /tmp') | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters