Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Bump eslint from 7.21.0 to 7.22.0 in /modules/runners/lambdas/runners #680

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
fc618ad
chore(ci): disable dry run release for master
npalm Mar 9, 2021
7a68734
feat: Allow setting the market_options runners module to disable spot…
dimisjim Mar 11, 2021
e9f8d8a
chore: Bump @types/node from 14.14.31 to 14.14.32 in /modules/runners…
dependabot[bot] Mar 11, 2021
42fd6fd
chore: Bump @types/node from 14.14.31 to 14.14.32 in /modules/runner-…
dependabot[bot] Mar 11, 2021
f69d46e
chore: Bump nock in /modules/runners/lambdas/runners (#645)
dependabot[bot] Mar 11, 2021
152ce63
chore: Bump ts-node-dev in /modules/runners/lambdas/runners (#588)
dependabot[bot] Mar 11, 2021
b4f9955
chore: Bump aws-sdk in /modules/runners/lambdas/runners (#671)
dependabot[bot] Mar 12, 2021
ea3b583
chore: Bump @octokit/types in /modules/runners/lambdas/runners (#669)
dependabot[bot] Mar 12, 2021
caff2d6
chore: Bump @types/node in /modules/webhook/lambdas/webhook (#676)
dependabot[bot] Mar 12, 2021
22434c2
chore: Bump aws-sdk (#675)
dependabot[bot] Mar 12, 2021
1b24c62
chore: Bump aws-sdk in /modules/webhook/lambdas/webhook (#674)
dependabot[bot] Mar 12, 2021
9842cc5
chore: Bump @types/node (#677)
dependabot[bot] Mar 13, 2021
75c8058
chore: Bump @types/node in /modules/runners/lambdas/runners (#673)
dependabot[bot] Mar 13, 2021
ca954fb
chore: Bump @octokit/rest in /modules/webhook/lambdas/webhook (#668)
dependabot[bot] Mar 13, 2021
ceb8796
chore: Bump @typescript-eslint/eslint-plugin (#662)
dependabot[bot] Mar 13, 2021
3799260
chore: Bump @octokit/rest (#667)
dependabot[bot] Mar 13, 2021
d4710cd
chore: Bump @typescript-eslint/parser (#672)
dependabot[bot] Mar 13, 2021
9cb2501
chore: Bump @octokit/webhooks in /modules/webhook/lambdas/webhook (#632)
dependabot[bot] Mar 13, 2021
c28ff02
chore: Bump @octokit/rest in /modules/runners/lambdas/runners (#666)
dependabot[bot] Mar 13, 2021
049215a
chore: Bump @typescript-eslint/parser (#679)
dependabot[bot] Mar 15, 2021
ff87c49
chore: Bump aws-sdk (#688)
dependabot[bot] Mar 15, 2021
60734fb
chore: Bump @octokit/webhooks in /modules/webhook/lambdas/webhook (#683)
dependabot[bot] Mar 15, 2021
97f99d8
chore: Bump aws-sdk in /modules/webhook/lambdas/webhook (#678)
dependabot[bot] Mar 15, 2021
e677d76
chore: Bump eslint (#687)
dependabot[bot] Mar 15, 2021
4e8e62b
chore: Bump @typescript-eslint/eslint-plugin (#686)
dependabot[bot] Mar 15, 2021
cf523a1
chore: Bump eslint in /modules/runners/lambdas/runners
dependabot[bot] Mar 15, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,20 +62,21 @@ jobs:
appInstallationType: repo
appInstallationValue: ${{ github.repository }}

- name: Release
if: github.event_name != 'pull_request' && contains('refs/heads/master', github.ref)
- name: Dry run release
if: github.event_name != 'pull_request'
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
cp .release/* .
yarn
yarn release -d --repositoryUrl https://x-access-token:[email protected]/$GITHUB_REPOSITORY.git

- name: Dry run release
if: github.event_name != 'pull_request'
- name: Release
if: github.event_name != 'pull_request' && contains('refs/heads/master', github.ref)
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
run: |
cp .release/* .
yarn
yarn release -d --repositoryUrl https://x-access-token:[email protected]/$GITHUB_REPOSITORY.git
yarn release --repositoryUrl https://x-access-token:[email protected]/$GITHUB_REPOSITORY.git

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,7 @@ No requirements.
| lambda\_subnet\_ids | List of subnets in which the action runners will be launched, the subnets needs to be subnets in the `vpc_id`. | `list(string)` | `[]` | no |
| logging\_retention\_in\_days | Specifies the number of days you want to retain log events for the lambda log group. Possible values are: 0, 1, 3, 5, 7, 14, 30, 60, 90, 120, 150, 180, 365, 400, 545, 731, 1827, and 3653. | `number` | `180` | no |
| manage\_kms\_key | Let the module manage the KMS key. | `bool` | `true` | no |
| market\_options | Set it to null to use on demand runners. | `string` | `"spot"` | no |
| minimum\_running\_time\_in\_minutes | The time an ec2 action runner should be running at minimum before terminated if non busy. | `number` | `5` | no |
| role\_path | The path that will be added to role path for created roles, if not set the environment name will be used. | `string` | `null` | no |
| role\_permissions\_boundary | Permissions boundary that will be added to the created roles. | `string` | `null` | no |
Expand Down
1 change: 1 addition & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ module "runners" {
s3_location_runner_binaries = local.s3_action_runner_url

instance_type = var.instance_type
market_options = var.market_options
block_device_mappings = var.block_device_mappings

runner_architecture = local.runner_architecture
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
"format-check": "prettier --check \"**/*.ts\""
},
"devDependencies": {
"@octokit/rest": "^18.2.0",
"@octokit/rest": "^18.3.5",
"@types/jest": "^26.0.20",
"@types/node": "^14.14.31",
"@types/node": "^14.14.34",
"@types/request": "^2.48.4",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"@zeit/ncc": "^0.22.1",
"aws-sdk": "^2.848.0",
"eslint": "^7.21.0",
"aws-sdk": "^2.863.0",
"eslint": "^7.22.0",
"jest": "^26.6.3",
"ts-jest": "^26.5.3",
"ts-node-dev": "^1.1.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -543,10 +543,10 @@
resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-2.0.0.tgz#6d8f8ad9db3b75a39115f5def2654df8bed39f28"
integrity sha512-J4bfM7lf8oZvEAdpS71oTvC1ofKxfEZgU5vKVwzZKi4QPiL82udjpseJwxPid9Pu2FNmyRQOX4iEj6W1iOSnPw==

"@octokit/openapi-types@^5.1.0":
version "5.1.0"
resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-5.1.0.tgz#661fd03c7d55fbcb0a0937d3353d87dea012f52c"
integrity sha512-bodZvSYgycbUuuKrC/anCBUExvaSSWzMMFz0xl7pcJujxnmGxvqvcFHktjx1ZOSyeNKLfYF0QCgibaHUGsZTng==
"@octokit/openapi-types@^5.3.2":
version "5.3.2"
resolved "https://registry.yarnpkg.com/@octokit/openapi-types/-/openapi-types-5.3.2.tgz#b8ac43c5c3d00aef61a34cf744e315110c78deb4"
integrity sha512-NxF1yfYOUO92rCx3dwvA2onF30Vdlg7YUkMVXkeptqpzA3tRLplThhFleV/UKWFgh7rpKu1yYRbvNDUtzSopKA==

"@octokit/plugin-paginate-rest@^2.6.2":
version "2.6.2"
Expand All @@ -560,12 +560,12 @@
resolved "https://registry.yarnpkg.com/@octokit/plugin-request-log/-/plugin-request-log-1.0.2.tgz#394d59ec734cd2f122431fbaf05099861ece3c44"
integrity sha512-oTJSNAmBqyDR41uSMunLQKMX0jmEXbwD1fpz8FG27lScV3RhtGfBa1/BBLym+PxcC16IBlF7KH9vP1BUYxA+Eg==

"@octokit/plugin-rest-endpoint-methods@4.12.0":
version "4.12.0"
resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.12.0.tgz#1cec405cd4eaf0bdb58cb7d2a9b3d8473b3a70e8"
integrity sha512-RgnQ1aoetdOJjZYC37LV5FNlL7GY/v1CdC5dur1Zp/UiADJlbRFbAz/xLx26ovXw67dK7EUtwCghS+6QyiI9RA==
"@octokit/plugin-rest-endpoint-methods@4.13.5":
version "4.13.5"
resolved "https://registry.yarnpkg.com/@octokit/plugin-rest-endpoint-methods/-/plugin-rest-endpoint-methods-4.13.5.tgz#ad76285b82fe05fbb4adf2774a9c887f3534a880"
integrity sha512-kYKcWkFm4Ldk8bZai2RVEP1z97k1C/Ay2FN9FNTBg7JIyKoiiJjks4OtT6cuKeZX39tqa+C3J9xeYc6G+6g8uQ==
dependencies:
"@octokit/types" "^6.10.0"
"@octokit/types" "^6.12.2"
deprecation "^2.3.1"

"@octokit/request-error@^2.0.0":
Expand Down Expand Up @@ -605,15 +605,15 @@
once "^1.4.0"
universal-user-agent "^6.0.0"

"@octokit/rest@^18.2.0":
version "18.2.0"
resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-18.2.0.tgz#b75c87870bb1f7bc9f37ae0e9acb3a411a34a25f"
integrity sha512-xsp6bIqL2sb/NmgLXTxw96caegobRw+YHnzdIi70ruquHtPPDW2cBAONhDYMUuAOeXx0JH2auOeplpk4SQJy1w==
"@octokit/rest@^18.3.5":
version "18.3.5"
resolved "https://registry.yarnpkg.com/@octokit/rest/-/rest-18.3.5.tgz#a89903d46e0b4273bd3234674ec2777a651d68ab"
integrity sha512-ZPeRms3WhWxQBEvoIh0zzf8xdU2FX0Capa7+lTca8YHmRsO3QNJzf1H3PcuKKsfgp91/xVDRtX91sTe1kexlbw==
dependencies:
"@octokit/core" "^3.2.3"
"@octokit/plugin-paginate-rest" "^2.6.2"
"@octokit/plugin-request-log" "^1.0.2"
"@octokit/plugin-rest-endpoint-methods" "4.12.0"
"@octokit/plugin-rest-endpoint-methods" "4.13.5"

"@octokit/types@^5.0.0", "@octokit/types@^5.0.1":
version "5.2.0"
Expand All @@ -630,12 +630,12 @@
"@octokit/openapi-types" "^2.0.0"
"@types/node" ">= 8"

"@octokit/types@^6.10.0":
version "6.10.0"
resolved "https://registry.yarnpkg.com/@octokit/types/-/types-6.10.0.tgz#243faa864b0955f574012d52e179de38ac9ebafe"
integrity sha512-aMDo10kglofejJ96edCBIgQLVuzMDyjxmhdgEcoUUD64PlHYSrNsAGqN0wZtoiX4/PCQ3JLA50IpkP1bcKD/cA==
"@octokit/types@^6.12.2":
version "6.12.2"
resolved "https://registry.yarnpkg.com/@octokit/types/-/types-6.12.2.tgz#5b44add079a478b8eb27d78cf384cc47e4411362"
integrity sha512-kCkiN8scbCmSq+gwdJV0iLgHc0O/GTPY1/cffo9kECu1MvatLPh9E+qFhfRIktKfHEA6ZYvv6S1B4Wnv3bi3pA==
dependencies:
"@octokit/openapi-types" "^5.1.0"
"@octokit/openapi-types" "^5.3.2"

"@sinonjs/commons@^1.7.0":
version "1.8.1"
Expand Down Expand Up @@ -740,10 +740,10 @@
resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.5.tgz#dcce4430e64b443ba8945f0290fb564ad5bac6dd"
integrity sha512-7+2BITlgjgDhH0vvwZU/HZJVyk+2XUlvxXe8dFMedNX/aMkaOq++rMAFXc0tM7ij15QaWlbdQASBR9dihi+bDQ==

"@types/node@*", "@types/node@>= 8", "@types/node@^14.14.31":
version "14.14.31"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.31.tgz#72286bd33d137aa0d152d47ec7c1762563d34055"
integrity sha512-vFHy/ezP5qI0rFgJ7aQnjDXwAMrG0KqqIH7tQG5PPv3BWBayOPIQNBjVc/P6hhdZfMx51REc6tfDNXHUio893g==
"@types/node@*", "@types/node@>= 8", "@types/node@^14.14.34":
version "14.14.34"
resolved "https://registry.yarnpkg.com/@types/node/-/node-14.14.34.tgz#07935194fc049069a1c56c0c274265abeddf88da"
integrity sha512-dBPaxocOK6UVyvhbnpFIj2W+S+1cBTkHQbFQfeeJhoKFbzYcVUGHvddeWPSucKATb3F0+pgDq0i6ghEaZjsugA==

"@types/normalize-package-data@^2.4.0":
version "2.4.0"
Expand Down Expand Up @@ -1037,10 +1037,10 @@ atob@^2.1.2:
resolved "https://registry.yarnpkg.com/atob/-/atob-2.1.2.tgz#6d9517eb9e030d2436666651e86bd9f6f13533c9"
integrity sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==

aws-sdk@^2.848.0:
version "2.848.0"
resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.848.0.tgz#5e7706ddd30a55a2d5a5b64c29682a757607ee64"
integrity sha512-c/e5kaEFl+9aYkrYDkmu5mSZlL+EfP6DnBOMD06fH12gIsaFSMBGtbsDTHABhvSu++LxeI1dJAD148O17MuZvg==
aws-sdk@^2.863.0:
version "2.863.0"
resolved "https://registry.yarnpkg.com/aws-sdk/-/aws-sdk-2.863.0.tgz#602d244a947ce31c8d84de73f9a5b74e7cb95f5b"
integrity sha512-krr0047EOl9qpRdhPoyYxI7+viVUpX+t+Vjbf+alXdOE172DC+hFi8y6egIM1xVV4KkMFm0y0EykBWgA93XNNA==
dependencies:
buffer "4.9.2"
events "1.1.1"
Expand Down Expand Up @@ -1692,10 +1692,10 @@ eslint-visitor-keys@^2.0.0:
resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.0.0.tgz#21fdc8fbcd9c795cc0321f0563702095751511a8"
integrity sha512-QudtT6av5WXels9WjIM7qz1XD1cWGvX4gGXvp/zBn9nXG02D0utdU3Em2m/QjTnrsk6bBjmCygl3rmj118msQQ==

eslint@^7.21.0:
version "7.21.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.21.0.tgz#4ecd5b8c5b44f5dedc9b8a110b01bbfeb15d1c83"
integrity sha512-W2aJbXpMNofUp0ztQaF40fveSsJBjlSCSWpy//gzfTvwC+USs/nceBrKmlJOiM8r1bLwP2EuYkCqArn/6QTIgg==
eslint@^7.22.0:
version "7.22.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-7.22.0.tgz#07ecc61052fec63661a2cab6bd507127c07adc6f"
integrity sha512-3VawOtjSJUQiiqac8MQc+w457iGLfuNGLFn8JmF051tTKbh5/x/0vlcEj8OgDCaw7Ysa2Jn8paGshV7x2abKXg==
dependencies:
"@babel/code-frame" "7.12.11"
"@eslint/eslintrc" "^0.4.0"
Expand All @@ -1714,15 +1714,15 @@ eslint@^7.21.0:
file-entry-cache "^6.0.1"
functional-red-black-tree "^1.0.1"
glob-parent "^5.0.0"
globals "^12.1.0"
globals "^13.6.0"
ignore "^4.0.6"
import-fresh "^3.0.0"
imurmurhash "^0.1.4"
is-glob "^4.0.0"
js-yaml "^3.13.1"
json-stable-stringify-without-jsonify "^1.0.1"
levn "^0.4.1"
lodash "^4.17.20"
lodash "^4.17.21"
minimatch "^3.0.4"
natural-compare "^1.4.0"
optionator "^0.9.1"
Expand Down Expand Up @@ -2126,6 +2126,13 @@ globals@^12.1.0:
dependencies:
type-fest "^0.8.1"

globals@^13.6.0:
version "13.6.0"
resolved "https://registry.yarnpkg.com/globals/-/globals-13.6.0.tgz#d77138e53738567bb96a3916ff6f6b487af20ef7"
integrity sha512-YFKCX0SiPg7l5oKYCJ2zZGxcXprVXHcSnVuvzrT3oSENQonVLqM5pf9fN5dLGZGyCjhw8TN8Btwe/jKnZ0pjvQ==
dependencies:
type-fest "^0.20.2"

globby@^11.0.1:
version "11.0.1"
resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.1.tgz#9a2bf107a068f3ffeabc49ad702c79ede8cfd357"
Expand Down Expand Up @@ -3116,10 +3123,10 @@ lodash.sortby@^4.7.0:
resolved "https://registry.yarnpkg.com/lodash.sortby/-/lodash.sortby-4.7.0.tgz#edd14c824e2cc9c1e0b0a1b42bb5210516a42438"
integrity sha1-7dFMgk4sycHgsKG0K7UhBRakJDg=

[email protected], lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20:
version "4.17.20"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.20.tgz#b44a9b6297bcb698f1c51a3545a2b3b368d59c52"
integrity sha512-PlhdFcillOINfeV7Ni6oF1TAEayyZBoZ8bcshTHqOYJYlrqzRK5hagpagky5o4HfCzzd1TRkXPMFq6cKk9rGmA==
[email protected], lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21:
version "4.17.21"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==

loud-rejection@^1.0.0:
version "1.6.0"
Expand Down Expand Up @@ -4462,6 +4469,11 @@ type-fest@^0.11.0:
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.11.0.tgz#97abf0872310fed88a5c466b25681576145e33f1"
integrity sha512-OdjXJxnCN1AvyLSzeKIgXTXxV+99ZuXl3Hpo9XpJAv9MBcHrrJOQ5kV7ypXOuQie+AmWG25hLbiKdwYTifzcfQ==

type-fest@^0.20.2:
version "0.20.2"
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4"
integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==

type-fest@^0.6.0:
version "0.6.0"
resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.6.0.tgz#8d2a2370d3df886eb5c90ada1c5bf6188acf838b"
Expand Down
18 changes: 9 additions & 9 deletions modules/runners/lambdas/runners/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@
"@types/aws-lambda": "^8.10.72",
"@types/express": "^4.17.11",
"@types/jest": "^26.0.20",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"@typescript-eslint/eslint-plugin": "^4.17.0",
"@typescript-eslint/parser": "^4.17.0",
"@vercel/ncc": "^0.27.0",
"eslint": "^7.21.0",
"eslint": "^7.22.0",
"jest": "^26.6.3",
"jest-mock-extended": "^1.0.13",
"moment-timezone": "^0.5.33",
"nock": "^13.0.10",
"nock": "^13.0.11",
"ts-jest": "^26.5.3",
"ts-node-dev": "^1.1.1"
"ts-node-dev": "^1.1.6"
},
"dependencies": {
"@octokit/auth-app": "^3.0.0",
"@octokit/rest": "^18.2.0",
"@octokit/types": "^6.12.0",
"@octokit/rest": "^18.3.5",
"@octokit/types": "^6.12.2",
"@types/aws-lambda": "^8.10.72",
"@types/express": "^4.17.11",
"@types/node": "^14.14.31",
"aws-sdk": "^2.849.0",
"@types/node": "^14.14.34",
"aws-sdk": "^2.862.0",
"cron-parser": "^3.3.0",
"typescript": "^4.2.3",
"yn": "^4.0.0"
Expand Down
Loading