From 79425e848e2232186ba4296cbea3031358c10096 Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Tue, 28 Jun 2022 09:29:49 -0400 Subject: [PATCH] Use devel branch for container, doc fixes --- iso/empanadas/Containerfile | 2 +- iso/empanadas/empanadas/scripts/launch_builds.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/iso/empanadas/Containerfile b/iso/empanadas/Containerfile index c3c4ed9..3eb45c2 100644 --- a/iso/empanadas/Containerfile +++ b/iso/empanadas/Containerfile @@ -56,7 +56,7 @@ RUN rm -rf /etc/yum.repos.d/*.repo RUN useradd -o -d /var/peridot -u 1002 peridotbuilder && usermod -a -G mock peridotbuilder RUN chown peridotbuilder:mock /etc/yum.conf && chown -R peridotbuilder:mock /etc/dnf && chown -R peridotbuilder:mock /etc/rpm && chown -R peridotbuilder:mock /etc/yum.repos.d -RUN pip install 'git+https://git.rockylinux.org/release-engineering/public/toolkit.git@feature/iso-kube#egg=empanadas&subdirectory=iso/empanadas' +RUN pip install 'git+https://git.rockylinux.org/release-engineering/public/toolkit.git@devel#egg=empanadas&subdirectory=iso/empanadas' RUN pip install awscli diff --git a/iso/empanadas/empanadas/scripts/launch_builds.py b/iso/empanadas/empanadas/scripts/launch_builds.py index abd01a4..86ae1e8 100755 --- a/iso/empanadas/empanadas/scripts/launch_builds.py +++ b/iso/empanadas/empanadas/scripts/launch_builds.py @@ -8,11 +8,11 @@ from empanadas.common import _rootdir from jinja2 import Environment, FileSystemLoader -parser = argparse.ArgumentParser(description="ISO Compose") +parser = argparse.ArgumentParser(description="Generate Kubernetes Jobs to run lorax in mock and upload the result. Pipe into kubectl for the appropriate cluster") -parser.add_argument('--release', type=str, help="Major Release Version", required=True) -parser.add_argument('--env', type=str, help="environment", required=True) -parser.add_argument('--rc', action='store_true', help="Release Candidate") +parser.add_argument('--release', type=str, help="Major Release Version: (8|9)", required=True) +parser.add_argument('--env', type=str, help="environment: one of (eks|ext|all). presently jobs are scheduled on different kubernetes clusters", required=True) +parser.add_argument('--rc', action='store_true', help="Release Candidate, Beta, RLN") results = parser.parse_args() rlvars = rldict[results.release] major = rlvars['major']