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 recording how to run openQA test in 5 minutes #5611
Conversation
Great PR! Please pay attention to the following items before merging: Files matching
This is an automatically generated QA checklist based on modified files. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Neat
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adding 5.5 MiB of binary data to our repo's master branch is maybe not so nice. It would be nice if we could offload the binary to the gh-pages branch (which has a completely separate chain of commits).
(I'm only requesting changes here so we have at least some time to discuss this. If you all think having 5.5 MiB on the master branch is ok then just dismiss my review. Otherwise the change looks good to merge.)
Yes, that is actually a very good point. Having a (rather large) gif file is more portable, but it makes the repo and also the page (which then loads a little bit slower). I was also thinking about using the As we might be adding more of this later, we might want to have the optimal way to handle it. Do we have any convenient way how to use the gh-pages branch? I mean I can easily push the recording there but it would be then a little bit awkward to keep track if the version there is "in-sync" with the source in the main branch. |
Add Dockerfile and a short Makefile to allow generating GIFs out of autocast yaml files with the asciicast + agg combo without installing anything. The cast will be done inside the container as well, so the recording is done isolated from the rest of the system.
e8486b3
to
5cb881b
Compare
@@ -0,0 +1,102 @@ | |||
--- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where can I find a documentation of this file format? I searched https://docs.asciinema.org/ but could not find anything
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This yaml file is for https://github.com/k9withabone/autocast. The tool is briefly mentioned in the commit message (yes, it does not look like it). This makefile rule will then create a cast from it
openQA/docs/asciinema/Makefile
Lines 12 to 13 in f9fe556
%.cast:%.yaml | |
autocast --overwrite $< $@ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this is where I was able to find it initially: https://docs.asciinema.org/integrations/?h=autocast
Add scenario for asciinema recording and include it into documentation.
Add Dockerfile and a short Makefile to allow generating GIFs out of autocast yaml files with the asciicast + agg combo without installing anything. The cast will be done inside the container as well, so the recording is done isolated from the rest of the system.
Reference: https://progress.opensuse.org/issues/76978