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

Adds webhook for Repository Validation #708

Merged
merged 9 commits into from
Jun 1, 2022

Commits on May 30, 2022

  1. Adds webhook to validate repository url

    this add validation webhook for repository so that
    we dont allow user to create multiple respositories with
    same git url.
    
    Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
    Shivam Mukhade committed May 30, 2022
    Configuration menu
    Copy the full SHA
    b662fa4 View commit details
    Browse the repository at this point in the history
  2. Adds yamls for webhook

    Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
    Shivam Mukhade committed May 30, 2022
    Configuration menu
    Copy the full SHA
    34cb5a0 View commit details
    Browse the repository at this point in the history
  3. Allow update to existing repository

    Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
    Shivam Mukhade committed May 30, 2022
    Configuration menu
    Copy the full SHA
    58ed515 View commit details
    Browse the repository at this point in the history

Commits on May 31, 2022

  1. e2e: delete repository in the namespace before deleting ns

    Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
    Shivam Mukhade committed May 31, 2022
    Configuration menu
    Copy the full SHA
    5639a6f View commit details
    Browse the repository at this point in the history
  2. update build workflow for webhook image

    Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
    Shivam Mukhade committed May 31, 2022
    Configuration menu
    Copy the full SHA
    22d7262 View commit details
    Browse the repository at this point in the history
  3. updates release yaml script for webhook

    Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
    Shivam Mukhade committed May 31, 2022
    Configuration menu
    Copy the full SHA
    7e1647b View commit details
    Browse the repository at this point in the history
  4. add e2e for repo creation and failure due to webhook validation

    Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
    Shivam Mukhade committed May 31, 2022
    Configuration menu
    Copy the full SHA
    a383c92 View commit details
    Browse the repository at this point in the history
  5. Use repository lister instead of client

    Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
    Shivam Mukhade committed May 31, 2022
    Configuration menu
    Copy the full SHA
    372bb16 View commit details
    Browse the repository at this point in the history
  6. Skip running e2e parallel

    as can't create multiple repo with same url as webhook will
    deny
    
    Signed-off-by: Shivam Mukhade <smukhade@redhat.com>
    Shivam Mukhade committed May 31, 2022
    Configuration menu
    Copy the full SHA
    4ea5b59 View commit details
    Browse the repository at this point in the history