github.com/waldiirawan/apm-agent-go/v2@v2.2.2/.ci/snapshoty.yml (about)

     1  ---
     2  
     3  # Version of configuration to use
     4  version: '1.0'
     5  
     6  # You can define a Google Cloud Account to use
     7  account:
     8    # Project id of the service account
     9    project: '${GCS_PROJECT}'
    10    # Private key id of the service account
    11    private_key_id: '${GCS_PRIVATE_KEY_ID}'
    12    # Private key of the service account
    13    private_key: '${GCS_PRIVATE_KEY}'
    14    # Email of the service account
    15    client_email: '${GCS_CLIENT_EMAIL}'
    16    # URI token
    17    token_uri: 'https://oauth2.googleapis.com/token'
    18  
    19  # List of artifacts
    20  artifacts:
    21    # Path to use for artifacts discovery
    22    - path: './dist'
    23      # Files pattern to match
    24      files_pattern: 'workspace-(?P<app_version>\d+\.\d+\.\d+)\.tar\.gz'
    25      # File layout on GCS bucket
    26      output_pattern: '{project}/{github_branch_name}/elastic-apm-go-{app_version}-{github_sha_short}.tar.gz'
    27      # List of metadata processors to use.
    28      metadata:
    29        # Define static custom metadata
    30        - name: 'custom'
    31          data:
    32            project: 'apm-agent-go'
    33        # Add git metadata
    34        - name: 'git'
    35        # Add github_actions metadata
    36        - name: 'github_actions'