-
Notifications
You must be signed in to change notification settings - Fork 517
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
Fix 556-new branch #771
Fix 556-new branch #771
Conversation
Signed-off-by: Yaron Schneider <schneider.yaron@live.com> Signed-off-by: Yaron Schneider <schneider.yaron@live.com> Signed-off-by: francesco.belacca <francesco.belacca@agic.cloud>
Signed-off-by: francesco.belacca <francesco.belacca@agic.cloud>
added missing nodemon dev dependency. solved nth-check security warning through resolutions Signed-off-by: francesco.belacca <francesco.belacca@agic.cloud>
Signed-off-by: greenie-msft <56556602+greenie-msft@users.noreply.github.com>
Signed-off-by: francesco.belacca@hotmail.it <francesco.belacca@hotmail.it>
…ts in hello-kubernetes tutorial Signed-off-by: francesco.belacca@hotmail.it <francesco.belacca@hotmail.it>
… the new code that will be available only when the new image is published Signed-off-by: francesco.belacca@hotmail.it <francesco.belacca@hotmail.it>
… of repos other than dapr/samples Signed-off-by: francesco.belacca@hotmail.it <francesco.belacca@hotmail.it>
… to ghcr of repos other than dapr/samples" This reverts commit dd732bc. Signed-off-by: francesco.belacca@hotmail.it <francesco.belacca@hotmail.it>
…est with the new code that will be available only when the new image is published" This reverts commit b955d53. Signed-off-by: francesco.belacca@hotmail.it <francesco.belacca@hotmail.it>
@greenie-msft here is the new pr, can you please re-shchedule these tests? Thank you! |
Signed-off-by: Francesco Belacca <francesco.belacca@hotmail.it>
thank you for your help and i hope in the future i will be faster in my contributions :) |
@greenie-msft @msfussell @paulyuk Hi, it doesn't seem to be using a new image containing the changes i made in the quickstarts, but the old one(i didn't understand we would follow this particular flow, so i studied now how things should work). This i believe is because in the test pipeline it's using the latest image pushed in your current dapr github container repository: I see that you changed the workflow in this branch: 85d6297 But the problem is that this PR needs to be merged(tests here will never complete correctly). So i think we need to coordinate a bit to make this work :) To recap the necessary steps:
thank you for your help P.S. sorry for all the noise, but don't you think this may seem a bit too complex to new contributors? |
Fix readme service invocation description
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see a simplification in the tutorial output and what we're matching, which I believe should help.
The workflow is tricky when you need to change a test workflow or a container image, and effectively we need to merge and test in prod. I'm very open to discussing how we can simplify this. |
Hi @greenie-msft @msfussell @paulyuk let me know if you need anything else but i think you're ready to merge this if it's ok with you and then re-trigger tests on the other PR to effectively see that they will pass. THE DCO is not passing now because of someone else's missing sign, I think I'm not able to correct this(the commit was already in Master, I just synced from master in my fork/branch): 22ef222
For this matter I can create another Issue if you're ok with that, but the general workflow I'd expect would be: As a contributor wannabe, I fork, make my changes, I am able to launch the build that publishes containers(not on dockerhub, just here on my GHCR that is where the demo takes the images from). Something like what i did here: https://github.com/MACEL94/AKS-3-Tier-App/blob/master/.github/workflows/api.yaml#L24 but using Then the tests should be run when i PR in my fork from my branch and target master(using my ghcr). Then i can do a PR from my fork master to your dapr/quickstarts/master, this PR tests won't pass but at least you'll be able to request me and see in my public history and PR that with the new images, the PR would succeed. If you took the time to truly read this, thank you for your time |
Yes I read it all and I understand. I would like our branches to be more isolated and allow end to end testing. This is a good idea but let's separate that from this fix to unblock the test in its current form. Is the PR ready? If you run make validate and test locally things look good? I'm doing same now. Also I sent an invite on Discord. Could you please accept if you'd like to coordinate a bit more? |
We synced and goal is to merge this tomorrow Italy time after one more check. |
@paulyuk I can also post them here if you'd like me to. |
@paulyuk @yaron2 @ItalyPaleAle Recap of tests done in my local devcontainerBefore testsminikube delete cd to tutorials/hello-kubernetes helm repo add bitnami https://charts.bitnami.com/bitnami Tests not passing with the old container imagemake validate and the tests of course were not passing: Generating the new imageThen I built the dockerfile with the node app locally(so my code was there) and i published it to dockerhub. I changed the node.yaml in the deploy folder to reference that new local image(which will be the same that will be published by your ci once we merge). Tests passing using the new imageNow that the image is online and public, i rerun make validate and finally they are green! So yes, when you have time please i think you can merge the second PR, republish the images, re-run the tests in the original PR and then just merge that original one to master. |
Description
Please explain the changes you've made
Issue reference
We strive to have all PRs being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #[issue number]
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: