Skip to content

TNZ-32337 - Add expiring licenses check script and configuration #87

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

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

wayneadams
Copy link
Contributor

@wayneadams wayneadams commented Mar 21, 2025

This pull request introduces a new script and accompanying configuration file for checking expiring licenses. The script is designed to be flexible, allowing for various optional parameters to tailor the behavior of the license check.

Key changes include:

New Script for Expiring Licenses Check:

  • Added a new Bash script tasks/expiring-licenses.sh to check for expiring licenses with configurable parameters such as EXPIRES_WITHIN, STAGED, and DEPLOYED.

Configuration for the New Script:

  • Created a new YAML configuration file tasks/expiring-licenses.yml to define the inputs, parameters, and execution path for the expiring licenses check task.
  • This file includes detailed comments explaining the purpose and usage of each parameter.
  • Introduce a new script to check for expiring licenses and a corresponding YAML configuration file.
  • The script captures output based on specified parameters, reports any licenses that are expiring within a defined timeframe, and exits with exit 1.

DO NOT MERGE UNTIL

@wayneadams wayneadams force-pushed the add-expiring-licenses-task branch from 5808144 to 13219f9 Compare March 21, 2025 23:30
@wayneadams
Copy link
Contributor Author

DO NOT MERGE until pivotal-cf/om#683 is merged and released

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.

1 participant