Skip to content

Commit

Permalink
release 1.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenchristopher-zip committed Sep 25, 2022
1 parent 4c2f449 commit cc3f354
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ spinnakerBundle {
pluginId = "zip.deployboard"
description = "Customization for Zip deploys"
provider = "https://github.com/Greenbax/zip-spinnaker-deployboard"
version = "1.0.5"
version = "1.0.6"
}
8 changes: 4 additions & 4 deletions plugins.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"provider": "https://github.com/Greenbax/zip-spinnaker-deployboard",
"releases": [
{
"version": "1.0.5",
"date": "2022-09-25T05:17:26.384791Z",
"version": "1.0.6",
"date": "2022-09-25T05:39:02.930469Z",
"requires": "gate>=0.0.0,orca>=0.0.0,deck>=0.0.0",
"sha512sum": "ab06c9830d7ddfb84a8b832ea814abe8714343ad0f8c55ef04cdcab2fc9a9ad37df6927addeb820215adbd5a6d5b086161d67ca979657dd1a8a3cac41f6b830f",
"sha512sum": "b8325635689e0c4d0a8a1de03bd2e83c11ba5fd795ed6ea16a5905cb93b70a621fb28968bb05b5b4aef40f7097d5f0ea473b5f342adcfc0b36e8c93b37295ac5",
"state": "",
"url": "https://github.com/Greenbax/zip-spinnaker-deployboard/releases/download/v1.0.5/zip-spinnaker-deployboard.zip"
"url": "https://github.com/Greenbax/zip-spinnaker-deployboard/releases/download/v1.0.6/zip-spinnaker-deployboard.zip"
}
]
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import java.util.*;

import com.amazonaws.auth.WebIdentityTokenCredentialsProvider;
import com.amazonaws.regions.Regions;
import org.pf4j.Extension;
import lombok.Data;

Expand Down Expand Up @@ -105,7 +106,7 @@ public HttpResponse handle(HttpRequest httpRequest) {
)
.withMaxPageSize(100);

AmazonDynamoDB client = AmazonDynamoDBClientBuilder.standard().withRegion("us-east-2").withCredentials(WebIdentityTokenCredentialsProvider.create()).build();
AmazonDynamoDB client = AmazonDynamoDBClientBuilder.standard().withRegion(Regions.US_EAST_2).withCredentials(WebIdentityTokenCredentialsProvider.create()).build();
DynamoDB dynamoDB = new DynamoDB(client);
Table table = dynamoDB.getTable(snapshotTableName);
ItemCollection<QueryOutcome> items = table.query(spec);
Expand Down Expand Up @@ -155,7 +156,7 @@ public BranchStatus queryBranchStatus(String branch) {
.withString(":branch_name", branch)
);

AmazonDynamoDB client = AmazonDynamoDBClientBuilder.standard().withRegion("us-east-2").withCredentials(WebIdentityTokenCredentialsProvider.create()).build();
AmazonDynamoDB client = AmazonDynamoDBClientBuilder.standard().withRegion(Regions.US_EAST_2).withCredentials(WebIdentityTokenCredentialsProvider.create()).build();
DynamoDB dynamoDB = new DynamoDB(client);
Table table = dynamoDB.getTable(deployStatusTableName);
ItemCollection<QueryOutcome> items = table.query(spec);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package io.ziphq.deployboard;

import com.amazonaws.auth.WebIdentityTokenCredentialsProvider;
import com.amazonaws.regions.Regions;
import com.amazonaws.services.dynamodbv2.AmazonDynamoDB;
import com.amazonaws.services.dynamodbv2.AmazonDynamoDBClientBuilder;
import com.amazonaws.services.dynamodbv2.document.DynamoDB;
Expand All @@ -18,7 +19,7 @@ public class DynamoStatusTask implements Task {

public TaskResult execute(StageExecution stage) {
DynamoStatusContext context = stage.mapTo(DynamoStatusContext.class);
AmazonDynamoDB client = AmazonDynamoDBClientBuilder.standard().withRegion("us-east-2").withCredentials(WebIdentityTokenCredentialsProvider.create()).build();
AmazonDynamoDB client = AmazonDynamoDBClientBuilder.standard().withRegion(Regions.US_EAST_2).withCredentials(WebIdentityTokenCredentialsProvider.create()).build();
DynamoDB dynamoDB = new DynamoDB(client);
Table table = dynamoDB.getTable(dynamoTableName);

Expand Down

0 comments on commit cc3f354

Please sign in to comment.