This repository has been archived by the owner on May 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #49 from tiki/release/use-sar
fix: update for sar role
- Loading branch information
Showing
12 changed files
with
73 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -43,7 +43,7 @@ jobs: | |
|
||
- name: Update SAR Version | ||
run: | | ||
sed -i 's/SemanticVersion: .*/SemanticVersion: ${{ steps.semver.outputs.nextStrict }}/' infra/aws/template.yaml | ||
sed -i 's/SemanticVersion: .*/SemanticVersion: ${{ steps.semver.outputs.nextStrict }}/' infra/sar/template.yml | ||
- name: Commit Changes | ||
continue-on-error: true | ||
|
@@ -53,6 +53,7 @@ jobs: | |
git config --global user.email "[email protected]" | ||
git config --global user.name "GH Action" | ||
git add pom.xml | ||
git add infra/sar/template.yml | ||
git commit -m 'version bump' | ||
git push | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
AWSTemplateFormatVersion: '2010-09-09' | ||
Transform: AWS::Serverless-2016-10-31 | ||
Description: Core Iceberg Metadata Role | ||
|
||
Parameters: | ||
RoleName: | ||
Description: Name of the IAM Role for the deployment | ||
Type: String | ||
Default: "GitHubDeployCoreIcebergMetadata" | ||
|
||
Resources: | ||
Role: | ||
Type: AWS::Serverless::Application | ||
Properties: | ||
Location: | ||
ApplicationId: arn:aws:serverlessrepo:us-east-2:${AWS::AccountId}:applications/core-aws-github-role | ||
SemanticVersion: 0.0.3 | ||
Parameters: | ||
GitHubOrg: tiki | ||
RepositoryName: core-iceberg-metadata | ||
RoleName: !Ref RoleName | ||
|
||
Policy: | ||
Type: AWS::IAM::RolePolicy | ||
DependsOn: Role | ||
Properties: | ||
RoleName: !Ref RoleName | ||
PolicyName: DeploymentPolicy | ||
PolicyDocument: | ||
Version: '2012-10-17' | ||
Statement: | ||
- Effect: Allow | ||
Action: | ||
- serverlessrepo:ListApplications | ||
- serverlessrepo:CreateApplication | ||
- serverlessrepo:SearchApplications | ||
Resource: "*" | ||
- Effect: Allow | ||
Action: | ||
- serverlessrepo:* | ||
Resource: !Sub arn:aws:serverlessrepo:${AWS::Region}:${AWS::AccountId}:applications/core-iceberg-metadata | ||
- Effect: Allow | ||
Action: | ||
- s3:PutObject | ||
- s3:GetObject | ||
Resource: !Sub arn:aws:s3:::mytiki-sam-deploy/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters