Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flpath751 - Add MTA v6.2.2 and MTA v7.0.2 #198

Closed
wants to merge 19 commits into from

Conversation

rhkp
Copy link
Collaborator

@rhkp rhkp commented May 6, 2024

Hi @dmartinol / @masayag / @pkliczewski,
Please review and merge or provide feedback for changes.

This is part 1 of instructions steps 1-4 at https://github.com/parodos-dev/serverless-workflows/tree/main?tab=readme-ov-file#to-introduce-a-new-workflow.

For part 2 with steps 5-7, I will raise a separate PR towards serverless-workflows-config repo.

Thanks.

e2e/mtav6.2.2.sh Outdated
Copy link
Collaborator

@dmartinol dmartinol May 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the three files e2e/mtaXYZ.sh are exactly the same, can't you just use one and refer to it in the GH action?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rhkp no replies?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Things are wip, please see my latest comment.

Copy link
Collaborator

@dmartinol dmartinol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't we also remove the original mta folder and the associated action?
lgtm apart from the comments I've raised (but Gabriel and Moti rules)

@rhkp
Copy link
Collaborator Author

rhkp commented May 7, 2024

Shouldn't we also remove the original mta folder and the associated action? lgtm apart from the comments I've raised (but Gabriel and Moti rules)

I agree. I guess once the v6.2.2 and v7.0.2 are in, we can safely remove the original MTA directory.

# Use a fixed folder to simplify limactl configuration (must be mounted with Write permissions)
WORKDIR := /tmp/serverless-workflows
endif
WORKDIR := ~/workdir
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure this works when it's launched from a GH action, have you tested this use case? (e.g., "escalation" workflows are built this way)

@@ -166,13 +165,4 @@ gen-manifests: prepare-workdir
cd $(WORKDIR)
@$(CONTAINER_ENGINE) run --rm -v $(WORKDIR):/workdir -w /workdir \
$(LINUX_IMAGE) /bin/bash -c "${SCRIPTS_DIR}/gen_manifests.sh $(WORKFLOW_ID) $(ENABLE_PERSISTENCE)"
@echo "Manifests are available in workdir $(WORKDIR)/$(WORKFLOW_ID)/manifests"

# Target: push-manifests
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

any reasons for removing this target?
as I said before, "escalation" is built with the Makefile and manifests pushed with this target

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Things are wip, please see my latest comment.

quarkus.kogito.devservices.enabled=false

mta.url = ${MTA_URL:http://mta-ui.openshift-mta.svc.cluster.local:8080}
quarkus.rest-client.mta_json.url = ${mta.url}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if you look at the original file in mta folder, it is:
${mta.url}/hub

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Then I give up, surely @gabriel-farache knows it

@rhkp
Copy link
Collaborator Author

rhkp commented May 8, 2024

Hi @dmartinol Thanks for review comments. I am working on making local testing of workflows ( please see directory experimental-ci-on-vm) on local clusters work first. I think I will switch this PR to draft or close for now and raise a new one.

@rhkp rhkp closed this May 8, 2024
@rhkp rhkp reopened this May 8, 2024
@rhkp
Copy link
Collaborator Author

rhkp commented May 8, 2024

Closing this for now as needs local tests and to avoid GH Actions pipeline triggers for every commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants