Skip to content

Commit

Permalink
chore(deps): update snapshot (#585)
Browse files Browse the repository at this point in the history
Update snapshot. See details in [workflow run].

[Workflow Run]: https://github.com/CloudSnorkel/cdk-github-runners/actions/runs/9340385779

------

*Automatically created by projen via the "upgrade-snapshot" workflow*
  • Loading branch information
CloudSnorkelBot authored Jun 2, 2024
1 parent 7bee7c8 commit acad343
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 23 deletions.
8 changes: 2 additions & 6 deletions API.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 5 additions & 5 deletions test/default.integ.snapshot/github-runners-test.assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@
}
}
},
"650306c64f992f45fb5e5e6c1ac7099b348d38a7354feef8e5d35177e0d480b4": {
"2fc3b84da69dcc5adb6dc4721b50c1166474fa7e5fd5f242e833d12ac28e09d9": {
"source": {
"path": "asset.650306c64f992f45fb5e5e6c1ac7099b348d38a7354feef8e5d35177e0d480b4.sh",
"path": "asset.2fc3b84da69dcc5adb6dc4721b50c1166474fa7e5fd5f242e833d12ac28e09d9.sh",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "650306c64f992f45fb5e5e6c1ac7099b348d38a7354feef8e5d35177e0d480b4.sh",
"objectKey": "2fc3b84da69dcc5adb6dc4721b50c1166474fa7e5fd5f242e833d12ac28e09d9.sh",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down Expand Up @@ -209,15 +209,15 @@
}
}
},
"da1b86660327c4c9d36ec0a4295e8849aceb1fcf3ce285a72b2701c9818f4772": {
"8368627222f528d1ca1bdcdde41640c2fe68400d3d98ed2e5699e5ff524c02f3": {
"source": {
"path": "github-runners-test.template.json",
"packaging": "file"
},
"destinations": {
"current_account-current_region": {
"bucketName": "cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}",
"objectKey": "da1b86660327c4c9d36ec0a4295e8849aceb1fcf3ce285a72b2701c9818f4772.json",
"objectKey": "8368627222f528d1ca1bdcdde41640c2fe68400d3d98ed2e5699e5ff524c02f3.json",
"assumeRoleArn": "arn:${AWS::Partition}:iam::${AWS::AccountId}:role/cdk-hnb659fds-file-publishing-role-${AWS::AccountId}-${AWS::Region}"
}
}
Expand Down
24 changes: 12 additions & 12 deletions test/default.integ.snapshot/github-runners-test.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -1658,7 +1658,7 @@
},
".amazonaws.com\"\n ]\n },\n \"build\": {\n \"commands\": [\n \"cat > component0-RequiredPackages.sh <<'EOFGITHUBRUNNERSDOCKERFILE'\\n#!/bin/bash\\nset -exuo pipefail\\ndnf upgrade -y\\ndnf install -y jq tar gzip bzip2 which binutils zip unzip sudo shadow-utils findutils amazon-cloudwatch-agent\\nEOFGITHUBRUNNERSDOCKERFILE\",\n \"chmod +x component0-RequiredPackages.sh\",\n \"cat > component1-RunnerUser.sh <<'EOFGITHUBRUNNERSDOCKERFILE'\\n#!/bin/bash\\nset -exuo pipefail\\n/usr/sbin/groupadd runner\\n/usr/sbin/useradd --system --shell /usr/sbin/nologin --home-dir /home/runner --gid runner runner\\nmkdir -p /home/runner\\nchown runner /home/runner\\necho \\\"%runner ALL=(ALL:ALL) NOPASSWD: ALL\\\" > /etc/sudoers.d/runner\\nEOFGITHUBRUNNERSDOCKERFILE\",\n \"chmod +x component1-RunnerUser.sh\",\n \"cat > component2-Git.sh <<'EOFGITHUBRUNNERSDOCKERFILE'\\n#!/bin/bash\\nset -exuo pipefail\\ndnf install -y git\\nEOFGITHUBRUNNERSDOCKERFILE\",\n \"chmod +x component2-Git.sh\",\n \"cat > component3-GithubCli.sh <<'EOFGITHUBRUNNERSDOCKERFILE'\\n#!/bin/bash\\nset -exuo pipefail\\ncurl -fsSSL https://cli.github.com/packages/rpm/gh-cli.repo -o /etc/yum.repos.d/gh-cli.repo\\ndnf install -y gh\\nEOFGITHUBRUNNERSDOCKERFILE\",\n \"chmod +x component3-GithubCli.sh\",\n \"cat > component4-AwsCli.sh <<'EOFGITHUBRUNNERSDOCKERFILE'\\n#!/bin/bash\\nset -exuo pipefail\\ncurl -fsSL \\\"https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip\\\" -o awscliv2.zip\\nunzip -q awscliv2.zip\\n./aws/install\\nrm -rf awscliv2.zip aws\\nEOFGITHUBRUNNERSDOCKERFILE\",\n \"chmod +x component4-AwsCli.sh\",\n \"cat > component5-GithubRunner.sh <<'EOFGITHUBRUNNERSDOCKERFILE'\\n#!/bin/bash\\nset -exuo pipefail\\nRUNNER_VERSION=`curl -w \\\"%{redirect_url}\\\" -fsS https://github.com/actions/runner/releases/latest | grep -oE \\\"[^/v]+$\\\"`\\ncurl -fsSLO \\\"https://github.com/actions/runner/releases/download/v${RUNNER_VERSION}/actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz\\\"\\ntar -C /home/runner -xzf \\\"actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz\\\"\\nrm actions-runner-linux-x64-${RUNNER_VERSION}.tar.gz\\necho -n latest > /home/runner/RUNNER_VERSION\\ndnf install -y openssl-libs krb5-libs zlib libicu-67.1\\nmkdir -p /opt/hostedtoolcache\\nchown runner /opt/hostedtoolcache\\nEOFGITHUBRUNNERSDOCKERFILE\",\n \"chmod +x component5-GithubRunner.sh\",\n \"aws s3 cp ",
{
"Fn::Sub": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/650306c64f992f45fb5e5e6c1ac7099b348d38a7354feef8e5d35177e0d480b4.sh"
"Fn::Sub": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/2fc3b84da69dcc5adb6dc4721b50c1166474fa7e5fd5f242e833d12ac28e09d9.sh"
},
" asset6-Lambda-Entrypoint-0\",\n \"aws s3 cp ",
{
Expand Down Expand Up @@ -1770,15 +1770,15 @@
]
}
},
"LambdaImageBuilderx64BuildWaitHandle75ac2d141161FEA0FA": {
"LambdaImageBuilderx64BuildWaitHandleabc1a2cf4eBF42E433": {
"Type": "AWS::CloudFormation::WaitConditionHandle"
},
"LambdaImageBuilderx64BuildWait75ac2d1411BBFF61CA": {
"LambdaImageBuilderx64BuildWaitabc1a2cf4e6C943A34": {
"Type": "AWS::CloudFormation::WaitCondition",
"Properties": {
"Count": 1,
"Handle": {
"Ref": "LambdaImageBuilderx64BuildWaitHandle75ac2d141161FEA0FA"
"Ref": "LambdaImageBuilderx64BuildWaitHandleabc1a2cf4eBF42E433"
},
"Timeout": "3600"
}
Expand All @@ -1799,7 +1799,7 @@
"Ref": "LambdaImageBuilderx64CodeBuild67DE14C8"
},
"WaitHandle": {
"Ref": "LambdaImageBuilderx64BuildWaitHandle75ac2d141161FEA0FA"
"Ref": "LambdaImageBuilderx64BuildWaitHandleabc1a2cf4eBF42E433"
}
},
"DependsOn": [
Expand Down Expand Up @@ -5594,7 +5594,7 @@
},
".amazonaws.com\"\n ]\n },\n \"build\": {\n \"commands\": [\n \"cat > component0-RequiredPackages.sh <<'EOFGITHUBRUNNERSDOCKERFILE'\\n#!/bin/bash\\nset -exuo pipefail\\ndnf upgrade -y\\ndnf install -y jq tar gzip bzip2 which binutils zip unzip sudo shadow-utils findutils amazon-cloudwatch-agent\\nEOFGITHUBRUNNERSDOCKERFILE\",\n \"chmod +x component0-RequiredPackages.sh\",\n \"cat > component1-RunnerUser.sh <<'EOFGITHUBRUNNERSDOCKERFILE'\\n#!/bin/bash\\nset -exuo pipefail\\n/usr/sbin/groupadd runner\\n/usr/sbin/useradd --system --shell /usr/sbin/nologin --home-dir /home/runner --gid runner runner\\nmkdir -p /home/runner\\nchown runner /home/runner\\necho \\\"%runner ALL=(ALL:ALL) NOPASSWD: ALL\\\" > /etc/sudoers.d/runner\\nEOFGITHUBRUNNERSDOCKERFILE\",\n \"chmod +x component1-RunnerUser.sh\",\n \"cat > component2-Git.sh <<'EOFGITHUBRUNNERSDOCKERFILE'\\n#!/bin/bash\\nset -exuo pipefail\\ndnf install -y git\\nEOFGITHUBRUNNERSDOCKERFILE\",\n \"chmod +x component2-Git.sh\",\n \"cat > component3-GithubCli.sh <<'EOFGITHUBRUNNERSDOCKERFILE'\\n#!/bin/bash\\nset -exuo pipefail\\ncurl -fsSSL https://cli.github.com/packages/rpm/gh-cli.repo -o /etc/yum.repos.d/gh-cli.repo\\ndnf install -y gh\\nEOFGITHUBRUNNERSDOCKERFILE\",\n \"chmod +x component3-GithubCli.sh\",\n \"cat > component4-AwsCli.sh <<'EOFGITHUBRUNNERSDOCKERFILE'\\n#!/bin/bash\\nset -exuo pipefail\\ncurl -fsSL \\\"https://awscli.amazonaws.com/awscli-exe-linux-aarch64.zip\\\" -o awscliv2.zip\\nunzip -q awscliv2.zip\\n./aws/install\\nrm -rf awscliv2.zip aws\\nEOFGITHUBRUNNERSDOCKERFILE\",\n \"chmod +x component4-AwsCli.sh\",\n \"cat > component5-GithubRunner.sh <<'EOFGITHUBRUNNERSDOCKERFILE'\\n#!/bin/bash\\nset -exuo pipefail\\nRUNNER_VERSION=`curl -w \\\"%{redirect_url}\\\" -fsS https://github.com/actions/runner/releases/latest | grep -oE \\\"[^/v]+$\\\"`\\ncurl -fsSLO \\\"https://github.com/actions/runner/releases/download/v${RUNNER_VERSION}/actions-runner-linux-arm64-${RUNNER_VERSION}.tar.gz\\\"\\ntar -C /home/runner -xzf \\\"actions-runner-linux-arm64-${RUNNER_VERSION}.tar.gz\\\"\\nrm actions-runner-linux-arm64-${RUNNER_VERSION}.tar.gz\\necho -n latest > /home/runner/RUNNER_VERSION\\ndnf install -y openssl-libs krb5-libs zlib libicu-67.1\\nmkdir -p /opt/hostedtoolcache\\nchown runner /opt/hostedtoolcache\\nEOFGITHUBRUNNERSDOCKERFILE\",\n \"chmod +x component5-GithubRunner.sh\",\n \"aws s3 cp ",
{
"Fn::Sub": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/650306c64f992f45fb5e5e6c1ac7099b348d38a7354feef8e5d35177e0d480b4.sh"
"Fn::Sub": "s3://cdk-hnb659fds-assets-${AWS::AccountId}-${AWS::Region}/2fc3b84da69dcc5adb6dc4721b50c1166474fa7e5fd5f242e833d12ac28e09d9.sh"
},
" asset6-Lambda-Entrypoint-0\",\n \"aws s3 cp ",
{
Expand Down Expand Up @@ -5706,15 +5706,15 @@
]
}
},
"LambdaImageBuilderzBuildWaitHandle7c2939a502ABBB1603": {
"LambdaImageBuilderzBuildWaitHandlee9b9180134313DC046": {
"Type": "AWS::CloudFormation::WaitConditionHandle"
},
"LambdaImageBuilderzBuildWait7c2939a502F6DC1CC9": {
"LambdaImageBuilderzBuildWaite9b918013451CEF311": {
"Type": "AWS::CloudFormation::WaitCondition",
"Properties": {
"Count": 1,
"Handle": {
"Ref": "LambdaImageBuilderzBuildWaitHandle7c2939a502ABBB1603"
"Ref": "LambdaImageBuilderzBuildWaitHandlee9b9180134313DC046"
},
"Timeout": "3600"
}
Expand All @@ -5735,7 +5735,7 @@
"Ref": "LambdaImageBuilderzCodeBuild73AB6718"
},
"WaitHandle": {
"Ref": "LambdaImageBuilderzBuildWaitHandle7c2939a502ABBB1603"
"Ref": "LambdaImageBuilderzBuildWaitHandlee9b9180134313DC046"
}
},
"DependsOn": [
Expand Down Expand Up @@ -11212,7 +11212,7 @@
[
"{\"service\":\"fake\",\"action\":\"fake\",\"parameters\":{\"version\":1,\"labels\":[\"lambda\",\"x64\"],\"architecture\":\"x86_64\",\"dependable\":\"",
{
"Ref": "LambdaImageBuilderx64BuildWait75ac2d1411BBFF61CA"
"Ref": "LambdaImageBuilderx64BuildWaitabc1a2cf4e6C943A34"
},
"\"}}"
]
Expand Down Expand Up @@ -11643,7 +11643,7 @@
[
"{\"service\":\"fake\",\"action\":\"fake\",\"parameters\":{\"version\":1,\"labels\":[\"lambda\",\"arm64\"],\"architecture\":\"arm64\",\"dependable\":\"",
{
"Ref": "LambdaImageBuilderzBuildWait7c2939a502F6DC1CC9"
"Ref": "LambdaImageBuilderzBuildWaite9b918013451CEF311"
},
"\"}}"
]
Expand Down

0 comments on commit acad343

Please sign in to comment.