diff --git a/.ci/snapshoty.yml b/.ci/snapshoty.yml deleted file mode 100644 index 3dcb7a0c7..000000000 --- a/.ci/snapshoty.yml +++ /dev/null @@ -1,43 +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: './build/packages' - # Files pattern to match - files_pattern: 'apm-agent-php_(?P\d+\.\d+\.\d+(-\d+)?)[\.|_](all|noarch)\.(?P\S+)' - # File layout on GCS bucket - output_pattern: '{project}/{github_branch_name}/apm-agent-php-{app_version}-{github_sha_short}.{extension}' - # List of metadata processors to use. - metadata: - # Define static custom metadata - - name: 'custom' - data: - project: 'apm-agent-php' - # Add github metadata - - name: 'jenkins' - - name: 'github_actions' - - path: './build/packages' - files_pattern: 'apm-agent-php.tar' - output_pattern: '{project}/{github_branch_name}/apm-agent-php-{github_sha_short}.tar' - metadata: - - name: 'custom' - data: - project: 'apm-agent-php' - - name: 'github_actions' diff --git a/.github/workflows/README.md b/.github/workflows/README.md index 443e1238e..0620d9abc 100644 --- a/.github/workflows/README.md +++ b/.github/workflows/README.md @@ -7,9 +7,6 @@ There are four main stages that run on GitHub actions: * Test * Package -Some other stages run for every push on the main branches: -* [Snapshoty](./snapshoty.yml) - ### Scenarios * Tests should be triggered on branch, tag, and PR basis. diff --git a/.github/workflows/snapshoty.yml b/.github/workflows/snapshoty.yml deleted file mode 100644 index 8cfae1152..000000000 --- a/.github/workflows/snapshoty.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: snapshoty - -on: - workflow_run: - workflows: - - test - types: - - completed - branches: - - main - -jobs: - publish: - if: ${{ github.event.workflow_run.conclusion == 'success' }} - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Download artifacts - run: > - gh run download ${{ github.event.workflow_run.id }} - --name package - --repo "${GITHUB_REPOSITORY}" - --dir build/packages - env: - GH_TOKEN: ${{ github.token }} - - name: Publish snapshot - 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 }}