Skip to content

Commit

Permalink
wordpress: no environ property
Browse files Browse the repository at this point in the history
  • Loading branch information
grooverdan committed Apr 23, 2024
1 parent b66ac0c commit 9edfb50
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions master-nonlatent/master.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -600,7 +600,7 @@ f_wordpress.addStep(
"sh",
"-c",
util.Interpolate(
"podman pod exists wptest%(prop:environ)s || podman pod create -n wptest%(prop:environ)s"
"podman pod exists wptest || podman pod create -n wptest"
),
],
)
Expand All @@ -613,9 +613,9 @@ f_wordpress.addStep(
"run",
"-d",
"--pod",
util.Interpolate("wptest%(prop:environ)s"),
util.Interpolate("wptest"),
"--name",
util.Interpolate("mariadb%(prop:environ)s"),
util.Interpolate("mariadb"),
"--env",
"MARIADB_USER=wptest",
"--env",
Expand All @@ -639,7 +639,7 @@ f_wordpress.addStep(
"sh",
"-c",
util.Interpolate(
'until podman healthcheck run mariadb%(prop:environ)s; do sleep 1; echo "not yet"; done; podman logs mariadb%(prop:environ)s'
'until podman healthcheck run mariadb; do sleep 1; echo "not yet"; done; podman logs mariadb'
),
],
maxTime=20,
Expand All @@ -652,7 +652,7 @@ f_wordpress.addStep(
"podman",
"run",
"--pod",
util.Interpolate("wptest%(prop:environ)s"),
util.Interpolate("wptest"),
"--rm",
"quay.io/mariadb-foundation/bb-ecosystem:wordpress_phpunit_test_runner",
],
Expand All @@ -661,7 +661,7 @@ f_wordpress.addStep(
f_wordpress.addStep(
steps.ShellCommand(
name="Stop MariaDB",
command=["podman", "kill", util.Interpolate("mariadb%(prop:environ)s")],
command=["podman", "kill", util.Interpolate("mariadb")],
alwaysRun=True,
)
)
Expand Down

0 comments on commit 9edfb50

Please sign in to comment.