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 upload results-spreadsheet certsuite sub-command #2389

Merged

Conversation

shirmoran
Copy link
Contributor

@shirmoran shirmoran commented Sep 1, 2024

build-depends: redhatci/ansible-collection-redhatci-ocp#421

upload results-spreadsheet certsuite sub command creates a RedHat Best Practices for K8 Results Spreadsheet, that is meant to help us keep track on workloads suite test results and document their conclusion.

The created spreadsheet contains:

  1. Given workloads raw results sheet.
  2. Conclusions sheet to document information per-workload, including a link to a separate results spreadsheet for each workload (which is meant to be used by the tech lead\product manager of the specific workload).

The application is using the google sheet and drive APIs as well as a google cloud project - a project with permissions for the entire cert-and-platform-dev team was created.
In order to use the app, you'll have to download the credentials from the google project and move them to the executable folder in your certsuite cloned repo.

** Note: users who don't have permissions to the google cloud project, can use their own project and credentials (see google sheet quick start)

Usage: ./certsuite upload results-spreadsheet -f <raw-results-file.csv> -d <dest-url> -v <ocp-version(optional)>

Next Steps: Creating a private project to create an RedHat Best Practices for K8 Results Spreadsheet for specifically for operators - which will contain more specific aspects.

Copy link
Collaborator

@ramperher ramperher left a comment

Choose a reason for hiding this comment

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

Hi, is this a new, standard way of reporting the certsuite results for certification? If so, we'd be interested in knowing how it's working, thanks!

Copy link
Contributor

@greyerof greyerof left a comment

Choose a reason for hiding this comment

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

Some comments, but I haven't finished the review yet.

@ramperher
Copy link
Collaborator

/dci-rerun

@dcibot
Copy link
Collaborator

dcibot commented Sep 5, 2024

Copy link
Contributor

@greyerof greyerof left a comment

Choose a reason for hiding this comment

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

Great work. Mostly suggestions comments and function documentation requests.

Copy link
Member

@sebrandon1 sebrandon1 left a comment

Choose a reason for hiding this comment

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

Some more comments

cmd/certsuite/upload/results_spreadsheet/sheet_utils.go Outdated Show resolved Hide resolved
@shirmoran
Copy link
Contributor Author

/dci-rerun

@dcibot
Copy link
Collaborator

dcibot commented Sep 12, 2024

@shirmoran shirmoran merged commit 822271d into redhat-best-practices-for-k8s:main Sep 12, 2024
34 checks passed
@dcibot
Copy link
Collaborator

dcibot commented Sep 12, 2024

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.

6 participants