Skip to content

Conversation

@mackenziedott
Copy link
Contributor

Add in the ability to control build tool for CICD purposes as well as output format (some tools only allow docker specific images) via the config file.

if not is_command_available(f"sudo {BuildTool.podman.value}"):
raise Exception("Podman installation is required to run dagster-uc.")
else:
raise Warning("Sudo is required to run podman")
Copy link
Member

Choose a reason for hiding this comment

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

This is not true, you can run podman fine without sudo

Copy link
Contributor Author

@mackenziedott mackenziedott Oct 15, 2025

Choose a reason for hiding this comment

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

Apparently not in Azure Pipelines! Either that or I have to do some funkier stuff to make it work. Running podman info fails right after installation, but sudo podman info works fine.

@ion-elgreco
Copy link
Member

A while I removed docker support to simplify the maintenance of the project. Additionally the way it's currently reintroduce will causes issues because fetching tags from the repository is only done using podman at the moment.

@mackenziedott
Copy link
Contributor Author

A while I removed docker support to simplify the maintenance of the project. Additionally the way it's currently reintroduce will causes issues because fetching tags from the repository is only done using podman at the moment.

Understood. i have removed that from the PR, I left in the build format as that may be useful later on.

Comment on lines 194 to 195
if build_tool == BuildTool.podman.value and build_format == "docker":
cmd = [
Copy link
Member

@ion-elgreco ion-elgreco Oct 16, 2025

Choose a reason for hiding this comment

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

you can simplify this by making just doing:

if build_tool == BuildTool.podman.value and build_format == "docker":
    cmd += ["--format", "docker"]

typer.echo(f"Logging into acr with {BuildTool.podman.value}...")
token = get_azure_access_token(image_registry)
cmd = [
BuildTool.podman.value,
Copy link

Choose a reason for hiding this comment

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

I would keep BuildTool.podman.value

os.chdir(repository_root)

cmd = [
BuildTool.podman.value,
Copy link

Choose a reason for hiding this comment

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

I would keep BuildTool.podman.value

@ion-elgreco ion-elgreco merged commit 32e8f47 into ASML-Labs:main Oct 20, 2025
7 checks passed
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.

3 participants