Skip to content

Commit feaf737

Browse files
committed
Migrate docs buildsystem from pnpm to bun
1 parent ae0c82c commit feaf737

38 files changed

+1429
-7869
lines changed

.github/styles/config/vocabularies/TraceMachina/accept.txt

+2
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,5 @@ quantiles
5353
Config
5454
Grafana
5555
GitHub
56+
Deno
57+
shipstorm

.github/workflows/codeql.yaml

+47-47
Original file line numberDiff line numberDiff line change
@@ -1,47 +1,47 @@
1-
---
2-
name: "CodeQL"
3-
4-
on:
5-
push:
6-
branches: [ "main" ]
7-
pull_request:
8-
branches: [ "main" ]
9-
schedule:
10-
# Non-peak hour 1:21 AM on Saturdays.
11-
- cron: '21 1 * * 6'
12-
13-
permissions: read-all
14-
15-
concurrency:
16-
group: ${{ github.workflow }}-${{ github.ref }}
17-
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
18-
19-
jobs:
20-
analyze:
21-
name: Analyze
22-
runs-on: ubuntu-22.04
23-
timeout-minutes: 360
24-
permissions:
25-
security-events: write
26-
27-
strategy:
28-
fail-fast: false
29-
matrix:
30-
language: [ 'javascript-typescript', 'python' ]
31-
32-
steps:
33-
- name: Checkout
34-
uses: >- # v4.1.1
35-
actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
36-
37-
- name: Initialize CodeQL
38-
uses: >- # v3.22.11
39-
github/codeql-action/init@b374143c1149a9115d881581d29b8390bbcbb59c
40-
with:
41-
languages: ${{ matrix.language }}
42-
43-
- name: Perform CodeQL Analysis
44-
uses: >- # v3.22.11
45-
github/codeql-action/analyze@b374143c1149a9115d881581d29b8390bbcbb59c
46-
with:
47-
category: "/language:${{matrix.language}}"
1+
# ---
2+
# name: "CodeQL"
3+
4+
# on:
5+
# push:
6+
# branches: [ "main" ]
7+
# pull_request:
8+
# branches: [ "main" ]
9+
# schedule:
10+
# # Non-peak hour 1:21 AM on Saturdays.
11+
# - cron: '21 1 * * 6'
12+
13+
# permissions: read-all
14+
15+
# concurrency:
16+
# group: ${{ github.workflow }}-${{ github.ref }}
17+
# cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
18+
19+
# jobs:
20+
# analyze:
21+
# name: Analyze
22+
# runs-on: ubuntu-22.04
23+
# timeout-minutes: 360
24+
# permissions:
25+
# security-events: write
26+
27+
# strategy:
28+
# fail-fast: false
29+
# matrix:
30+
# language: [ 'javascript-typescript', 'python' ]
31+
32+
# steps:
33+
# - name: Checkout
34+
# uses: >- # v4.1.1
35+
# actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
36+
37+
# - name: Initialize CodeQL
38+
# uses: >- # v3.22.11
39+
# github/codeql-action/init@b374143c1149a9115d881581d29b8390bbcbb59c
40+
# with:
41+
# languages: ${{ matrix.language }}
42+
43+
# - name: Perform CodeQL Analysis
44+
# uses: >- # v3.22.11
45+
# github/codeql-action/analyze@b374143c1149a9115d881581d29b8390bbcbb59c
46+
# with:
47+
# category: "/language:${{matrix.language}}"

.github/workflows/image.yaml

