├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ ├── config.yml │ └── feature_request.md ├── dependabot.yml ├── linters │ ├── .markdown-lint.yml │ ├── .yaml-lint.yml │ └── tsconfig.json └── workflows │ ├── check-dist.yml │ └── test.yml ├── .gitignore ├── .mergify.yml ├── .prettierignore ├── .prettierrc.json ├── CHANGELOG.md ├── LICENSE ├── README.md ├── __tests__ ├── .env.template ├── .eslintrc.json ├── __mocks__ │ └── @yandex-cloud │ │ ├── get-operation.ts │ │ ├── nodejs-sdk.ts │ │ └── nodejs-sdk │ │ ├── iam-v1.ts │ │ ├── lockbox-v1.ts │ │ ├── logging-v1.ts │ │ ├── serverless-functions-v1.ts │ │ └── serverless-functions-v1 │ │ └── function.ts ├── __snapshots__ │ └── zip-sources.test.ts.snap ├── environment.test.ts ├── foo │ ├── 1.txt │ └── 2.txt ├── log-level.test.ts ├── main.test.ts ├── memory.test.ts ├── mounts.test.ts ├── secrets.test.ts ├── service-account-json.test.ts ├── src │ ├── bar │ │ ├── 1.txt │ │ └── 2.txt │ ├── exclude.txt │ ├── exclude.yaml │ ├── foo │ │ ├── 1.txt │ │ └── 2.txt │ └── func.js ├── tsconfig.json └── zip-sources.test.ts ├── action.yml ├── adr └── 001_mounts.md ├── dist ├── index.js ├── index.js.map ├── licenses.txt ├── proto │ └── channelz.proto └── sourcemap-register.js ├── eslint.config.mjs ├── jest.config.js ├── package.json ├── src ├── actionInputs.ts ├── async-invocation.ts ├── auth.ts ├── index.ts ├── main.ts ├── parse │ ├── environmentVariables.ts │ ├── globPatterns.ts │ ├── index.ts │ ├── lockboxVariables.ts │ ├── logLevel.ts │ ├── memory.ts │ ├── mounts.ts │ └── saJson.ts ├── service-account.ts ├── storage │ ├── __mocks__ │ │ └── index.ts │ ├── index.ts │ └── storage-object.ts ├── summary.ts └── zip.ts └── tsconfig.json /.gitattributes: -------------------------------------------------------------------------------- 1 | dist/** -diff linguist-generated=true -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/linters/.markdown-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/.github/linters/.markdown-lint.yml -------------------------------------------------------------------------------- /.github/linters/.yaml-lint.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/.github/linters/.yaml-lint.yml -------------------------------------------------------------------------------- /.github/linters/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/.github/linters/tsconfig.json -------------------------------------------------------------------------------- /.github/workflows/check-dist.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/.github/workflows/check-dist.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/.gitignore -------------------------------------------------------------------------------- /.mergify.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/.mergify.yml -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | dist/ 2 | lib/ 3 | node_modules/ -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/README.md -------------------------------------------------------------------------------- /__tests__/.env.template: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/.env.template -------------------------------------------------------------------------------- /__tests__/.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/.eslintrc.json -------------------------------------------------------------------------------- /__tests__/__mocks__/@yandex-cloud/get-operation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/__mocks__/@yandex-cloud/get-operation.ts -------------------------------------------------------------------------------- /__tests__/__mocks__/@yandex-cloud/nodejs-sdk.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/__mocks__/@yandex-cloud/nodejs-sdk.ts -------------------------------------------------------------------------------- /__tests__/__mocks__/@yandex-cloud/nodejs-sdk/iam-v1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/__mocks__/@yandex-cloud/nodejs-sdk/iam-v1.ts -------------------------------------------------------------------------------- /__tests__/__mocks__/@yandex-cloud/nodejs-sdk/lockbox-v1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/__mocks__/@yandex-cloud/nodejs-sdk/lockbox-v1.ts -------------------------------------------------------------------------------- /__tests__/__mocks__/@yandex-cloud/nodejs-sdk/logging-v1.ts: -------------------------------------------------------------------------------- 1 | export { logEntry } from '@yandex-cloud/nodejs-sdk/logging-v1' 2 | 3 | jest.disableAutomock() 4 | -------------------------------------------------------------------------------- /__tests__/__mocks__/@yandex-cloud/nodejs-sdk/serverless-functions-v1.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/__mocks__/@yandex-cloud/nodejs-sdk/serverless-functions-v1.ts -------------------------------------------------------------------------------- /__tests__/__mocks__/@yandex-cloud/nodejs-sdk/serverless-functions-v1/function.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/__mocks__/@yandex-cloud/nodejs-sdk/serverless-functions-v1/function.ts -------------------------------------------------------------------------------- /__tests__/__snapshots__/zip-sources.test.ts.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/__snapshots__/zip-sources.test.ts.snap -------------------------------------------------------------------------------- /__tests__/environment.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/environment.test.ts -------------------------------------------------------------------------------- /__tests__/foo/1.txt: -------------------------------------------------------------------------------- 1 | 1foo 2 | -------------------------------------------------------------------------------- /__tests__/foo/2.txt: -------------------------------------------------------------------------------- 1 | 2foo 2 | -------------------------------------------------------------------------------- /__tests__/log-level.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/log-level.test.ts -------------------------------------------------------------------------------- /__tests__/main.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/main.test.ts -------------------------------------------------------------------------------- /__tests__/memory.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/memory.test.ts -------------------------------------------------------------------------------- /__tests__/mounts.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/mounts.test.ts -------------------------------------------------------------------------------- /__tests__/secrets.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/secrets.test.ts -------------------------------------------------------------------------------- /__tests__/service-account-json.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/service-account-json.test.ts -------------------------------------------------------------------------------- /__tests__/src/bar/1.txt: -------------------------------------------------------------------------------- 1 | 1bar 2 | -------------------------------------------------------------------------------- /__tests__/src/bar/2.txt: -------------------------------------------------------------------------------- 1 | 2bar 2 | -------------------------------------------------------------------------------- /__tests__/src/exclude.txt: -------------------------------------------------------------------------------- 1 | some text -------------------------------------------------------------------------------- /__tests__/src/exclude.yaml: -------------------------------------------------------------------------------- 1 | --- 2 | some: text -------------------------------------------------------------------------------- /__tests__/src/foo/1.txt: -------------------------------------------------------------------------------- 1 | 1foo 2 | -------------------------------------------------------------------------------- /__tests__/src/foo/2.txt: -------------------------------------------------------------------------------- 1 | 2foo 2 | -------------------------------------------------------------------------------- /__tests__/src/func.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/src/func.js -------------------------------------------------------------------------------- /__tests__/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/tsconfig.json -------------------------------------------------------------------------------- /__tests__/zip-sources.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/__tests__/zip-sources.test.ts -------------------------------------------------------------------------------- /action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/action.yml -------------------------------------------------------------------------------- /adr/001_mounts.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/adr/001_mounts.md -------------------------------------------------------------------------------- /dist/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/dist/index.js -------------------------------------------------------------------------------- /dist/index.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/dist/index.js.map -------------------------------------------------------------------------------- /dist/licenses.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/dist/licenses.txt -------------------------------------------------------------------------------- /dist/proto/channelz.proto: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/dist/proto/channelz.proto -------------------------------------------------------------------------------- /dist/sourcemap-register.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/dist/sourcemap-register.js -------------------------------------------------------------------------------- /eslint.config.mjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/eslint.config.mjs -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/package.json -------------------------------------------------------------------------------- /src/actionInputs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/actionInputs.ts -------------------------------------------------------------------------------- /src/async-invocation.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/async-invocation.ts -------------------------------------------------------------------------------- /src/auth.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/auth.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- 1 | import { run } from './main' 2 | 3 | run() 4 | -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/main.ts -------------------------------------------------------------------------------- /src/parse/environmentVariables.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/parse/environmentVariables.ts -------------------------------------------------------------------------------- /src/parse/globPatterns.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/parse/globPatterns.ts -------------------------------------------------------------------------------- /src/parse/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/parse/index.ts -------------------------------------------------------------------------------- /src/parse/lockboxVariables.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/parse/lockboxVariables.ts -------------------------------------------------------------------------------- /src/parse/logLevel.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/parse/logLevel.ts -------------------------------------------------------------------------------- /src/parse/memory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/parse/memory.ts -------------------------------------------------------------------------------- /src/parse/mounts.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/parse/mounts.ts -------------------------------------------------------------------------------- /src/parse/saJson.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/parse/saJson.ts -------------------------------------------------------------------------------- /src/service-account.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/service-account.ts -------------------------------------------------------------------------------- /src/storage/__mocks__/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/storage/__mocks__/index.ts -------------------------------------------------------------------------------- /src/storage/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/storage/index.ts -------------------------------------------------------------------------------- /src/storage/storage-object.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/storage/storage-object.ts -------------------------------------------------------------------------------- /src/summary.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/summary.ts -------------------------------------------------------------------------------- /src/zip.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/src/zip.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/yc-actions/yc-sls-function/HEAD/tsconfig.json --------------------------------------------------------------------------------