Skip to content

adds tests for tmpfs and updates changelog #440

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

Open
wants to merge 2 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
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,17 @@

IMPROVEMENTS:

* build: Update Nomad verison to 1.10.0 [GH-431](https://github.com/hashicorp/nomad-driver-podman/pull/431)
* build: Update Nomad verison to 1.10.0 [[GH-431](https://github.com/hashicorp/nomad-driver-podman/pull/431)]
* build: Updated to Go 1.24.2 [[GH-430](https://github.com/hashicorp/nomad-driver-podman/pull/430)]
* config: Adds support for oom_score_adj [[GH-425](https://github.com/hashicorp/nomad-driver-podman)]

BUG FIXES:

* fingerprint: check for nil pointers in SystemInfo client response. [[GH-412](https://github.com/hashicorp/nomad-driver-podman/issues/412)]
* fingerprint: Check for nil pointers in SystemInfo client response. [[GH-412](https://github.com/hashicorp/nomad-driver-podman/issues/412)]
* recovery: Fixes driver failing to recover task [[GH-433](https://github.com/hashicorp/nomad-driver-podman/pull/433)]
* runtime: Fixes parsing options when creating a tmpfs mount [[GH-439](https://github.com/hashicorp/nomad-driver-podman/pull/439)]
* logging: Fixes bug where driver did not honor default logging configuration [[GH-411](https://github.com/hashicorp/nomad-driver-podman/pull/411)]
* volumes: Fixes volume deletion when deleting container [[GH-424](https://github.com/hashicorp/nomad-driver-podman/pull/424)]

## 0.6.2 (December 16, 2024)

Expand Down
4 changes: 2 additions & 2 deletions driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1459,7 +1459,7 @@ func TestPodmanDriver_Tmpfs(t *testing.T) {
})
taskCfg.Tmpfs = []string{
"/tmpdata1",
"/tmpdata2",
"/tmpdata2:rshared,noexec",
}

task := &drivers.TaskConfig{
Expand Down Expand Up @@ -1499,7 +1499,7 @@ func TestPodmanDriver_Tmpfs(t *testing.T) {

expectedFilesystem := map[string]string{
"/tmpdata1": "rw,rprivate,nosuid,nodev,tmpcopyup",
"/tmpdata2": "rw,rprivate,nosuid,nodev,tmpcopyup",
"/tmpdata2": "rshared,noexec,rw,nosuid,nodev,tmpcopyup",
}
must.MapEq(t, expectedFilesystem, inspectData.HostConfig.Tmpfs)

Expand Down
Loading