Skip to content

Commit 11731ae

Browse files
committed
adding constant for dashboard
Signed-off-by: salaboy <[email protected]>
1 parent 7c9a678 commit 11731ae

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ jobs:
3232
- name: Run tests
3333
run: ./mvnw clean install -B -q -DskipITs=true
3434
- name: Codecov
35-
uses: codecov/[email protected]
35+
uses: codecov/[email protected]
36+
with:
37+
token: ${{ secrets.CODECOV_TOKEN }}
3638
- name: Upload test report for sdk
3739
uses: actions/upload-artifact@v6
3840
with:

testcontainers-dapr/src/main/java/io/dapr/testcontainers/DaprContainerConstants.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515

1616
public interface DaprContainerConstants {
1717
String DAPR_VERSION = "1.16.0-rc.5";
18+
String DAPR_WORKFLOWS_DASHBOARD_VERSION = "0.0.1";
1819
String DAPR_RUNTIME_IMAGE_TAG = "daprio/daprd:" + DAPR_VERSION;
1920
String DAPR_PLACEMENT_IMAGE_TAG = "daprio/placement:" + DAPR_VERSION;
2021
String DAPR_SCHEDULER_IMAGE_TAG = "daprio/scheduler:" + DAPR_VERSION;
22+
String DAPR_WORKFLOWS_DASHBOARD = "ghcr.io/diagridio/diagrid-dashboard:" + DAPR_WORKFLOWS_DASHBOARD_VERSION;
2123
}

testcontainers-dapr/src/main/java/io/dapr/testcontainers/WorkflowDashboardContainer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public class WorkflowDashboardContainer extends GenericContainer<WorkflowDashboa
3131
private static final Yaml YAML_MAPPER = YamlMapperFactory.create();
3232
private static final YamlConverter<Component> COMPONENT_CONVERTER = new ComponentYamlConverter(YAML_MAPPER);
3333
public static final DockerImageName DEFAULT_IMAGE_NAME = DockerImageName
34-
.parse("ghcr.io/diagridio/diagrid-dashboard:0.0.1");
34+
.parse(DaprContainerConstants.DAPR_WORKFLOWS_DASHBOARD);
3535
private int dashboardPort = 8080;
3636
private Component stateStoreComponent;
3737

0 commit comments

Comments
 (0)