SourceContextGit
Git-based source context for obtaining source code from a repository.
Properties
repoUrlstring optionalThe URL of the git repository.branchstring optionalThe branch to use from the repository.repoDirstring optional(optional) RepoDir is the directory to work from in the project’s source repository where Pulumi.yaml is located. It is used in case Pulumi.yaml is not in the project source root.commitstring optional(optional) Commit is the hash of the commit to deploy. If used, HEAD will be in detached mode. This is mutually exclusive with the Branch setting. Either value needs to be specified.(optional) GitAuth allows configuring git authentication options There are 3 different authentication options:
- SSH private key (and its optional password)
- Personal access token
- Basic auth username and password Only one authentication mode will be considered if more than one option is specified, with ssh private key/password preferred first, then personal access token, and finally basic auth credentials.
- Personal access token for git authentication
- SSH private key authentication configuration
- Basic auth username and password configuration
Thank you for your feedback!
If you have a question about how to use Pulumi, reach out in Community Slack.
Open an issue on GitHub to report a problem or suggest an improvement.