diff --git a/.ci/snapshoty.yml b/.ci/snapshoty.yml deleted file mode 100644 index bb12ac4f0..000000000 --- a/.ci/snapshoty.yml +++ /dev/null @@ -1,36 +0,0 @@ ---- - -# Version of configuration to use -version: '1.0' - -# You can define a Google Cloud Account to use -account: - # Project id of the service account - project: '${GCS_PROJECT}' - # Private key id of the service account - private_key_id: '${GCS_PRIVATE_KEY_ID}' - # Private key of the service account - private_key: '${GCS_PRIVATE_KEY}' - # Email of the service account - client_email: '${GCS_CLIENT_EMAIL}' - # URI token - token_uri: 'https://oauth2.googleapis.com/token' - -# List of artifacts -artifacts: - # Path to use for artifacts discovery - - path: './dist' - # Files pattern to match - files_pattern: 'workspace-(?P\d+\.\d+\.\d+)\.tar\.gz' - # File layout on GCS bucket - output_pattern: '{project}/{github_branch_name}/elastic-apm-go-{app_version}-{github_sha_short}.tar.gz' - # List of metadata processors to use. - metadata: - # Define static custom metadata - - name: 'custom' - data: - project: 'apm-agent-go' - # Add git metadata - - name: 'git' - # Add github_actions metadata - - name: 'github_actions' diff --git a/.github/workflows/README.md b/.github/workflows/README.md index 56f614eb6..5eb3ac759 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -14,7 +14,6 @@ The whole process should look like: There are some other stages that run for every push on the main branches: -* [Snapshoty](./snapshoty.yml) * [Microbenchmark](./microbenchmark.yml) ### Scenarios @@ -48,4 +47,4 @@ This process has been fully automated and it gets triggered when a tag release h ### OpenTelemetry -There is a GitHub workflow in charge to populate what the workflow run in terms of jobs and steps. Those details can be seen in [here](https://ela.st/oblt-ci-cd-stats) (**NOTE**: only available for Elasticians). +Every workflow and its logs are exported to OpenTelemetry traces/logs/metrics. Those details can be seen [here](https://ela.st/oblt-ci-cd-stats) (**NOTE**: only available for Elasticians). diff --git a/.github/workflows/snapshoty.yml b/.github/workflows/snapshoty.yml deleted file mode 100644 index 77fc09c71..000000000 --- a/.github/workflows/snapshoty.yml +++ /dev/null @@ -1,37 +0,0 @@ ---- -# Publish a snapshot. A "snapshot" is a packaging of the latest *unreleased* APM agent, -# published to a known GCS bucket for use in edge demo/test environments. -name: Snapshoty - -on: - push: - branches: - - main - paths-ignore: - - '*.md' - - '*.asciidoc' - - 'docs/**' - -permissions: - contents: read - -jobs: - upload: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - uses: actions/setup-go@v5 - with: - go-version-file: go.mod - cache-dependency-path: '**/go.sum' - - - name: Create snapshot tarball - run: ./scripts/ci/package.sh - - - name: Publish snaphosts - uses: elastic/apm-pipeline-library/.github/actions/snapshoty-simple@current - with: - config: '.ci/snapshoty.yml' - vaultUrl: ${{ secrets.VAULT_ADDR }} - vaultRoleId: ${{ secrets.VAULT_ROLE_ID }} - vaultSecretId: ${{ secrets.VAULT_SECRET_ID }}