├── .dockerignore ├── .env ├── .github └── workflows │ ├── ci-cd.yml │ └── release.yml ├── .gitignore ├── .husky ├── commit-msg └── pre-commit ├── .lintstagedrc.mjs ├── .prettierignore ├── .prettierrc.cjs ├── .vscode └── settings.json ├── Dockerfile ├── LICENSE ├── README.md ├── commitlint.config.cjs ├── docker-compose.yml ├── eslint.config.js ├── install └── kubernetes │ └── github-actions-cache-server │ ├── .helmignore │ ├── Chart.yaml │ ├── templates │ ├── NOTES.txt │ ├── _helpers.tpl │ ├── deployment.yaml │ ├── hpa.yaml │ ├── ingress.yaml │ ├── persistentvolumeclaim.yaml │ ├── service.yaml │ ├── serviceaccount.yaml │ └── tests │ │ └── test-connection.yaml │ └── values.yaml ├── lib ├── db │ ├── defineDatabaseDriver.ts │ ├── drivers │ │ ├── index.ts │ │ ├── mysql.ts │ │ ├── postgres.ts │ │ └── sqlite.ts │ ├── index.ts │ └── migrations.ts ├── env.ts ├── logger.ts ├── storage │ ├── drivers │ │ ├── filesystem.ts │ │ ├── gcs.ts │ │ ├── index.ts │ │ └── s3.ts │ ├── index.ts │ └── storage-driver.ts └── utils.ts ├── nitro.config.ts ├── package.json ├── plugins ├── cleanup.ts └── setup.ts ├── pnpm-lock.yaml ├── pnpm-workspace.yaml ├── routes ├── [...path].ts ├── _apis │ └── artifactcache │ │ ├── cache.get.ts │ │ └── caches │ │ ├── [cacheId].patch.ts │ │ ├── [cacheId].post.ts │ │ ├── index.get.ts │ │ └── index.post.ts ├── download │ └── [random] │ │ └── [cacheFileName].ts ├── index.ts ├── twirp │ └── github.actions.results.api.v1.CacheService │ │ ├── CreateCacheEntry.post.ts │ │ ├── FinalizeCacheEntryUpload.ts │ │ └── GetCacheEntryDownloadURL.post.ts └── upload │ └── [cacheId].put.ts ├── tests ├── .env.base ├── .env.filesystem.storage ├── .env.gcs.storage ├── .env.memory.storage ├── .env.mysql.db ├── .env.postgres.db ├── .env.s3.storage ├── .env.sqlite.db ├── action.yml ├── cleanup.test.ts ├── e2e.test.ts ├── key-matching.test.ts ├── setup.ts └── utils.ts ├── tsconfig.json └── vitest.config.ts /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/.dockerignore -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/.env -------------------------------------------------------------------------------- /.github/workflows/ci-cd.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/.github/workflows/ci-cd.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | pnpm commitlint --edit "$1" -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | CI=true pnpm lint-staged -------------------------------------------------------------------------------- /.lintstagedrc.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/.lintstagedrc.mjs -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.cjs: -------------------------------------------------------------------------------- 1 | module.exports = require('@louishaftmann/prettier-config') 2 | -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/README.md -------------------------------------------------------------------------------- /commitlint.config.cjs: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | extends: ['@louishaftmann/commitlint-config'], 3 | } 4 | -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /eslint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/eslint.config.js -------------------------------------------------------------------------------- /install/kubernetes/github-actions-cache-server/.helmignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/install/kubernetes/github-actions-cache-server/.helmignore -------------------------------------------------------------------------------- /install/kubernetes/github-actions-cache-server/Chart.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/install/kubernetes/github-actions-cache-server/Chart.yaml -------------------------------------------------------------------------------- /install/kubernetes/github-actions-cache-server/templates/NOTES.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/install/kubernetes/github-actions-cache-server/templates/NOTES.txt -------------------------------------------------------------------------------- /install/kubernetes/github-actions-cache-server/templates/_helpers.tpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/install/kubernetes/github-actions-cache-server/templates/_helpers.tpl -------------------------------------------------------------------------------- /install/kubernetes/github-actions-cache-server/templates/deployment.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/install/kubernetes/github-actions-cache-server/templates/deployment.yaml -------------------------------------------------------------------------------- /install/kubernetes/github-actions-cache-server/templates/hpa.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/install/kubernetes/github-actions-cache-server/templates/hpa.yaml -------------------------------------------------------------------------------- /install/kubernetes/github-actions-cache-server/templates/ingress.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/install/kubernetes/github-actions-cache-server/templates/ingress.yaml -------------------------------------------------------------------------------- /install/kubernetes/github-actions-cache-server/templates/persistentvolumeclaim.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/install/kubernetes/github-actions-cache-server/templates/persistentvolumeclaim.yaml -------------------------------------------------------------------------------- /install/kubernetes/github-actions-cache-server/templates/service.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/install/kubernetes/github-actions-cache-server/templates/service.yaml -------------------------------------------------------------------------------- /install/kubernetes/github-actions-cache-server/templates/serviceaccount.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/install/kubernetes/github-actions-cache-server/templates/serviceaccount.yaml -------------------------------------------------------------------------------- /install/kubernetes/github-actions-cache-server/templates/tests/test-connection.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/install/kubernetes/github-actions-cache-server/templates/tests/test-connection.yaml -------------------------------------------------------------------------------- /install/kubernetes/github-actions-cache-server/values.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/install/kubernetes/github-actions-cache-server/values.yaml -------------------------------------------------------------------------------- /lib/db/defineDatabaseDriver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/lib/db/defineDatabaseDriver.ts -------------------------------------------------------------------------------- /lib/db/drivers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/lib/db/drivers/index.ts -------------------------------------------------------------------------------- /lib/db/drivers/mysql.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/lib/db/drivers/mysql.ts -------------------------------------------------------------------------------- /lib/db/drivers/postgres.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/lib/db/drivers/postgres.ts -------------------------------------------------------------------------------- /lib/db/drivers/sqlite.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/lib/db/drivers/sqlite.ts -------------------------------------------------------------------------------- /lib/db/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/lib/db/index.ts -------------------------------------------------------------------------------- /lib/db/migrations.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/lib/db/migrations.ts -------------------------------------------------------------------------------- /lib/env.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/lib/env.ts -------------------------------------------------------------------------------- /lib/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/lib/logger.ts -------------------------------------------------------------------------------- /lib/storage/drivers/filesystem.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/lib/storage/drivers/filesystem.ts -------------------------------------------------------------------------------- /lib/storage/drivers/gcs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/lib/storage/drivers/gcs.ts -------------------------------------------------------------------------------- /lib/storage/drivers/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/lib/storage/drivers/index.ts -------------------------------------------------------------------------------- /lib/storage/drivers/s3.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/lib/storage/drivers/s3.ts -------------------------------------------------------------------------------- /lib/storage/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/lib/storage/index.ts -------------------------------------------------------------------------------- /lib/storage/storage-driver.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/lib/storage/storage-driver.ts -------------------------------------------------------------------------------- /lib/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/lib/utils.ts -------------------------------------------------------------------------------- /nitro.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/nitro.config.ts -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/package.json -------------------------------------------------------------------------------- /plugins/cleanup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/plugins/cleanup.ts -------------------------------------------------------------------------------- /plugins/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/plugins/setup.ts -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /pnpm-workspace.yaml: -------------------------------------------------------------------------------- 1 | shamefullyHoist: true 2 | strictPeerDependencies: false 3 | -------------------------------------------------------------------------------- /routes/[...path].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/routes/[...path].ts -------------------------------------------------------------------------------- /routes/_apis/artifactcache/cache.get.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/routes/_apis/artifactcache/cache.get.ts -------------------------------------------------------------------------------- /routes/_apis/artifactcache/caches/[cacheId].patch.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/routes/_apis/artifactcache/caches/[cacheId].patch.ts -------------------------------------------------------------------------------- /routes/_apis/artifactcache/caches/[cacheId].post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/routes/_apis/artifactcache/caches/[cacheId].post.ts -------------------------------------------------------------------------------- /routes/_apis/artifactcache/caches/index.get.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/routes/_apis/artifactcache/caches/index.get.ts -------------------------------------------------------------------------------- /routes/_apis/artifactcache/caches/index.post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/routes/_apis/artifactcache/caches/index.post.ts -------------------------------------------------------------------------------- /routes/download/[random]/[cacheFileName].ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/routes/download/[random]/[cacheFileName].ts -------------------------------------------------------------------------------- /routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/routes/index.ts -------------------------------------------------------------------------------- /routes/twirp/github.actions.results.api.v1.CacheService/CreateCacheEntry.post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/routes/twirp/github.actions.results.api.v1.CacheService/CreateCacheEntry.post.ts -------------------------------------------------------------------------------- /routes/twirp/github.actions.results.api.v1.CacheService/FinalizeCacheEntryUpload.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/routes/twirp/github.actions.results.api.v1.CacheService/FinalizeCacheEntryUpload.ts -------------------------------------------------------------------------------- /routes/twirp/github.actions.results.api.v1.CacheService/GetCacheEntryDownloadURL.post.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/routes/twirp/github.actions.results.api.v1.CacheService/GetCacheEntryDownloadURL.post.ts -------------------------------------------------------------------------------- /routes/upload/[cacheId].put.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/routes/upload/[cacheId].put.ts -------------------------------------------------------------------------------- /tests/.env.base: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/tests/.env.base -------------------------------------------------------------------------------- /tests/.env.filesystem.storage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/tests/.env.filesystem.storage -------------------------------------------------------------------------------- /tests/.env.gcs.storage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/tests/.env.gcs.storage -------------------------------------------------------------------------------- /tests/.env.memory.storage: -------------------------------------------------------------------------------- 1 | STORAGE_DRIVER=memory -------------------------------------------------------------------------------- /tests/.env.mysql.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/tests/.env.mysql.db -------------------------------------------------------------------------------- /tests/.env.postgres.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/tests/.env.postgres.db -------------------------------------------------------------------------------- /tests/.env.s3.storage: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/tests/.env.s3.storage -------------------------------------------------------------------------------- /tests/.env.sqlite.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/tests/.env.sqlite.db -------------------------------------------------------------------------------- /tests/action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/tests/action.yml -------------------------------------------------------------------------------- /tests/cleanup.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/tests/cleanup.test.ts -------------------------------------------------------------------------------- /tests/e2e.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/tests/e2e.test.ts -------------------------------------------------------------------------------- /tests/key-matching.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/tests/key-matching.test.ts -------------------------------------------------------------------------------- /tests/setup.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/tests/setup.ts -------------------------------------------------------------------------------- /tests/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/tests/utils.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "./.nitro/types/tsconfig.json" 3 | } 4 | -------------------------------------------------------------------------------- /vitest.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/falcondev-oss/github-actions-cache-server/HEAD/vitest.config.ts --------------------------------------------------------------------------------