OSDeploy / OSD

OSD Shared Functions
MIT License
144 stars 59 forks source link

Adding Gitlab API Support #31

Closed CodyRWhite closed 2 years ago

CodyRWhite commented 2 years ago

Adding Gitlab API Support

This change adds support for accessing GitLab repositories with or without OAuth. This update does not alter the existing switches so that existing configurations will not need to be modified.

Existing switches that have verified and worked

Start-OSDPad OSDeploy OSDHelp OSDCloudDeploy [-OAuth xxxxxxxxxxx]
Start-OSDPad -RepoOwner OSDeploy -RepoName OSDHelp -RepoFolder OSDCloudDeploy [-OAuth xxxxxxxxxxx]

Screen Capture Screen Capture

New switches to support GitLab

Start-OSDPad 26 Scripts -RepoDomain gitlab.domain.com [-OAuth xxxxxxxxxxx]
Start-OSDPad -RepoName 26 -RepoFolder Scripts -RepoDomain gitlab.domain.com [-OAuth xxxxxxxxxxx]

Screen Capture Screen Capture

CodyRWhite commented 2 years ago

Just added changes to the GUI. Starting testing now.

Also looks like my IDE made some white space changes on the one file. Sorry about that. The commit only really deals with adding in a switch to change the display on the bottom left of the OSDPad GUI window.

CodyRWhite commented 2 years ago

Will repost soon.