Skip to content

Commit 322a01b

Browse files
committed
Set expiry time check from user input
1 parent 91c0dca commit 322a01b

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

roles/github/defaults/main.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,17 @@ github_kayobe_environment_input: |
6868
options: {{ github_kayobe_environments }}
6969
{%- endif -%}
7070
71+
github_octavia_certificates_expiry_time_input: |
72+
{%- if github_environment_selector == 'input' -%}
73+
expiry_time:
74+
description: |
75+
Check if the Octavia Amphora certificates will expire within this
76+
number of days (integer).
77+
type: string
78+
required: true
79+
default: '{{ github_octavia_certificates_expiry_time }}'
80+
{%- endif -%}
81+
7182
github_workflows:
7283
- "{{ github_prepare_runner }}"
7384
- "{{ github_build_kayobe_image }}"
@@ -139,8 +150,7 @@ github_run_kolla_ansible_octavia_certificates:
139150
use_bespoke: true
140151
expiry_time: "{{ github_octavia_certificates_expiry_time }}"
141152
trigger:
142-
workflow_dispatch: "{{ github_kayobe_dispatch_inputs }}"
143-
arguments: "{{ github_kayobe_task_arguments }}"
153+
workflow_dispatch: "{{ github_octavia_certificates_expiry_time_input }}"
144154
concurrency_group: overcloud
145155

146156
github_run_network_connectivity_check:

0 commit comments

Comments
 (0)