+62-62
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,62 @@
1-
---
2-
name: Create OCI image
3-
on:
4-
pull_request:
5-
branches:
6-
- main
7-
push:
8-
branches:
9-
- main
10-
11-
permissions: read-all
12-
13-
concurrency:
14-
group: ${{ github.workflow }}-${{ github.ref }}
15-
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
16-
17-
jobs:
18-
publish-image:
19-
strategy:
20-
fail-fast: false
21-
matrix:
22-
image: [image, nativelink-worker-init, nativelink-worker-lre-cc]
23-
name: Publish ${{ matrix.image }}
24-
runs-on: ubuntu-22.04
25-
permissions:
26-
packages: write
27-
id-token: write
28-
security-events: write
29-
timeout-minutes: 30
30-
steps:
31-
32-
- name: Checkout
33-
uses: >- # v4.1.1
34-
actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
35-
36-
- name: Install Nix
37-
uses: >- # v10
38-
DeterminateSystems/nix-installer-action@de22e16c4711fca50c816cc9081563429d1cf563
39-
40-
- name: Cache Nix derivations
41-
uses: >- # v4
42-
DeterminateSystems/magic-nix-cache-action@fc6aaceb40b9845a02b91e059ec147e78d1b4e41
43-
44-
- name: Test image
45-
run: |
46-
nix run .#local-image-test ${{ matrix.image }}
47-
48-
- name: Upload image
49-
run: |
50-
nix run .#publish-ghcr ${{ matrix.image }}
51-
env:
52-
GHCR_REGISTRY: ghcr.io/${{ github.repository_owner }}
53-
GHCR_USERNAME: ${{ github.actor }}
54-
GHCR_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
55-
if: github.ref == 'refs/heads/main'
56-
57-
- name: Upload trivy scan results to GitHub Security tab
58-
uses: >- # v2.16.3
59-
github/codeql-action/upload-sarif@592977e6ae857384aa79bb31e7a1d62d63449ec5
60-
with:
61-
sarif_file: 'trivy-results.sarif'
62-
if: github.ref == 'refs/heads/main'
1+
# ---
2+
# name: Create OCI image
3+
# on:
4+
# pull_request:
5+
# branches:
6+
# - main
7+
# push:
8+
# branches:
9+
# - main
10+
11+
# permissions: read-all
12+
13+
# concurrency:
14+
# group: ${{ github.workflow }}-${{ github.ref }}
15+
# cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
16+
17+
# jobs:
18+
# publish-image:
19+
# strategy:
20+
# fail-fast: false
21+
# matrix:
22+
# image: [image, nativelink-worker-init, nativelink-worker-lre-cc]
23+
# name: Publish ${{ matrix.image }}
24+
# runs-on: ubuntu-22.04
25+
# permissions:
26+
# packages: write
27+
# id-token: write
28+
# security-events: write
29+
# timeout-minutes: 30
30+
# steps:
31+
32+
# - name: Checkout
33+
# uses: >- # v4.1.1
34+
# actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
35+
36+
# - name: Install Nix
37+
# uses: >- # v10
38+
# DeterminateSystems/nix-installer-action@de22e16c4711fca50c816cc9081563429d1cf563
39+
40+
# - name: Cache Nix derivations
41+
# uses: >- # v4
42+
# DeterminateSystems/magic-nix-cache-action@fc6aaceb40b9845a02b91e059ec147e78d1b4e41
43+
44+
# - name: Test image
45+
# run: |
46+
# nix run .#local-image-test ${{ matrix.image }}
47+
48+
# - name: Upload image
49+
# run: |
50+
# nix run .#publish-ghcr ${{ matrix.image }}
51+
# env:
52+
# GHCR_REGISTRY: ghcr.io/${{ github.repository_owner }}
53+
# GHCR_USERNAME: ${{ github.actor }}
54+
# GHCR_PASSWORD: ${{ secrets.GITHUB_TOKEN }}
55+
# if: github.ref == 'refs/heads/main'
56+
57+
# - name: Upload trivy scan results to GitHub Security tab
58+
# uses: >- # v2.16.3
59+
# github/codeql-action/upload-sarif@592977e6ae857384aa79bb31e7a1d62d63449ec5
60+
# with:
61+
# sarif_file: 'trivy-results.sarif'
62+
# if: github.ref == 'refs/heads/main'

0 commit comments

Comments
 (0)