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

add unique backend url into create and destroy instance steps #88

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

odockal
Copy link
Contributor

@odockal odockal commented Jan 9, 2024

fixes #57

Signed-off-by: Ondrej Dockal <odockal@redhat.com>
@odockal
Copy link
Contributor Author

odockal commented Jan 9, 2024

@adrianriobo Not sure if the prefix file:/// is alright or if there is missing also a change for volume mounting and connections details output param, like here:

        podman run -d --name windows-create --rm \
          -v ${PWD}:/workspace:z \
         ...
            --backed-url 'file:///${STORAGE_ID}' \
            --conn-details-output '/workspace' \
         ...

@adrianriobo
Copy link
Contributor

So take into account:

the blob container should exist on azure and then the syntax would start with azblob
(i.e. "--backed-url", "azblob://crc-qenvs-state/test-wd",)

@odockal
Copy link
Contributor Author

odockal commented Jan 9, 2024

So take into account:

the blob container should exist on azure and then the syntax would start with azblob (i.e. "--backed-url", "azblob://crc-qenvs-state/test-wd",)

So I am creating a tmp. dir on the azblob? resulting in something like: "--backed-url", "azblob://crc-qenvs-state/workspaces/$STORAGE_ID" ?

@adrianriobo
Copy link
Contributor

Wow Jan 9 xD, haha 🤦

yeah basically it will create the state there and then you would use the same backed url to destroy

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.

Use cloud backed url
2 participants