Skip to content

🌱 Make generate-asciidemo.sh generic #1755

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

Merged
merged 2 commits into from
Feb 12, 2025

Conversation

perdasilva
Copy link
Contributor

@perdasilva perdasilva commented Feb 12, 2025

Description

Makes generate-asciidemo.sh generic to make it easier to create demo scripts and generate asciinema out of them for PRs and demos, etc.

The motivation for this change is: I was creating a demo script for the single/own namespace feature and noticed duplication in the "generate_asciinema" scripts where the only difference was the demo script being called. Hopefully, this little script helps us make demos easier =D

Reviewer Checklist

  • API Go Documentation
  • Tests: Unit Tests (and E2E Tests, if appropriate)
  • Comprehensive Commit Messages
  • Links to related GitHub Issue(s)

@perdasilva perdasilva requested a review from a team as a code owner February 12, 2025 14:11
Copy link

netlify bot commented Feb 12, 2025

Deploy Preview for olmv1 ready!

Name Link
🔨 Latest commit 95087dc
🔍 Latest deploy log https://app.netlify.com/sites/olmv1/deploys/67acc84365e7b80009ff4c7c
😎 Deploy Preview https://deploy-preview-1755--olmv1.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -36,4 +36,3 @@ curl -k https://localhost:8081/catalogs/operatorhubio/api/v1/all | jq -s '.[] |
curl -k https://localhost:8081/catalogs/operatorhubio/api/v1/all | jq -s '.[] | select(.schema == "olm.channel") | select(.package == "wavefront") | .name'
# check what bundles are included in the wavefront package
curl -k https://localhost:8081/catalogs/operatorhubio/api/v1/all | jq -s '.[] | select(.schema == "olm.bundle") | select(.package == "wavefront") | .name'

Copy link
Contributor

Choose a reason for hiding this comment

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

👍 It is OK, but we might want to have a complete demo instead of keep just for catalogd.
However, until there, why not? Who knows, we change the intention as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The intention here is that I'm creating demo scripts for the own/single namespace install mode feature, which I'll add to the demos directory. I'll probably add a Makefile at some point.

Copy link
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

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

/lgtm cancel

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 12, 2025
Copy link
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

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

@camilamacedo86
Copy link
Contributor

/lgtm cancel

@openshift-ci openshift-ci bot removed the lgtm Indicates that a PR is ready to be merged. label Feb 12, 2025
@perdasilva perdasilva force-pushed the refactor-demo-dir branch 2 times, most recently from 93208d6 to be8c527 Compare February 12, 2025 14:26
grokspawn
grokspawn previously approved these changes Feb 12, 2025
Signed-off-by: Per G. da Silva <[email protected]>
Copy link

codecov bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 67.45%. Comparing base (f8fac24) to head (95087dc).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1755   +/-   ##
=======================================
  Coverage   67.45%   67.45%           
=======================================
  Files          61       61           
  Lines        5245     5245           
=======================================
  Hits         3538     3538           
  Misses       1446     1446           
  Partials      261      261           
Flag Coverage Δ
e2e 52.15% <ø> (ø)
unit 55.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@camilamacedo86 camilamacedo86 left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 12, 2025
@camilamacedo86 camilamacedo86 added this pull request to the merge queue Feb 12, 2025
Merged via the queue into operator-framework:main with commit becde51 Feb 12, 2025
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants