Skip to content

Commit

Permalink
release 1.0.26
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenchristopher-zip committed Sep 27, 2022
1 parent aba13b4 commit 06c72e9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ spinnakerBundle {
pluginId = "zip.deployboard"
description = "Customization for Zip deploys"
provider = "https://github.com/Greenbax/zip-spinnaker-deployboard"
version = "1.0.25"
version = "1.0.26"
}

subprojects {
Expand Down
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.25",
"date": "2022-09-27T04:55:55.797449Z",
"version": "1.0.26",
"date": "2022-09-27T07:54:32.771500Z",
"requires": "gate>=0.0.0,orca>=0.0.0,deck>=0.0.0",
"sha512sum": "e89dc02eee53ff573a79571a872c5bc705ea5aa3813e347c9c6332fc641bb9bf8c15d4d41c5f1ffea19eff365ec8310c6979f365d8c2f25e8140ac751af73a1a",
"sha512sum": "827ae12d4250a8b4bf0e9c4ebdf70e15c628059f384240e73867bcd3c7235426b5291a60118160e9cfb9b3144506b373bb84a53ec0b0c40bfd5c11f412731933",
"state": "",
"url": "https://github.com/Greenbax/zip-spinnaker-deployboard/releases/download/v1.0.25/zip-spinnaker-deployboard.zip"
"url": "https://github.com/Greenbax/zip-spinnaker-deployboard/releases/download/v1.0.26/zip-spinnaker-deployboard.zip"
}
]
}
Expand Down
4 changes: 3 additions & 1 deletion zip-deployboard-deck/src/snapshots/SnapshotsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ import { CheckmarkIcon, LoaderIcon } from 'react-hot-toast';

import type { CommitType, SnapshotType } from './SnapshotsDataSource';

const DOCKER_PREFIX = '242230929264.dkr.ecr.us-east-2.amazonaws.com/';

export interface SnapshotsTableProps {
builds: SnapshotType[];
expandedBuilds: Set<number>;
Expand Down Expand Up @@ -78,7 +80,7 @@ export const SnapshotsTable = ({
</td>
<td>{build.buildNumber}</td>
<td>{getCommitSummary(build.commits)}</td>
<td>{build.dockerImage}</td>
<td>{build.dockerImage.replace(DOCKER_PREFIX, '')}</td>
<td>
<Button
onClick={(e) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ public class SnapshotsApiExtension implements ApiExtension {
private String snapshotTableName = "zip-spinnaker-ci-builds";
private String deployStatusTableName = "zip-spinnaker-ci-deploys";
private Integer buildLimit = 25;
private String dockerPrefix = "242230929264.dkr.ecr.us-east-2.amazonaws.com/evergreen-server:";

public String id() {
return "snapshots";
Expand Down Expand Up @@ -139,7 +140,7 @@ public HttpResponse handle(HttpRequest httpRequest) {
Build build = Build.of(
dbItem.getString("branch"),
buildNumber,
dbItem.getString("dockerTag")
String.format("%s%s", this.dockerPrefix, dbItem.getString("dockerTag"))
);
build.setDeployStatus(branchStatus);
builds.add(build);
Expand Down

0 comments on commit 06c72e9

Please sign in to comment.