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

Add new integration tests for Azure OIDC for git repositories #791

Closed

Commits on Jul 9, 2024

  1. Add packages auth, azure and git to get authentication credentials fo…

    …r azure provider
    
    Signed-off-by: Dipti Pai <diptipai89@outlook.com>
    dipti-pai committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    7e61b33 View commit details
    Browse the repository at this point in the history

Commits on Jul 10, 2024

  1. Add Credential cache and cache git credentials

    Signed-off-by: Dipti Pai <diptipai89@outlook.com>
    dipti-pai committed Jul 10, 2024
    Configuration menu
    Copy the full SHA
    dd8c5b4 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2024

  1. Add cache credentials function

    Signed-off-by: Dipti Pai <diptipai89@outlook.com>
    dipti-pai committed Jul 12, 2024
    Configuration menu
    Copy the full SHA
    b7425e1 View commit details
    Browse the repository at this point in the history

Commits on Jul 19, 2024

  1. If applied, this commit creates a new category of git integration tests.

    - testapp is modified to accept category git and test cloning azure devops git repository using workload identity.
    - Azure terraform files are separated into oci and git. Azure terraform files for git require an organization and PAT and create ADO project and repository
    - suite_test.go is modified to add new git category and setup provider specific test configuration and permissions on git repository
    - azure_test.go has new functions to return test configuration based on the git terraform file output and API to give the workload identity access to the ADO repository.
    - repo_list_test.go has a new test to validate Azure OIDC for ADO repository.
    - util_test.go is a new utility with functions to get the gogit client to clone, commit and push changes to a git repository.
    
    Signed-off-by: Dipti Pai <diptipai89@outlook.com>
    dipti-pai committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    d96622d View commit details
    Browse the repository at this point in the history
  2. Fix copyright

    Signed-off-by: Dipti Pai <diptipai89@outlook.com>
    dipti-pai committed Jul 19, 2024
    Configuration menu
    Copy the full SHA
    4635ece View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e7d3efa View commit details
    Browse the repository at this point in the history