Skip to content
This repository has been archived by the owner on Feb 14, 2024. It is now read-only.

feat(deps): Modified SCA command to check python setup for pre-commit #369

Closed
wants to merge 2 commits into from

Conversation

horiagunica
Copy link
Contributor

Description

Test SCA command to check dependabot version bump for python.

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes if appropriate.
  • All new and existing tests passed.

@horiagunica horiagunica requested a review from a team as a code owner December 12, 2023 15:05
@horiagunica
Copy link
Contributor Author

horiagunica commented Dec 12, 2023

/help

ChatOPS built in help:

Currently supported commands include:

  • /sca - run all SCA tests via pre-commit
  • /validate - run terraform validate
  • /plan - plan the infrastructure (only examples)
  • /apply - deploy the infrastructure and destroy afterwards (only examples)
  • /idempotence - test idempotence: deploy, plan and destroy afterwards (only examples).

The 1st command does not take arguments, the remaining take two:

  • paths - a space delimitied list of module paths
  • tf_version - (optional, defaults to the latest available) a space delimited list of Terraform versions to test the infrastrucure against.

Examples:

# run idempotence tests on listed modules with Terraform versions: 1.2 (latest patch available), 1.4 (latest patch available), 1.5.4.
/idempotence paths="examples/common_vmseries examples/panorama_standalone" tf_version="1.2 1.4 1.5.4"
# run validation tests with the latest available Terraform version on listed modules.
/validate paths="modules/vmseries modules/vnet examples/dedicated_vmseries"

@horiagunica
Copy link
Contributor Author

horiagunica commented Dec 12, 2023

/sca

Testing job ID: 7183383621
Job result: SUCCESS

@horiagunica
Copy link
Contributor Author

horiagunica commented Dec 12, 2023

/sca

Testing job ID: 7183761546
Job result: SUCCESS

Copy link
Contributor

@FoSix FoSix left a comment

Choose a reason for hiding this comment

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

@horiagunica put this one to draft, someone could merge it by mistake :)

@horiagunica horiagunica deleted the dependabot-python-bump-testing branch December 13, 2023 14:56
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants