running git lfs clone

pull/218/head
mdugdale 2021-02-14 19:27:42 +00:00
parent 98d35938ca
commit fc7c39256d
3 changed files with 30 additions and 28 deletions

File diff suppressed because one or more lines are too long

View File

@ -48,19 +48,19 @@ Parameters:
EFSMountDirectory: EFSMountDirectory:
Type: String Type: String
Default: /efsdata Default: /efsdata
GITHUB_TOKEN: GithubToken:
Type: String Type: String
Default: 'Secret' Default: 'Secret'
UNITY_LICENSE: UnityLicense:
Type: String Type: String
Default: 'Secret' Default: 'Secret'
ANDROID_KEYSTORE_BASE64: AndroidKeystoreBase64:
Type: String Type: String
Default: 'Secret' Default: 'Secret'
ANDROID_KEYSTORE_PASS: AndroidKeystorePass:
Type: String Type: String
Default: 'Secret' Default: 'Secret'
ANDROID_KEYALIAS_PASS: AndroidKeyAliasPass:
Type: String Type: String
Default: '' Default: ''
Mappings: Mappings:
@ -109,31 +109,31 @@ Resources:
Metadata: Metadata:
'AWS::CloudFormation::Designer': 'AWS::CloudFormation::Designer':
id: c6f18447-b879-4696-8873-f981b2cedd2b id: c6f18447-b879-4696-8873-f981b2cedd2b
GitHubTokenSecret: GithubTokenSecret:
Type: AWS::SecretsManager::Secret Type: AWS::SecretsManager::Secret
Properties: Properties:
Name: GITHUB_TOKEN Name: GithubToken
SecretString: !Ref GITHUB_TOKEN SecretString: !Ref GithubToken
UnityLicenseSecret: UnityLicenseSecret:
Type: AWS::SecretsManager::Secret Type: AWS::SecretsManager::Secret
Properties: Properties:
Name: UNITY_LICENSE Name: UnityLicense
SecretString: !Ref UNITY_LICENSE SecretString: !Ref UnityLicense
AndroidKeystoreBase64Secret: AndroidKeystoreBase64Secret:
Type: AWS::SecretsManager::Secret Type: AWS::SecretsManager::Secret
Properties: Properties:
Name: ANDROID_KEYSTORE_BASE64 Name: AndroidKeystoreBase64
SecretString: !Ref ANDROID_KEYSTORE_BASE64 SecretString: !Ref AndroidKeystoreBase64
AndroidKeystorePassSecret: AndroidKeystorePassSecret:
Type: AWS::SecretsManager::Secret Type: AWS::SecretsManager::Secret
Properties: Properties:
Name: ANDROID_KEYSTORE_PASS Name: AndroidKeystorePass
SecretString: !Ref ANDROID_KEYSTORE_PASS SecretString: !Ref AndroidKeystorePass
AndroidKeystoreAliasSecret: AndroidKeyAliasPassSecret:
Type: AWS::SecretsManager::Secret Type: AWS::SecretsManager::Secret
Properties: Properties:
Name: ANDROID_KEYALIAS_PASS Name: AndroidKeyAliasPass
SecretString: !Ref ANDROID_KEYALIAS_PASS SecretString: !Ref AndroidKeyAliasPass
TaskDefinition: TaskDefinition:
Type: 'AWS::ECS::TaskDefinition' Type: 'AWS::ECS::TaskDefinition'
Properties: Properties:
@ -179,17 +179,19 @@ Resources:
ReadOnly: false ReadOnly: false
Secrets: Secrets:
- Name: GITHUB_TOKEN - Name: GITHUB_TOKEN
ValueFrom: !Ref GITHUB_TOKEN ValueFrom: !Ref GitHubTokenSecret
- Name: UNITY_LICENSE - Name: UNITY_LICENSE
ValueFrom: !Ref UNITY_LICENSE ValueFrom: !Ref UnityLicenseSecret
- Name: !Ref ANDROID_KEYSTORE_BASE64 - Name: !Ref ANDROID_KEYSTORE_BASE64
ValueFrom: !Ref ANDROID_KEYSTORE_BASE64 ValueFrom: !Ref AndroidKeystoreBase64Secret
- Name: ANDROID_KEYSTORE_PASS - Name: ANDROID_KEYSTORE_PASS
ValueFrom: !Ref ANDROID_KEYSTORE_PASS ValueFrom: !Ref AndroidKeystorePassSecret
- Name: ANDROID_KEYALIAS_PASS - Name: ANDROID_KEYALIAS_PASS
ValueFrom: !Ref ANDROID_KEYALIAS_PASS ValueFrom: !Ref AndroidKeyAliasPassSecret
LogConfiguration: LogConfiguration:
LogDriver: awslogs LogDriver: awslogs
SecretOptions:
- name:
Options: Options:
awslogs-group: !Ref ServiceName awslogs-group: !Ref ServiceName
awslogs-region: !Ref 'AWS::Region' awslogs-region: !Ref 'AWS::Region'

View File

@ -110,23 +110,23 @@ class AWS {
], ],
[ [
{ {
ParameterKey: 'GITHUB_TOKEN', ParameterKey: 'GitHubToken',
ParameterValue: buildParameters.githubToken ParameterValue: buildParameters.githubToken
}, },
{ {
ParameterKey: 'UNITY_LICENSE', ParameterKey: 'UnityLicense',
ParameterValue: process.env.UNITY_LICENSE ParameterValue: process.env.UNITY_LICENSE
}, },
{ {
ParameterKey: 'ANDROID_KEYSTORE_BASE64', ParameterKey: 'AndroidKeystoreBase64',
ParameterValue: buildParameters.androidKeystoreBase64 ParameterValue: buildParameters.androidKeystoreBase64
}, },
{ {
ParameterKey: 'ANDROID_KEYSTORE_PASS', ParameterKey: 'AndroidKeystorePass',
ParameterValue: buildParameters.androidKeystorePass ParameterValue: buildParameters.androidKeystorePass
}, },
{ {
ParameterKey: 'ANDROID_KEYALIAS_PASS', ParameterKey: 'AndroidKeyAliasPass',
ParameterValue: buildParameters.androidKeyaliasPass ParameterValue: buildParameters.androidKeyaliasPass
}, },
] ]