Skip to content

Commit

Permalink
chore(dependencies): Autobump fiatVersion (#981)
Browse files Browse the repository at this point in the history
* chore(dependencies): Autobump fiatVersion

* fix(test): keep up with Permissions changes from spinnaker/fiat#854

Co-authored-by: root <root@69a0efe35201>
Co-authored-by: David Byron <[email protected]>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
4 people authored Mar 10, 2022
1 parent 06bfd66 commit 802c993
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
fiatVersion=1.28.0
fiatVersion=1.30.0
korkVersion=7.132.0
org.gradle.parallel=true
spinnakerGradleVersion=8.22.0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,21 +152,21 @@ class InfoControllerSpec extends Specification {
JenkinsService jenkinsService1 = new JenkinsService('jenkins-foo', null, false, Permissions.EMPTY, circuitBreakerRegistry)
JenkinsService jenkinsService2 = new JenkinsService('jenkins-bar', null, false,
new Permissions.Builder()
.add(Authorization.READ, ['group-1', 'group-2'])
.add(Authorization.READ, ['group-1', 'group-2'] as Set)
.add(Authorization.WRITE, 'group-2').build(),
circuitBreakerRegistry)
TravisService travisService = new TravisService('travis-baz', null, null, 100, 10, emptyList(), null, null, Optional.empty(), [], null,
new Permissions.Builder()
.add(Authorization.READ, ['group-3', 'group-4'])
.add(Authorization.READ, ['group-3', 'group-4'] as Set)
.add(Authorization.WRITE, 'group-3').build(), false, CircuitBreakerRegistry.ofDefaults())

GoogleCloudBuildProperties.Account gcbAccount = GoogleCloudBuildProperties.Account.builder()
.name("gcbAccount")
.project('blah')
.permissions(
new Permissions.Builder()
.add(Authorization.READ, ['group-5', 'group-6'])
.add(Authorization.WRITE, ['group-5'])
.add(Authorization.READ, ['group-5', 'group-6'] as Set)
.add(Authorization.WRITE, ['group-5'] as Set)
).build()

createMocks([
Expand Down Expand Up @@ -196,8 +196,8 @@ class InfoControllerSpec extends Specification {
"buildServiceProvider": "JENKINS",
"permissions": {
"READ": [
"group-1",
"group-2"
"group-2",
"group-1"
],
"WRITE": [
"group-2"
Expand All @@ -221,8 +221,8 @@ class InfoControllerSpec extends Specification {
"buildServiceProvider": "GCB",
"permissions": {
"READ": [
"group-5",
"group-6"
"group-6",
"group-5"
],
"WRITE": [
"group-5"
Expand Down

0 comments on commit 802c993

Please sign in to comment.