Skip to content

Commit

Permalink
spacewalk-java: Enable test makefile to work with podman
Browse files Browse the repository at this point in the history
  • Loading branch information
SchoolGuy committed May 31, 2023
1 parent 87b179a commit c6b8bb7
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions java/Makefile.docker
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#

# Docker tests variables
EXECUTOR = docker
DOCKER_CONTAINER_BASE = systemsmanagement/uyuni/master/docker/containers/uyuni-master
DOCKER_REGISTRY = registry.opensuse.org
DOCKER_VOLUMES = -v "$(CURDIR)/../:/manager"
Expand All @@ -14,8 +15,8 @@ DOCKER_ENV =
all :: dockerrun_pg

dockerpull ::
docker pull $(DOCKER_REGISTRY)/$(DOCKER_CONTAINER_BASE)-pgsql-4eclipse
$(EXECUTOR) pull $(DOCKER_REGISTRY)/$(DOCKER_CONTAINER_BASE)-pgsql-4eclipse

dockerrun_pg ::
cp buildconf/test/rhn.conf.postgresql-example buildconf/test/rhn.conf
docker run $(DOCKER_COMMON_OPTS) $(DOCKER_PG_PORTS) $(DOCKER_VOLUMES) $(DOCKER_ENV) $(DOCKER_REGISTRY)/$(DOCKER_CONTAINER_BASE)-pgsql-4eclipse
$(EXECUTOR) run $(DOCKER_COMMON_OPTS) $(DOCKER_PG_PORTS) $(DOCKER_VOLUMES) $(DOCKER_ENV) $(DOCKER_REGISTRY)/$(DOCKER_CONTAINER_BASE)-pgsql-4eclipse

0 comments on commit c6b8bb7

Please sign in to comment.