File tree Expand file tree Collapse file tree 6 files changed +97
-97
lines changed Expand file tree Collapse file tree 6 files changed +97
-97
lines changed Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -62,8 +62,8 @@ terraform workspace new development
62
62
63
63
1 . Encrypt the following global environment variables using the Travis-CI CLI.
64
64
```
65
- AWS_ACCESS_KEY_ID =
66
- AWS_SECRET_ACCESS_KEY =
65
+ DEPLOYMENT_ACCESS_KEY_ID =
66
+ DEPLOYMENT_SECRET_ACCESS_KEY =
67
67
AWS_DEFAULT_REGION=
68
68
KMS_KEY_ID=
69
69
ROLE_ARN=
@@ -72,6 +72,7 @@ STATE_DYNAMODB_TABLE=
72
72
KEY=<The project key for the ECR repository>, e.g bnc/<team>/ecr/<service-name>
73
73
SERVICE_KEY=<The project key for ECS service>, e.g ecs/<service-name>
74
74
SPLUNK_URL=
75
+ OPERATIONS_ROLE_ARN=
75
76
```
76
77
77
78
2 . Encrypt the following environment variables for the development deployment:
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ plugins {
2
2
id ' eclipse'
3
3
id ' idea'
4
4
id " org.sonarqube" version " 2.7.1" apply false
5
- id " com.github.spotbugs" version " 1.6.9 " apply false
5
+ id " com.github.spotbugs" version " 2.0.0 " apply false
6
6
id " com.bnc.gradle.travis-ci-versioner" version " 1.0.6"
7
7
}
8
8
@@ -60,7 +60,7 @@ allprojects {
60
60
}
61
61
62
62
jacoco {
63
- toolVersion = " 0.8.3 "
63
+ toolVersion = " 0.8.4 "
64
64
}
65
65
66
66
checkstyle {
@@ -83,8 +83,8 @@ allprojects {
83
83
dependencies {
84
84
testImplementation group : ' org.junit.jupiter' , name : ' junit-jupiter' , version : ' 5.4.2'
85
85
testImplementation group : ' org.assertj' , name : ' assertj-core' , version : ' 3.12.2'
86
- testImplementation group : ' org.mockito' , name : ' mockito-core' , version : ' 2.27.0 '
87
- testImplementation group : ' org.mockito' , name : ' mockito-junit-jupiter' , version : ' 2.27.0 '
86
+ testImplementation group : ' org.mockito' , name : ' mockito-core' , version : ' 2.28.2 '
87
+ testImplementation group : ' org.mockito' , name : ' mockito-junit-jupiter' , version : ' 2.28.2 '
88
88
testRuntime group : ' org.junit.platform' , name : ' junit-platform-launcher' , version : ' 1.4.2'
89
89
}
90
90
}
Original file line number Diff line number Diff line change 1
- profile = "<The profile to use for the AWS provider>"
2
1
role_arn = "<The role to assume to access the terraform remote state>"
3
2
service_name = "<The service name>"
Original file line number Diff line number Diff line change 1
1
output "repository_url" {
2
2
value = module. ecr . repository_url
3
3
}
4
-
5
- output "deployment_role_arn" {
6
- sensitive = true
7
- value = data. terraform_remote_state . bnc_ops . outputs . deployment_role_arn
8
- }
Original file line number Diff line number Diff line change 1
1
plugins {
2
- id " org.springframework.boot" version " 2.1.4 .RELEASE"
2
+ id " org.springframework.boot" version " 2.1.5 .RELEASE"
3
3
id " io.spring.dependency-management" version " 1.0.7.RELEASE"
4
4
id " com.palantir.docker" version " 0.22.1"
5
5
id " com.gorylenko.gradle-git-properties" version " 2.0.0"
6
6
}
7
7
8
8
jar {
9
- archivesBaseName = rootProject. name + " - " + project . name
9
+ archivesBaseName = rootProject. name
10
10
}
11
11
12
12
springBoot {
@@ -36,17 +36,11 @@ docker {
36
36
buildArgs([' JAR_FILE' : " ${ bootJar.archiveFileName.getOrNull()} " ])
37
37
}
38
38
39
- dependencyManagement {
40
- imports {
41
- mavenBom " org.springframework.cloud:spring-cloud-sleuth:2.1.1.RELEASE"
42
- }
43
- }
44
-
45
39
dependencies {
46
40
implementation project(' :client' )
47
41
implementation group : ' org.springframework.boot' , name : ' spring-boot-starter-web'
48
42
implementation group : ' org.springframework.boot' , name : ' spring-boot-starter-actuator'
49
- implementation group : ' org.springframework.cloud' , name : ' spring-cloud-starter-sleuth'
43
+ implementation group : ' org.springframework.cloud' , name : ' spring-cloud-starter-sleuth' , version : ' 2.1.1.RELEASE '
50
44
implementation group : ' io.micrometer' , name : ' micrometer-registry-new-relic' , version : ' 1.1.4'
51
45
testImplementation group : ' org.springframework.boot' , name : ' spring-boot-starter-test'
52
46
}
You can’t perform that action at this time.
0 commit comments