Skip to content

Commit

Permalink
podman jobs working now 🙌🏻 🙌
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Feb 25, 2024
1 parent 4b59011 commit 3997a1e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 14 deletions.
12 changes: 7 additions & 5 deletions bin/bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,13 @@ fi


# make it so we can `nomad run` with jobs specifying `podman` driver
mkdir -p /opt/nomad/plugins
cd /opt/nomad/plugins
wget -qO driver.zip https://releases.hashicorp.com/nomad-driver-podman/0.5.2/nomad-driver-podman_0.5.2_linux_amd64.zip
unzip driver.zip
rm driver.zip
(
mkdir -p /opt/nomad/data/plugins
cd /opt/nomad/data/plugins
wget -qO driver.zip https://releases.hashicorp.com/nomad-driver-podman/0.5.2/nomad-driver-podman_0.5.2_linux_amd64.zip
unzip driver.zip
rm driver.zip
)



Expand Down
1 change: 0 additions & 1 deletion etc/hello-world.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@ job "hello-world" {
ports = [ "http" ]

auth {
server_address = "${var.CI_REGISTRY}"
username = "${var.CI_REGISTRY_USER}"
password = "${var.CI_REGISTRY_PASSWORD}"
}
Expand Down
8 changes: 0 additions & 8 deletions etc/nomad.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,6 @@ plugin "docker" {
}
}

plugin "podman" {
config {
volumes {
enabled = true
}
}
}

plugin "nomad-driver-podman" {
config {
volumes {
Expand Down

0 comments on commit 3997a1e

Please sign in to comment.