From 36670c230996d7068c1f665494ce6d7f488e2950 Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Fri, 9 Aug 2024 15:27:27 +0200 Subject: [PATCH] remove: they are not used in this project --- .../generate-elastic-stack-releases.yml | 64 ------------------- .../generate-elastic-stack-snapshots.yml | 53 --------------- 2 files changed, 117 deletions(-) delete mode 100644 .github/workflows/generate-elastic-stack-releases.yml delete mode 100644 .github/workflows/generate-elastic-stack-snapshots.yml diff --git a/.github/workflows/generate-elastic-stack-releases.yml b/.github/workflows/generate-elastic-stack-releases.yml deleted file mode 100644 index 57b3a82e..00000000 --- a/.github/workflows/generate-elastic-stack-releases.yml +++ /dev/null @@ -1,64 +0,0 @@ ---- -name: generate-elastic-stack-releases - -on: - workflow_dispatch: - schedule: - - cron: '0 */6 * * 1-5' - -permissions: - contents: read - -jobs: - generate-releases: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - - uses: elastic/apm-pipeline-library/.github/actions/docker-login@current - with: - registry: docker.elastic.co - secret: secret/observability-team/ci/docker-registry/prod - url: ${{ secrets.VAULT_ADDR }} - roleId: ${{ secrets.VAULT_ROLE_ID }} - secretId: ${{ secrets.VAULT_SECRET_ID }} - - - run: .ci/generate-releases.sh - env: - GH_TOKEN: ${{ github.token }} - - - name: 'Get service account' - uses: hashicorp/vault-action@v3.0.0 - with: - url: ${{ secrets.VAULT_ADDR }} - roleId: ${{ secrets.VAULT_ROLE_ID }} - secretId: ${{ secrets.VAULT_SECRET_ID }} - method: approle - secrets: | - secret/observability-team/ci/artifacts-api-bucket service-account | SERVICE_ACCOUNT ; - - - id: 'auth' - name: 'Authenticate to Google Cloud' - uses: 'google-github-actions/auth@v2' - with: - credentials_json: '${{ env.SERVICE_ACCOUNT }}' - - - id: 'upload-file' - uses: 'google-github-actions/upload-cloud-storage@v2' - with: - path: releases - destination: "artifacts-api" - parent: false - headers: |- - content-type: application/json - x-goog-meta-generator: generate-elastic-stack-releases.yml - - - name: debug - run: echo "${{ steps.upload-file.outputs.uploaded }}" - - - if: ${{ failure() }} - uses: elastic/oblt-actions/slack/notify-result@v1 - with: - bot-token: ${{ secrets.SLACK_BOT_TOKEN }} - channel-id: "#observablt-bots" - message: "" # @robots-ci (https://api.slack.com/reference/surfaces/formatting#mentioning-groups) diff --git a/.github/workflows/generate-elastic-stack-snapshots.yml b/.github/workflows/generate-elastic-stack-snapshots.yml deleted file mode 100644 index cb247e77..00000000 --- a/.github/workflows/generate-elastic-stack-snapshots.yml +++ /dev/null @@ -1,53 +0,0 @@ ---- -name: generate-elastic-stack-snapshots - -on: - workflow_dispatch: - schedule: - - cron: '0 */1 * * 1-5' - -permissions: - contents: read - -jobs: - generate-snapshots: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - run: .ci/generate-snapshots.sh - - - name: 'Get service account' - uses: hashicorp/vault-action@v3.0.0 - with: - url: ${{ secrets.VAULT_ADDR }} - roleId: ${{ secrets.VAULT_ROLE_ID }} - secretId: ${{ secrets.VAULT_SECRET_ID }} - method: approle - secrets: | - secret/observability-team/ci/artifacts-api-bucket service-account | SERVICE_ACCOUNT ; - - - id: 'auth' - name: 'Authenticate to Google Cloud' - uses: 'google-github-actions/auth@v2' - with: - credentials_json: '${{ env.SERVICE_ACCOUNT }}' - - - id: 'upload-file' - uses: 'google-github-actions/upload-cloud-storage@v2' - with: - path: snapshots - glob: "*.json" - destination: "artifacts-api" - headers: |- - content-type: application/json - x-goog-meta-generator: generate-elastic-stack-snapshots.yml - - - name: debug - run: echo "${{ steps.upload-file.outputs.uploaded }}" - - - if: ${{ failure() }} - uses: elastic/oblt-actions/slack/notify-result@v1 - with: - bot-token: ${{ secrets.SLACK_BOT_TOKEN }} - channel-id: "#observablt-bots" - message: "" # @robots-ci (https://api.slack.com/reference/surfaces/formatting#mentioning-groups)