Skip to content

Commit

Permalink
Merge pull request #607 from akrzos/remove_extra_validation
Browse files Browse the repository at this point in the history
Remove extra ocp_build validation
  • Loading branch information
openshift-merge-bot[bot] authored Feb 13, 2025
2 parents 175e956 + 88f3f72 commit 8064f5d
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ansible/roles/validate-vars/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,6 @@
msg: "The version is undefined or empty. Use a value such as 'latest-4.15' or 'latest-4.16' or '4.16.1'."
when: (ocp_version is undefined) or (ocp_version|length == 0)

- name: Fail if build is invalid
fail:
msg: "The openshift build defined is invalid, Use either 'ga' or 'dev' only"
when: (ocp_build != 'ga') and (ocp_build != 'dev')

- name: Check for RHEL/Centos (Bastion Validation)
fail:
msg: "Expecting RHEL or Centos for a Bastion OS"
Expand Down

0 comments on commit 8064f5d

Please sign in to comment.