Class GitHubActionsConfiguration.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • repositoryUrl

        public GitHubActionsConfiguration.Builder repositoryUrl​(String repositoryUrl)
        The location of the repository where the GitHub Actions is defined.

        For Non-Enterprise GitHub the expected format is https://github.com/[owner]/[repoName] For Enterprise GitHub the expected format is http(s)://[hostname]/api/v3/repos/[owner]/[repoName]

        Parameters:
        repositoryUrl - the value to set
        Returns:
        this builder
      • patSecretId

        public GitHubActionsConfiguration.Builder patSecretId​(String patSecretId)
        The Oracle Cloud Identifier (OCID) of the Private Access Token (PAT) Secret.

        The PAT provides the credentials to access the GitHub Action.

        Parameters:
        patSecretId - the value to set
        Returns:
        this builder
      • workflowName

        public GitHubActionsConfiguration.Builder workflowName​(String workflowName)
        The name of the GitHub Actions workflow that defines the build pipeline.
        Parameters:
        workflowName - the value to set
        Returns:
        this builder
      • additionalParameters

        public GitHubActionsConfiguration.Builder additionalParameters​(Map<String,​String> additionalParameters)
        Additional key-value pairs passed as parameters to the build service when running an experiment.
        Parameters:
        additionalParameters - the value to set
        Returns:
        this builder