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

SSDF PW5.2: Documentation of testing for infra tools #2502

Closed
Haroon-Khel opened this issue Mar 10, 2022 · 7 comments
Closed

SSDF PW5.2: Documentation of testing for infra tools #2502

Haroon-Khel opened this issue Mar 10, 2022 · 7 comments
Assignees
Labels

Comments

@Haroon-Khel
Copy link
Contributor

Haroon-Khel commented Mar 10, 2022

PW.5.2: Conduct unit testing
1. Adoptium maintain process documentation detailing their unit testing process.

Though for some reason this ssdf work item is not mentioned in any of the epics, I thought it would be most appropriate to use adoptium/adoptium#124 as a reference.

This is issue will be used to discuss the documentation of the testing being done for the tools used in this repository (any current documentation and ideas/improvements to the documentation).

@Haroon-Khel Haroon-Khel self-assigned this Mar 10, 2022
@Haroon-Khel Haroon-Khel changed the title Discussion: How unit testing is done for infra tools Discussion: Unit testing for infra tools Mar 10, 2022
@Haroon-Khel Haroon-Khel changed the title Discussion: Unit testing for infra tools Discussion: Documentation of testing for infra tools Mar 10, 2022
@Haroon-Khel Haroon-Khel changed the title Discussion: Documentation of testing for infra tools SSDF: Documentation of testing for infra tools Mar 10, 2022
@Haroon-Khel
Copy link
Contributor Author

Haroon-Khel commented Mar 11, 2022

  • VPC (Vagrant Playbook Check) https://ci.adoptopenjdk.net/job/VagrantPlaybookCheck
    • VMs of various operating systems to test changes made to the windows and linux playbooks.
    • Supported OSs include
      • Windows 2012
      • Debian8
      • Debian10
      • Ubuntu1604
      • Ubuntu1804
      • Ubuntu2004
      • Ubuntu2104
      • CentOS6
      • CentOS7
      • CentOS8
      • Solaris10
  • QPC (Qemu Playbook Check) https://ci.adoptopenjdk.net/job/QEMUPlaybookCheck/
    • VMs of various operating systems and architecture combinations, to test changes made to the linux playbook
    • Supported OS/arch combinations include
      • Ubuntu1804 PPC64LE
      • Ubuntu1804 s390x
      • Ubuntu1804 aarch64
      • Debian11 RISCV
      • Debian10 aarch64
      • Debian8 arm32

@Haroon-Khel
Copy link
Contributor Author

Haroon-Khel commented May 31, 2022

Github workflows

@Haroon-Khel
Copy link
Contributor Author

Docker Static Workflows

@sxa sxa changed the title SSDF: Documentation of testing for infra tools SSDF PW5.2: Documentation of testing for infra tools Aug 15, 2022
@Haroon-Khel
Copy link
Contributor Author

Haroon-Khel commented Aug 21, 2023

AWX

  • AWX server hosted at https://awx2.adoptopenjdk.net/
  • Infrastructure members use the service to test any new playbook changes by running their changes onto our infrastructure machines
  • Not automated like the pr workflows

@sxa
Copy link
Member

sxa commented Oct 17, 2023

@Haroon-Khel Can we get this moved into a file in the repository somewhere? Once that's done we can close it off.

I was initially thinking about having it directly in the README.md but since there's quite a lot perhaps having a separate "docs/Testing.md" that's referenced from other places would be preferable. We should also include information on the linter checks (I believe this is covered in @steelhead31's document referenced in #2971 (comment) but I'm not sure if that's public somewhere)

I'll probably add a link from my PR with updates to the CONTRIBUTING.md once this is done :-)

@Haroon-Khel
Copy link
Contributor Author

Closing this as #3291 is merged

@sxa
Copy link
Member

sxa commented Jan 12, 2024

Noting that we will expect to be looking at checks using the semgrep tool as an extra set of testing that we can perform at the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

No branches or pull requests

2 participants