github.com/argoproj/argo-cd/v3@v3.2.1/commitserver/commit/commit.proto (about)

     1  syntax = "proto3";
     2  option go_package = "github.com/argoproj/argo-cd/v3/commitserver/apiclient";
     3  
     4  import "github.com/argoproj/argo-cd/v3/pkg/apis/application/v1alpha1/generated.proto";
     5  
     6  // CommitHydratedManifestsRequest is the request to commit hydrated manifests to a repository.
     7  message CommitHydratedManifestsRequest {
     8    // Repo contains repository information including, at minimum, the URL of the repository. Generally it will contain
     9    // repo credentials.
    10    github.com.argoproj.argo_cd.v3.pkg.apis.application.v1alpha1.Repository repo = 1;
    11    // SyncBranch is the branch Argo CD syncs from, i.e. the hydrated branch.
    12    string syncBranch = 2;
    13    // TargetBranch is the branch Argo CD is committing to, i.e. the branch that will be updated.
    14    string targetBranch = 3;
    15    // DrySha is the commit SHA from the dry branch, i.e. pre-rendered manifest branch.
    16    string drySha = 4;
    17    // CommitMessage is the commit message to use when committing changes.
    18    string commitMessage = 5;
    19    // Paths contains the paths to write hydrated manifests to, along with the manifests and commands to execute.
    20    repeated PathDetails paths = 6;
    21    // DryCommitMetadata contains metadata about the DRY commit, such as the author and committer.
    22    github.com.argoproj.argo_cd.v3.pkg.apis.application.v1alpha1.RevisionMetadata dryCommitMetadata = 7;
    23  }
    24  
    25  // PathDetails holds information about hydrated manifests to be written to a particular path in the hydrated manifests
    26  // commit.
    27  message PathDetails {
    28    // Path is the path to write the hydrated manifests to.
    29    string path = 1;
    30    // Manifests contains the manifests to write to the path.
    31    repeated HydratedManifestDetails manifests = 2;
    32    // Commands contains the commands executed when hydrating the manifests.
    33    repeated string commands = 3;
    34  }
    35  
    36  // ManifestDetails contains the hydrated manifests.
    37  message HydratedManifestDetails {
    38    // ManifestJSON is the hydrated manifest as JSON.
    39    string manifestJSON = 1;
    40  }
    41  
    42  // ManifestsResponse is the response to the ManifestsRequest.
    43  message CommitHydratedManifestsResponse {
    44    // HydratedSha is the commit SHA of the hydrated manifests commit.
    45    string hydratedSha = 1;
    46  }
    47  
    48  // CommitService is the service for committing hydrated manifests to a repository.
    49  service CommitService {
    50    // Commit commits hydrated manifests to a repository.
    51    rpc CommitHydratedManifests (CommitHydratedManifestsRequest) returns (CommitHydratedManifestsResponse);
    52  }