Skip to content

Commit

Permalink
Merge pull request #219 from AkihiroSuda/dev
Browse files Browse the repository at this point in the history
update Fedora to 34
  • Loading branch information
AkihiroSuda authored May 5, 2021
2 parents a67d56b + 2665fed commit 1847405
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 3 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,12 @@ jobs:
working-directory: usernetes
run: |
vagrant up
# <FIXME>
# Enabling cgroup delegation seems to need rebooting since Fedora 34: https://github.com/rootless-containers/rootlesscontaine.rs/issues/32
# We shouldn't need this reboot.
vagrant halt
vagrant up
# </FIXME>
vagrant ssh-config > ~/vagrant-ssh-config
- name: "Smoke test (containerd, w/ systemd-delegated cgroupfs)"
run: ssh -F ~/vagrant-ssh-config default /vagrant/hack/smoketest-binaries.sh --cri=containerd
Expand All @@ -53,6 +59,12 @@ jobs:
run: |
vagrant destroy -f
vagrant up
# <FIXME>
# Enabling cgroup delegation seems to need rebooting since Fedora 34: https://github.com/rootless-containers/rootlesscontaine.rs/issues/32
# We shouldn't need this reboot.
vagrant halt
vagrant up
# </FIXME>
vagrant ssh-config > ~/vagrant-ssh-config
- name: "Smoke test (CRI-O, w/ systemd-delegated cgroupfs)"
run: ssh -F ~/vagrant-ssh-config default /vagrant/hack/smoketest-binaries.sh --cri=crio
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ ARG CFSSL_RELEASE=1.5.0

ARG ALPINE_RELEASE=3.13
ARG GO_RELEASE=1.16
ARG FEDORA_RELEASE=33
ARG FEDORA_RELEASE=34

### Common base images (common-*)
FROM alpine:${ALPINE_RELEASE} AS common-alpine
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ exampleuser:231072:65536
```

### Distribution-specific hint
Recommended host distributions are Ubuntu 20.10 and Fedora 33.
Recommended host distributions are Ubuntu 21.04 and Fedora 34.

#### Debian GNU/Linux
* Add `kernel.unprivileged_userns_clone=1` to `/etc/sysctl.conf` (or `/etc/sysctl.d`) and run `sudo sysctl -p`
Expand Down
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
config.vm.box = "fedora/33-cloud-base"
config.vm.box = "fedora/34-cloud-base"
memory = 4096
cpus = 2
config.vm.provider :virtualbox do |v|
Expand Down

0 comments on commit 1847405

Please sign in to comment.