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

Add footloose #18

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build:
runs-on: ubuntu-latest
container: ubuntu:jammy-20220404
container: ubuntu:jammy-20220421
steps:
- uses: actions/checkout@v2
- name: Install dependencies
Expand All @@ -22,6 +22,7 @@ jobs:
- run: containerd --version
- run: crio --version
- run: crun --version
- run: footloose version
- run: podman --version
- run: rootlesskit --version
- run: runc --version
Expand Down
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Vagrant.configure(2) do |config|
config.vm.box = "generic/ubuntu2110"
config.vm.box = "fwilhe/ubuntu-2204"

config.vm.synced_folder ".", "/vagrant", disabled: false

Expand Down
3 changes: 2 additions & 1 deletion git-repos.txt
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
https://github.com/fwilhe-containers/bubblewrap
https://github.com/fwilhe-containers/cni
https://github.com/fwilhe-containers/conmon
https://github.com/fwilhe-containers/containerd
https://github.com/fwilhe-containers/container-image
https://github.com/fwilhe-containers/containerd
https://github.com/fwilhe-containers/cri-o
https://github.com/fwilhe-containers/crun
https://github.com/fwilhe-containers/footloose
https://github.com/fwilhe-containers/gvisor
https://github.com/fwilhe-containers/plugins
https://github.com/fwilhe-containers/podman
Expand Down
13 changes: 12 additions & 1 deletion playbook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

- name: Add source repository into sources list
ansible.builtin.apt_repository:
repo: deb-src https://mirrors.kernel.org/ubuntu/ impish main restricted
repo: deb-src https://mirrors.kernel.org/ubuntu/ jammy main restricted
state: present
become: true

Expand Down Expand Up @@ -168,6 +168,17 @@
chdir: "{{ home }}/code/fwilhe-containers/runc"
target: install

- name: Build footloose
community.general.make:
chdir: "{{ home }}/code/fwilhe-containers/footloose"
target: footloose

- name: Install footloose
become: true
community.general.make:
chdir: "{{ home }}/code/fwilhe-containers/footloose"
target: install

- name: configue crun
ansible.builtin.shell: ./autogen.sh && ./configure
args:
Expand Down
3 changes: 2 additions & 1 deletion vm-resources/test-scripts/test_tools_installed.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

def run_command(command):
print(command)
output = subprocess.run(command, capture_output=True)
output = subprocess.run(command, capture_output=True, check=True)
stdout = output.stdout.decode("utf-8").rstrip()
stderr = output.stderr.decode("utf-8").rstrip()
return (stdout, stderr)
Expand All @@ -16,6 +16,7 @@ def run_command(command):
('crio --version', 0),
('crun --version', 0),
('podman --version', 0),
('footloose version', 0),
('podman info', 0),
('rootlesskit --version', 0),
('runc --version', 0),
Expand Down