Skip to content
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

feat: Added PodmanRunner to the codebase #903

Merged
merged 10 commits into from
Aug 7, 2020
Merged

Conversation

edeediong
Copy link
Contributor

No description provided.

@edeediong
Copy link
Contributor Author

@ivotron can you please review this?

Copy link
Collaborator

@ivotron ivotron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks Eddie, looking great!

src/test/test_runner_host.py Outdated Show resolved Hide resolved
src/popper/runner_host.py Outdated Show resolved Hide resolved
@edeediong edeediong requested a review from ivotron August 3, 2020 13:27
@edeediong
Copy link
Contributor Author

@ivotron I've commented out the test

Copy link
Collaborator

@ivotron ivotron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks @edeediong! Couple of things to hammer out and this'll be done!

src/popper/runner_host.py Show resolved Hide resolved
src/popper/runner_host.py Outdated Show resolved Hide resolved
src/popper/runner_host.py Outdated Show resolved Hide resolved
src/popper/runner_host.py Outdated Show resolved Hide resolved
src/popper/runner_host.py Outdated Show resolved Hide resolved
src/popper/runner_host.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@ivotron ivotron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

last couple of tweaks!

if not self._config.dry_run:
pass
elif not self._config.skip_pull and not step.skip_pull:
log.info(f"[{step.id}] podman build {img}:{tag}")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be podman pull

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh that's true since I'm doing a podman pull below, thanks

if build:
log.info(f"[{step.id}] podman build {img}:{tag} {build_ctx_path}")
if not self._config.dry_run:
pass
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a podman build should be executed here instead of pass.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the above also means that we are missing a test that ensures that a Dockerfile from a public github repository is properly build as part of the execution of a workflow. Maybe we can add this to the issue we mentioned earlier, the one regarding missing tests

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I just looked at DockerRunner, I meant to put a TODO: instead of a pass. I've opened the issue and I'm gonna push changes to this effect.

@edeediong edeediong requested a review from ivotron August 6, 2020 17:59
@ivotron ivotron merged commit 05399fd into getpopper:master Aug 7, 2020
@edeediong edeediong deleted the podman branch August 7, 2020 19:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants