mirror of
https://github.com/ZwareBear/JFrog-Cloud-Installers.git
synced 2026-01-21 14:06:57 -06:00
Remove unused QsS3* parameters
This commit is contained in:
@@ -61,11 +61,6 @@ Metadata:
|
|||||||
- DatabaseInstance
|
- DatabaseInstance
|
||||||
- DatabaseAllocatedStorage
|
- DatabaseAllocatedStorage
|
||||||
- MultiAzDatabase
|
- MultiAzDatabase
|
||||||
- Label:
|
|
||||||
default: AWS Quick Start configuration
|
|
||||||
Parameters:
|
|
||||||
- QsS3BucketName
|
|
||||||
- QsS3KeyPrefix
|
|
||||||
- Label:
|
- Label:
|
||||||
default: JFrog Xray Configuration
|
default: JFrog Xray Configuration
|
||||||
Parameters:
|
Parameters:
|
||||||
@@ -152,16 +147,8 @@ Metadata:
|
|||||||
default: Database allocated storage
|
default: Database allocated storage
|
||||||
MultiAzDatabase:
|
MultiAzDatabase:
|
||||||
default: High-availability database
|
default: High-availability database
|
||||||
QsS3BucketName:
|
|
||||||
default: Quick Start S3 bucket name
|
|
||||||
QsS3KeyPrefix:
|
|
||||||
default: Quick Start S3 key prefix
|
|
||||||
QsS3BucketRegion:
|
|
||||||
default: Quick Start S3 bucket region
|
|
||||||
InstallXray:
|
InstallXray:
|
||||||
default: Install JFrog Xray
|
default: Install JFrog Xray
|
||||||
XrayVersion:
|
|
||||||
default: Version of Xray to install
|
|
||||||
XrayNumberOfInstances:
|
XrayNumberOfInstances:
|
||||||
default: Number of JFrog Xray instances
|
default: Number of JFrog Xray instances
|
||||||
XrayInstanceType:
|
XrayInstanceType:
|
||||||
@@ -173,6 +160,8 @@ Metadata:
|
|||||||
Parameters:
|
Parameters:
|
||||||
AvailabilityZones:
|
AvailabilityZones:
|
||||||
Description: List of Availability Zones to use for the subnets in the VPC. Two
|
Description: List of Availability Zones to use for the subnets in the VPC. Two
|
||||||
|
XrayVersion:
|
||||||
|
default: Version of Xray to install
|
||||||
Availability Zones are used for this deployment.
|
Availability Zones are used for this deployment.
|
||||||
Type: List<AWS::EC2::AvailabilityZone::Name>
|
Type: List<AWS::EC2::AvailabilityZone::Name>
|
||||||
KeyPairName:
|
KeyPairName:
|
||||||
@@ -461,28 +450,6 @@ Parameters:
|
|||||||
- "false"
|
- "false"
|
||||||
Default: "true"
|
Default: "true"
|
||||||
Type: String
|
Type: String
|
||||||
QsS3BucketName:
|
|
||||||
Description: S3 bucket name for the Quick Start assets. This string can include
|
|
||||||
numbers, lowercase letters, and hyphens (-). It cannot start
|
|
||||||
or end with a hyphen (-).
|
|
||||||
AllowedPattern: ^[0-9a-z]+([0-9a-z-]*[0-9a-z])*$
|
|
||||||
ConstraintDescription: Quick Start bucket name can include numbers, lowercase
|
|
||||||
letters, and hyphens (-). It cannot start or end with a hyphen (-).
|
|
||||||
Default: aws-quickstart
|
|
||||||
Type: String
|
|
||||||
QsS3KeyPrefix:
|
|
||||||
Description: S3 key prefix for the Quick Start assets. Quick Start key prefix
|
|
||||||
can include numbers, lowercase letters, uppercase letters, hyphens (-), and
|
|
||||||
forward slash (/).
|
|
||||||
AllowedPattern: ^[0-9a-zA-Z-/]*$
|
|
||||||
ConstraintDescription: Quick Start key prefix can include numbers, lowercase letters,
|
|
||||||
uppercase letters, hyphens (-), and forward slash (/).
|
|
||||||
Default: quickstart-jfrog-artifactory/
|
|
||||||
Type: String
|
|
||||||
QsS3BucketRegion:
|
|
||||||
Default: 'us-east-1'
|
|
||||||
Description: AWS Region where the Quick Start S3 bucket (QSS3BucketName) is hosted. If you use your own bucket, you must specify your own value.
|
|
||||||
Type: String
|
|
||||||
InstallXray:
|
InstallXray:
|
||||||
Description: Choose true to install JFrog Xray instance(s).
|
Description: Choose true to install JFrog Xray instance(s).
|
||||||
ConstraintDescription: True or False
|
ConstraintDescription: True or False
|
||||||
@@ -824,10 +791,6 @@ Resources:
|
|||||||
MaxScalingNodes: '1' # Always have 1 MasterNode
|
MaxScalingNodes: '1' # Always have 1 MasterNode
|
||||||
DeploymentTag: !If [IsArtifactory, "ArtifactoryPrimary", "JcrPrimary"]
|
DeploymentTag: !If [IsArtifactory, "ArtifactoryPrimary", "JcrPrimary"]
|
||||||
HostRole: !Ref ArtifactoryHostRole
|
HostRole: !Ref ArtifactoryHostRole
|
||||||
QsS3BucketName: !Ref QsS3BucketName
|
|
||||||
QsS3KeyPrefix: !Ref QsS3KeyPrefix
|
|
||||||
QsS3Uri: !Sub https://${QsS3BucketName}.s3.${AWS::URLSuffix}/${QsS3KeyPrefix}
|
|
||||||
AmiId: !Join ['', !Split [".", !Ref ArtifactoryVersion]]
|
|
||||||
ArtifactoryProduct: !Ref ArtifactoryProduct
|
ArtifactoryProduct: !Ref ArtifactoryProduct
|
||||||
ArtifactoryLicensesSecretName: !Ref SmLicenseName
|
ArtifactoryLicensesSecretName: !Ref SmLicenseName
|
||||||
ArtifactoryServerName: !Ref ArtifactoryServerName
|
ArtifactoryServerName: !Ref ArtifactoryServerName
|
||||||
@@ -898,9 +861,6 @@ Resources:
|
|||||||
TargetGroupARN: !Ref ArtifactoryTargetGroup
|
TargetGroupARN: !Ref ArtifactoryTargetGroup
|
||||||
SSLTargetGroupARN: !Ref ArtifactorySslTargetGroup
|
SSLTargetGroupARN: !Ref ArtifactorySslTargetGroup
|
||||||
InternalTargetGroupARN: !Ref ArtifactoryInternalTargetGroup
|
InternalTargetGroupARN: !Ref ArtifactoryInternalTargetGroup
|
||||||
QsS3BucketName: !Ref QsS3BucketName
|
|
||||||
QsS3KeyPrefix: !Ref QsS3KeyPrefix
|
|
||||||
QsS3Uri: !Sub https://${QsS3BucketName}.s3.${AWS::URLSuffix}/${QsS3KeyPrefix}
|
|
||||||
XrayHostRole:
|
XrayHostRole:
|
||||||
Condition: EnableXray
|
Condition: EnableXray
|
||||||
Type: AWS::IAM::Role
|
Type: AWS::IAM::Role
|
||||||
@@ -972,9 +932,6 @@ Resources:
|
|||||||
MinScalingNodes: !Ref XrayNumberOfInstances
|
MinScalingNodes: !Ref XrayNumberOfInstances
|
||||||
MaxScalingNodes: !Ref XrayNumberOfInstances
|
MaxScalingNodes: !Ref XrayNumberOfInstances
|
||||||
DeploymentTag: 'xray'
|
DeploymentTag: 'xray'
|
||||||
QsS3BucketName: !Ref QsS3BucketName
|
|
||||||
QsS3KeyPrefix: !Ref QsS3KeyPrefix
|
|
||||||
QsS3Uri: !Sub https://${QsS3BucketName}.s3.${AWS::URLSuffix}/${QsS3KeyPrefix}
|
|
||||||
DatabaseDriver: !GetAtt ArtifactoryCoreInfraStack.Outputs.DatabaseDriver
|
DatabaseDriver: !GetAtt ArtifactoryCoreInfraStack.Outputs.DatabaseDriver
|
||||||
DatabaseType: !GetAtt ArtifactoryCoreInfraStack.Outputs.DatabaseType
|
DatabaseType: !GetAtt ArtifactoryCoreInfraStack.Outputs.DatabaseType
|
||||||
DatabaseUser: !Ref DatabaseUser
|
DatabaseUser: !Ref DatabaseUser
|
||||||
|
|||||||
@@ -15,12 +15,6 @@ Parameters:
|
|||||||
Type: String
|
Type: String
|
||||||
ArtifactoryProduct:
|
ArtifactoryProduct:
|
||||||
Type: String
|
Type: String
|
||||||
QsS3BucketName:
|
|
||||||
Type: String
|
|
||||||
QsS3KeyPrefix:
|
|
||||||
Type: String
|
|
||||||
QsS3Uri:
|
|
||||||
Type: String
|
|
||||||
ArtifactoryLicensesSecretName:
|
ArtifactoryLicensesSecretName:
|
||||||
Type: String
|
Type: String
|
||||||
ArtifactoryServerName:
|
ArtifactoryServerName:
|
||||||
@@ -164,13 +158,6 @@ Resources:
|
|||||||
ArtifactoryLaunchConfiguration:
|
ArtifactoryLaunchConfiguration:
|
||||||
Type: 'AWS::AutoScaling::LaunchConfiguration'
|
Type: 'AWS::AutoScaling::LaunchConfiguration'
|
||||||
Metadata:
|
Metadata:
|
||||||
AWS::CloudFormation::Authentication:
|
|
||||||
S3AccessCreds:
|
|
||||||
type: S3
|
|
||||||
roleName:
|
|
||||||
- !Ref HostRole # !Ref ArtifactoryHostRole
|
|
||||||
buckets:
|
|
||||||
- !Ref QsS3BucketName
|
|
||||||
AWS::CloudFormation::Init:
|
AWS::CloudFormation::Init:
|
||||||
configSets:
|
configSets:
|
||||||
artifactory_install:
|
artifactory_install:
|
||||||
|
|||||||
@@ -13,12 +13,6 @@ Parameters:
|
|||||||
Type: Number
|
Type: Number
|
||||||
DeploymentTag:
|
DeploymentTag:
|
||||||
Type: String
|
Type: String
|
||||||
QsS3BucketName:
|
|
||||||
Type: String
|
|
||||||
QsS3KeyPrefix:
|
|
||||||
Type: String
|
|
||||||
QsS3Uri:
|
|
||||||
Type: String
|
|
||||||
DatabaseDriver:
|
DatabaseDriver:
|
||||||
Type: String
|
Type: String
|
||||||
DatabaseType:
|
DatabaseType:
|
||||||
@@ -129,13 +123,6 @@ Resources:
|
|||||||
XrayLaunchConfiguration:
|
XrayLaunchConfiguration:
|
||||||
Type: AWS::AutoScaling::LaunchConfiguration
|
Type: AWS::AutoScaling::LaunchConfiguration
|
||||||
Metadata:
|
Metadata:
|
||||||
AWS::CloudFormation::Authentication:
|
|
||||||
S3AccessCreds:
|
|
||||||
type: S3
|
|
||||||
roleName:
|
|
||||||
- !Ref XrayHostRole
|
|
||||||
buckets:
|
|
||||||
- !Ref QsS3BucketName
|
|
||||||
AWS::CloudFormation::Init:
|
AWS::CloudFormation::Init:
|
||||||
configSets:
|
configSets:
|
||||||
xray_install:
|
xray_install:
|
||||||
@@ -235,13 +222,6 @@ Resources:
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
S3URI=${QsS3Uri}
|
|
||||||
|
|
||||||
yum update --security -y &> /var/log/userdata.yum_security_update.log
|
|
||||||
|
|
||||||
yum install -y git python3 libselinux-python3
|
|
||||||
yum install -y postgresql-server postgresql-devel
|
|
||||||
|
|
||||||
echo $PATH
|
echo $PATH
|
||||||
|
|
||||||
PATH=/opt/aws/bin:$PATH
|
PATH=/opt/aws/bin:$PATH
|
||||||
@@ -255,6 +235,13 @@ Resources:
|
|||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
pip install wheel
|
pip install wheel
|
||||||
|
|
||||||
|
S3URI=${QsS3Uri}
|
||||||
|
|
||||||
|
yum update --security -y &> /var/log/userdata.yum_security_update.log
|
||||||
|
|
||||||
|
yum install -y git python3 libselinux-python3
|
||||||
|
yum install -y postgresql-server postgresql-devel
|
||||||
|
|
||||||
# Install Cloudformation helper scripts
|
# Install Cloudformation helper scripts
|
||||||
pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz 2>&1 | tee /var/log/userdata.aws_cfn_bootstrap_install.log
|
pip install https://s3.amazonaws.com/cloudformation-examples/aws-cfn-bootstrap-py3-latest.tar.gz 2>&1 | tee /var/log/userdata.aws_cfn_bootstrap_install.log
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user