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

Test VM Image build #1363

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

lachmanfrantisek
Copy link
Member

No description provided.

lbarcziova and others added 2 commits March 3, 2023 11:46
This test case is triggered automatically by our validation script.

```yaml
- job: copr_build
  trigger: pull_request
  targets:
  - fedora-all
```
@lachmanfrantisek
Copy link
Member Author

/packit vm-image-build

4 similar comments
@lachmanfrantisek
Copy link
Member Author

/packit vm-image-build

@lachmanfrantisek
Copy link
Member Author

/packit vm-image-build

@lachmanfrantisek
Copy link
Member Author

/packit vm-image-build

@lachmanfrantisek
Copy link
Member Author

/packit vm-image-build

Signed-off-by: Tomas Tomecek <[email protected]>
@TomasTomecek
Copy link
Member

/packit vm-image-build

hello is a GNU package

Signed-off-by: Tomas Tomecek <[email protected]>
@TomasTomecek
Copy link
Member

TomasTomecek commented Apr 17, 2023

Your image was launched as an AWS EC2 instance.

Please use your GitHub SSH key to connect:

$ ssh -i ~/.ssh/my.github.key [email protected]

@mfocko
Copy link
Member

mfocko commented May 2, 2023

/packit vm-image-build

1 similar comment
@lachmanfrantisek
Copy link
Member Author

/packit vm-image-build

@lachmanfrantisek
Copy link
Member Author

@majamassarini
Copy link
Member

/packit vm-image-build

@lachmanfrantisek
Copy link
Member Author

/packit build

Signed-off-by: Frantisek Lachman <[email protected]>
@lachmanfrantisek
Copy link
Member Author

/packit vm-image-build

1 similar comment
@thrix
Copy link
Collaborator

thrix commented Aug 31, 2023

/packit vm-image-build

@thrix
Copy link
Collaborator

thrix commented Aug 31, 2023

/packit build

@thrix
Copy link
Collaborator

thrix commented Aug 31, 2023

/packit vm-image-build

2 similar comments
@nforro
Copy link
Member

nforro commented Sep 1, 2023

/packit vm-image-build

@lachmanfrantisek
Copy link
Member Author

/packit vm-image-build

@lachmanfrantisek
Copy link
Member Author

Here's the info to share the image with TF if someone needs this:

  1. Build the image via comment
  2. Cloned the image to us-east-2 and shared it with the TF account
from packit.vm_image_build import ImageBuilder
ib = ImageBuilder("the token from https://access.redhat.com/management/api (login as Packit with BW credentials.)")

# The image ID used in the following command
# is the UUID visible on the https://console.redhat.com/preview/insights/image-builder
#  (Login as Packit with BW credentials.)
clone_id = ib.clone("40a9fdbd-0981-4d7f-8382-d989fb4d2b00", region="us-east-2", share_with_accounts=["727920394381", "125523088429", "564542550944"])["id"]

# This will return the state of the clone
# (Can also be checked on the https://console.redhat.com/preview/insights/image-builder)
ib.get_clone(clone_id)

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.

7 participants