Skip to content

Commit

Permalink
KOGITO-9138 Use new swf devmode image (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
radtriste authored May 15, 2023
1 parent 1a1f43b commit ba6333d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/check-container-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ jobs:
concurrency:
group: kogito_serverless_operator_pr-integration-${{ matrix.container-engine }}-${{ github.head_ref }}
cancel-in-progress: true
# should be set back to 120 here and stable and kogito-swf-builder in Kogito.dockerfile once kogito-swf-builder 1.33 is released
timeout-minutes: 300
timeout-minutes: 120
name: Integration tests (${{ matrix.container-engine }})
runs-on: ubuntu-22.04
steps:
Expand Down
2 changes: 1 addition & 1 deletion controllers/profiles/reconciler_dev.go
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ var prefixMountPathMap = map[string]string{

const (
// TODO: read from the platform config. Default tag MUST align with the current operator's version. See: https://issues.redhat.com/browse/KOGITO-8675
defaultKogitoServerlessWorkflowDevImage = "quay.io/kiegroup/kogito-swf-builder"
defaultKogitoServerlessWorkflowDevImage = "quay.io/kiegroup/kogito-swf-devmode"
configMapWorkflowDefVolumeName = "workflow-definition"
configMapWorkflowDefMountPath = "/home/kogito/serverless-workflow-project/src/main/resources/workflows"
// quarkusDevConfigMountPath mount path for application properties file in the Workflow Quarkus Application
Expand Down
2 changes: 1 addition & 1 deletion controllers/profiles/reconciler_dev_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ func Test_devProfileWithWPlatformWithoutDevBaseImageAndWithBaseImage(t *testing.

// check if the objects have been created
deployment := test.MustGetDeployment(t, client, workflow)
assert.Equal(t, "quay.io/kiegroup/kogito-swf-builder-nightly:latest", deployment.Spec.Template.Spec.Containers[0].Image)
assert.Equal(t, "quay.io/kiegroup/kogito-swf-devmode-nightly:latest", deployment.Spec.Template.Spec.Containers[0].Image)
}

func Test_devProfileWithPlatformWithoutDevBaseImageAndWithoutBaseImage(t *testing.T) {
Expand Down

0 comments on commit ba6333d

Please sign in to comment.