running git lfs clone
parent
4140ed8abe
commit
98d35938ca
File diff suppressed because one or more lines are too long
|
|
@ -48,19 +48,19 @@ Parameters:
|
||||||
EFSMountDirectory:
|
EFSMountDirectory:
|
||||||
Type: String
|
Type: String
|
||||||
Default: /efsdata
|
Default: /efsdata
|
||||||
GitHubTokenSecret:
|
GITHUB_TOKEN:
|
||||||
Type: String
|
Type: String
|
||||||
Default: 'Secret'
|
Default: 'Secret'
|
||||||
UnityLicenseSecret:
|
UNITY_LICENSE:
|
||||||
Type: String
|
Type: String
|
||||||
Default: 'Secret'
|
Default: 'Secret'
|
||||||
AndroidKeystoreBase64Secret:
|
ANDROID_KEYSTORE_BASE64:
|
||||||
Type: String
|
Type: String
|
||||||
Default: 'Secret'
|
Default: 'Secret'
|
||||||
AndroidKeystorePassSecret:
|
ANDROID_KEYSTORE_PASS:
|
||||||
Type: String
|
Type: String
|
||||||
Default: 'Secret'
|
Default: 'Secret'
|
||||||
AndroidKeystoreAliasSecret:
|
ANDROID_KEYALIAS_PASS:
|
||||||
Type: String
|
Type: String
|
||||||
Default: ''
|
Default: ''
|
||||||
Mappings:
|
Mappings:
|
||||||
|
|
@ -112,28 +112,28 @@ Resources:
|
||||||
GitHubTokenSecret:
|
GitHubTokenSecret:
|
||||||
Type: AWS::SecretsManager::Secret
|
Type: AWS::SecretsManager::Secret
|
||||||
Properties:
|
Properties:
|
||||||
Name: GitHubTokenSecret
|
Name: GITHUB_TOKEN
|
||||||
SecretString: !Ref GitHubTokenSecret
|
SecretString: !Ref GITHUB_TOKEN
|
||||||
UnityLicenseSecret:
|
UnityLicenseSecret:
|
||||||
Type: AWS::SecretsManager::Secret
|
Type: AWS::SecretsManager::Secret
|
||||||
Properties:
|
Properties:
|
||||||
Name: UnityLicenseSecret
|
Name: UNITY_LICENSE
|
||||||
SecretString: !Ref UnityLicenseSecret
|
SecretString: !Ref UNITY_LICENSE
|
||||||
AndroidKeystoreBase64Secret:
|
AndroidKeystoreBase64Secret:
|
||||||
Type: AWS::SecretsManager::Secret
|
Type: AWS::SecretsManager::Secret
|
||||||
Properties:
|
Properties:
|
||||||
Name: AndroidKeystoreBase64Secret
|
Name: ANDROID_KEYSTORE_BASE64
|
||||||
SecretString: !Ref AndroidKeystoreBase64Secret
|
SecretString: !Ref ANDROID_KEYSTORE_BASE64
|
||||||
AndroidKeystorePassSecret:
|
AndroidKeystorePassSecret:
|
||||||
Type: AWS::SecretsManager::Secret
|
Type: AWS::SecretsManager::Secret
|
||||||
Properties:
|
Properties:
|
||||||
Name: AndroidKeystorePassSecret
|
Name: ANDROID_KEYSTORE_PASS
|
||||||
SecretString: !Ref AndroidKeystorePassSecret
|
SecretString: !Ref ANDROID_KEYSTORE_PASS
|
||||||
AndroidKeystoreAliasSecret:
|
AndroidKeystoreAliasSecret:
|
||||||
Type: AWS::SecretsManager::Secret
|
Type: AWS::SecretsManager::Secret
|
||||||
Properties:
|
Properties:
|
||||||
Name: AndroidKeystoreAliasSecret
|
Name: ANDROID_KEYALIAS_PASS
|
||||||
SecretString: !Ref AndroidKeystoreAliasSecret
|
SecretString: !Ref ANDROID_KEYALIAS_PASS
|
||||||
TaskDefinition:
|
TaskDefinition:
|
||||||
Type: 'AWS::ECS::TaskDefinition'
|
Type: 'AWS::ECS::TaskDefinition'
|
||||||
Properties:
|
Properties:
|
||||||
|
|
@ -178,18 +178,16 @@ Resources:
|
||||||
ContainerPath: !Ref EFSMountDirectory
|
ContainerPath: !Ref EFSMountDirectory
|
||||||
ReadOnly: false
|
ReadOnly: false
|
||||||
Secrets:
|
Secrets:
|
||||||
- Name: GitHubTokenSecret
|
- Name: GITHUB_TOKEN
|
||||||
ValueFrom: !Ref GitHubTokenSecret
|
ValueFrom: !Ref GITHUB_TOKEN
|
||||||
- Name: UnityLicenseSecret
|
- Name: UNITY_LICENSE
|
||||||
ValueFrom: !Ref UnityLicenseSecret
|
ValueFrom: !Ref UNITY_LICENSE
|
||||||
- Name: !Ref AndroidKeystoreBase64Secret
|
- Name: !Ref ANDROID_KEYSTORE_BASE64
|
||||||
ValueFrom: !Ref AndroidKeystoreBase64Secret
|
ValueFrom: !Ref ANDROID_KEYSTORE_BASE64
|
||||||
- Name: AndroidKeystorePassSecret
|
- Name: ANDROID_KEYSTORE_PASS
|
||||||
ValueFrom: !Ref AndroidKeystorePassSecret
|
ValueFrom: !Ref ANDROID_KEYSTORE_PASS
|
||||||
- Name: AndroidKeystorePassSecret
|
- Name: ANDROID_KEYALIAS_PASS
|
||||||
ValueFrom: !Ref AndroidKeystorePassSecret
|
ValueFrom: !Ref ANDROID_KEYALIAS_PASS
|
||||||
- Name: AndroidKeystoreAliasSecret
|
|
||||||
ValueFrom: !Ref AndroidKeystoreAliasSecret
|
|
||||||
LogConfiguration:
|
LogConfiguration:
|
||||||
LogDriver: awslogs
|
LogDriver: awslogs
|
||||||
Options:
|
Options:
|
||||||
|
|
|
||||||
|
|
@ -173,10 +173,6 @@ class AWS {
|
||||||
{
|
{
|
||||||
ParameterKey: 'EFSMountDirectory',
|
ParameterKey: 'EFSMountDirectory',
|
||||||
ParameterValue: mountdir,
|
ParameterValue: mountdir,
|
||||||
},
|
|
||||||
{
|
|
||||||
ParameterKey: 'SecretName',
|
|
||||||
ParameterValue: 'Secrets'+nanoid(),
|
|
||||||
}
|
}
|
||||||
].concat(secrets),
|
].concat(secrets),
|
||||||
}).promise();
|
}).promise();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue