1. Docs
  2. Reference
  3. REST API Docs
  4. Schema
  5. SourceContextHg

SourceContextHg

    Mercurial-based source context for obtaining source code from a repository.

    Properties

    • repoUrl string optional
      The URL of the Mercurial repository.
    • branch string optional
      The branch to use from the repository.
    • repoDir string 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.
    • revision string optional
      (optional) Revision is the changeset hash to check out. If used, the working directory will be updated to this specific revision. This is mutually exclusive with the Branch setting. Either value needs to be specified.
    • hgAuth GitAuthConfig optional

      (optional) HgAuth allows configuring Mercurial 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.
    • accessToken SecretValue optional
      Personal access token for git authentication
    • sshAuth SSHAuth optional
      SSH private key authentication configuration
    • basicAuth BasicAuth optional
      Basic auth username and password configuration