From 4702507029efc3f257c5cc83b4c915249b8d9cb1 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 3 Sep 2026 10:10:35 +0000 Subject: [PATCH] [bot] remove unused upstream configs Signed-off-by: github-actions[bot] --- .github/workflows/codeql-analysis.yml | 77 --------- .github/workflows/container-version.yaml | 37 ----- .github/workflows/docs.yaml | 46 ------ .github/workflows/go.yaml | 202 ----------------------- .github/workflows/mixin.yaml | 48 ------ .github/workflows/react.yml | 36 ---- 6 files changed, 446 deletions(-) delete mode 100644 .github/workflows/codeql-analysis.yml delete mode 100644 .github/workflows/container-version.yaml delete mode 100644 .github/workflows/docs.yaml delete mode 100644 .github/workflows/go.yaml delete mode 100644 .github/workflows/mixin.yaml delete mode 100644 .github/workflows/react.yml diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml deleted file mode 100644 index d9d7afb4ef6..00000000000 --- a/.github/workflows/codeql-analysis.yml +++ /dev/null @@ -1,77 +0,0 @@ -# For most projects, this workflow file will not need changing; you simply need -# to commit it to your repository. -# -# You may wish to alter this file to override the set of languages analyzed, -# or to provide custom queries or build logic. -# -# ******** NOTE ******** -# We have attempted to detect the languages in your repository. Please check -# the `language` matrix defined below to confirm you have the correct set of -# supported CodeQL languages. -# -name: "CodeQL" - -on: - push: - branches: [ main ] - pull_request: - # The branches below must be a subset of the branches above - branches: [ main ] - schedule: - - cron: '30 12 * * 1' - -permissions: - contents: read - security-events: write - -jobs: - analyze: - name: Analyze - runs-on: ubuntu-latest - - strategy: - fail-fast: false - matrix: - language: [ 'go', 'javascript' ] - # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ] - # Learn more: - # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed - - steps: - - name: Checkout code - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - - name: Set up Go - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 - with: - go-version: 1.22.x - - # Initializes the CodeQL tools for scanning. - - name: Initialize CodeQL - uses: github/codeql-action/init@fca7ace96b7d713c7035871441bd52efbe39e27e # v3.28.19 - with: - languages: ${{ matrix.language }} - config-file: ./.github/codeql/codeql-config.yml - # If you wish to specify custom queries, you can do so here or in a config file. - # By default, queries listed here will override any specified in a config file. - # Prefix the list here with "+" to use these queries and those in the config file. - # queries: ./path/to/local/query, your-org/your-repo/queries@main - - # Autobuild attempts to build any compiled languages (C/C++, C#, or Java). - # If this step fails, then you should remove it and run the build manually (see below) - - name: Autobuild - uses: github/codeql-action/autobuild@fca7ace96b7d713c7035871441bd52efbe39e27e # v3.28.19 - - # â„šī¸ Command-line programs to run using the OS shell. - # 📚 https://git.io/JvXDl - - # âœī¸ If the Autobuild fails above, remove it and uncomment the following three lines - # and modify them (or add more) to build your code if your project - # uses a compiled language - - #- run: | - # make bootstrap - # make release - - - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@fca7ace96b7d713c7035871441bd52efbe39e27e # v3.28.19 diff --git a/.github/workflows/container-version.yaml b/.github/workflows/container-version.yaml deleted file mode 100644 index 3b84f306c8c..00000000000 --- a/.github/workflows/container-version.yaml +++ /dev/null @@ -1,37 +0,0 @@ -on: - workflow_dispatch: - schedule: - - cron: '0 * * * *' -name: busybox-update workflow -permissions: - contents: read - -jobs: - checkVersionAndCreatePR: - permissions: - contents: write # for peter-evans/create-pull-request to create branch - pull-requests: write # for peter-evans/create-pull-request to create a PR - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - - name: Run busybox updater - run: | - chmod +x ./scripts/busybox-updater.sh - ./scripts/busybox-updater.sh - shell: bash - - - name: Create Pull Request - uses: peter-evans/create-pull-request@dd2324fc52d5d43c699a5636bcf19fceaa70c284 # v7.0.7 - with: - signoff: true - token: ${{ secrets.GITHUB_TOKEN }} - commit-message: 'Updates busybox SHA' - branch: update-sha-action - delete-branch: true - title: '*: Updates Prometheus BusyBox image SHAs' - body: > - This PR is auto-generated by - [create-pull-request](https://github.com/peter-evans/create-pull-request). - labels: busybox, automated pr diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml deleted file mode 100644 index 9f10e361761..00000000000 --- a/.github/workflows/docs.yaml +++ /dev/null @@ -1,46 +0,0 @@ -name: docs - -on: - push: - branches: - - main - tags: - pull_request: - -permissions: - contents: read - -jobs: - check: - runs-on: ubuntu-latest - name: Documentation check - env: - GOBIN: /tmp/.bin - steps: - - name: Checkout code - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - - name: Install Go - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 - with: - go-version: 1.26.x - - - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 - with: - path: ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - - - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 - with: - path: .mdoxcache - key: ${{ runner.os }}-mdox-${{ hashFiles('docs/**/*.md', 'examples/**/*.md', 'mixin/**/*.md', '*.md') }} - restore-keys: | - ${{ runner.os }}-mdox- - - - name: Check docs - run: make check-docs - - - name: Check examples - run: make check-examples diff --git a/.github/workflows/go.yaml b/.github/workflows/go.yaml deleted file mode 100644 index a4d1ba697a8..00000000000 --- a/.github/workflows/go.yaml +++ /dev/null @@ -1,202 +0,0 @@ -name: go - -on: - push: - branches: - - main - tags: - pull_request: - -permissions: - contents: read - -jobs: - unit: - runs-on: ubuntu-latest - name: Thanos unit tests - env: - THANOS_TEST_OBJSTORE_SKIP: GCS,S3,AZURE,COS,ALIYUNOSS,BOS,OCI,OBS,SWIFT - OS_AUTH_URL: http://127.0.0.1:5000/v2.0 - OS_PASSWORD: s3cr3t - OS_PROJECT_NAME: admin - OS_REGION_NAME: RegionOne - OS_USERNAME: admin - GOBIN: /tmp/.bin - services: - swift: - image: 'quay.io/thanos/docker-swift-onlyone-authv2-keystone:v0.1' - ports: - - 5000:5000 - steps: - - name: Checkout code - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - - name: Install Go. - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 - with: - go-version: 1.26.x - - - name: Install bingo modules - run: make install-tool-deps - - name: Add GOBIN to path - run: echo "/tmp/.bin" >> $GITHUB_PATH - - name: Run unit tests - run: make test - - cross-build-check: - runs-on: ubuntu-latest - name: Go build for different platforms - env: - GOBIN: /tmp/.bin - steps: - - name: Checkout code - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - - name: Install Go - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 - with: - go-version: 1.26.x - - - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 - with: - path: | - ~/.cache/go-build - ~/.cache/golangci-lint - ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - - - name: Cross build check - run: make crossbuild - - build-stringlabels: - runs-on: ubuntu-latest - name: Go build with -tags=stringlabels - env: - GOBIN: /tmp/.bin - steps: - - name: Checkout code - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - - name: Install Go - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 - with: - go-version: 1.26.x - - - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 - with: - path: | - ~/.cache/go-build - ~/.cache/golangci-lint - ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - - - name: Cross build check - run: go build -tags=stringlabels ./cmd/thanos - - lint: - runs-on: ubuntu-latest - name: Linters (Static Analysis) for Go - env: - GOBIN: /tmp/.bin - steps: - - name: Checkout code - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - - name: Install Go - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 - with: - go-version: 1.26.x - - - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 - with: - path: | - ~/.cache/go-build - ~/.cache/golangci-lint - ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - restore-keys: | - ${{ runner.os }}-go- - - - name: Format. - run: make format - - - name: Linting & vetting - run: make go-lint - - codespell: - runs-on: ubuntu-latest - name: Check misspelled words - steps: - - name: Checkout code - uses: actions/checkout@v4 - - name: Run codespell - uses: codespell-project/actions-codespell@v2 - with: - check_filenames: false - check_hidden: true - skip: ./pkg/ui/*,./pkg/store/6545postingsrepro,./internal/*,./mixin/vendor/*,./.bingo/*,go.mod,go.sum - ignore_words_list: intrumentation,mmaped,nd,ot,re-use,ser,serie,sme,sudu,tast,te,ans - - build-e2e-image: - runs-on: ubuntu-24.04 - name: Build e2e Docker image - steps: - - name: Checkout code - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - - name: Build e2e Docker image - run: make docker-e2e - - - name: Export image - run: docker save thanos | gzip > /tmp/thanos-e2e.tar.gz - - - name: Upload image artifact - uses: actions/upload-artifact@v4 - with: - name: thanos-e2e-image - path: /tmp/thanos-e2e.tar.gz - retention-days: 1 - - e2e: - needs: build-e2e-image - strategy: - fail-fast: false - matrix: - parallelism: [8] - index: [0, 1, 2, 3, 4, 5, 6, 7] - runs-on: ubuntu-24.04 - name: Thanos end-to-end tests - env: - GOBIN: /tmp/.bin - steps: - - name: Checkout code - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - - name: Install Go. - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 - with: - go-version: 1.26.x - - - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 - with: - path: | - ~/.cache/go-build - ~/.cache/golangci-lint - ~/go/pkg/mod - key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} - - - name: Download e2e image artifact - uses: actions/download-artifact@v4 - with: - name: thanos-e2e-image - path: /tmp - - - name: Load e2e Docker image - run: docker load < /tmp/thanos-e2e.tar.gz - - - name: Run e2e docker-based tests - run: make test-e2e SKIP_DOCKER_BUILD=1 GH_PARALLEL=${{ matrix.parallelism }} GH_INDEX=${{ matrix.index }} diff --git a/.github/workflows/mixin.yaml b/.github/workflows/mixin.yaml deleted file mode 100644 index 08e0f3e8e17..00000000000 --- a/.github/workflows/mixin.yaml +++ /dev/null @@ -1,48 +0,0 @@ -name: mixin - -on: - push: - branches: [main] - pull_request: - branches: [main] - -permissions: - contents: read - -jobs: - build: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - - name: Set up Go - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 - with: - go-version: 1.22.x - - - name: Generate - run: make examples - - - name: Check - run: make check-examples - - lint: - runs-on: ubuntu-latest - name: Linters (Static Analysis) for Jsonnet (mixin) - steps: - - name: Checkout code - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - - name: Install Go - uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 - with: - go-version: 1.22.x - - - name: Format - run: | - make jsonnet-format - git diff --exit-code - - - name: Linting - run: make jsonnet-lint diff --git a/.github/workflows/react.yml b/.github/workflows/react.yml deleted file mode 100644 index d7c41641366..00000000000 --- a/.github/workflows/react.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: react - -on: - push: - branches: - - main - pull_request: - -permissions: - contents: read - -jobs: - build: - runs-on: ubuntu-latest - strategy: - matrix: - node: [ '14' ] - name: React UI test on Node ${{ matrix.node }} - steps: - - name: Checkout code - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 - - - name: Install nodejs - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3 - with: - node-version: ${{ matrix.node }} - - - uses: actions/cache@0c907a75c2c80ebcb7f088228285e798b750cf8f # v4.2.1 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - - run: CI=false make check-react-app - - run: make react-app-test