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

feat: email the snapshot to input email w/signoff #101

Merged
merged 3 commits into from
Aug 29, 2024

Conversation

Jougan-0
Copy link
Contributor

Notes for Reviewers

This PR fixes #

  • Yes, I signed my commits.

action.yml Outdated Show resolved Hide resolved
@leecalcote
Copy link
Contributor

Please stop using "successfully".

@Jougan-0
Copy link
Contributor Author

Please stop using "successfully".

A successfully again slipped through even I paid attention while writing cloud errors and logs still one had to slip through. 😡

@leecalcote
Copy link
Contributor

Markdown isn't going to display correctly in email...

action.yml Outdated
Comment on lines 168 to 197
subject: "MeshMap Snapshot"
from: '"MeshMap" <${{ secrets.MAIL_USERNAME }}>'
to: ${{ inputs.email }}
body: |
Hello,

Your MeshMap snapshot has been successfully generated and is now ready for you to view!

**Snapshot Details:**
- **Design ID**: ${{ inputs.designID }}
- **Resource Type**: ${{ inputs.application_type }}

You can view and download your snapshot by clicking the link below:
[View Your MeshMap Snapshot](${{ env.RESOURCE_URL }})

**Next Steps:**
- **Review the Snapshot**: Ensure all components are correctly represented and the infrastructure layout aligns with your expectations.
- **Share with Your Team**: Use this snapshot to facilitate discussions and planning with your team.
- **Explore Further**: Learn more about how MeshMap can help visualize and manage your infrastructure by visiting our [documentation](https://docs.layer5.io/meshmap).

If you have any questions or need further assistance, please feel free to reach out to our support team.

Thank you for using MeshMap!

Best regards,
The MeshMap Team

---
Meshery by Layer5 - The Cloud Native Management Plane.
Learn more at [https://layer5.io/meshery](https://layer5.io/meshery)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
subject: "MeshMap Snapshot"
from: '"MeshMap" <${{ secrets.MAIL_USERNAME }}>'
to: ${{ inputs.email }}
body: |
Hello,
Your MeshMap snapshot has been successfully generated and is now ready for you to view!
**Snapshot Details:**
- **Design ID**: ${{ inputs.designID }}
- **Resource Type**: ${{ inputs.application_type }}
You can view and download your snapshot by clicking the link below:
[View Your MeshMap Snapshot](${{ env.RESOURCE_URL }})
**Next Steps:**
- **Review the Snapshot**: Ensure all components are correctly represented and the infrastructure layout aligns with your expectations.
- **Share with Your Team**: Use this snapshot to facilitate discussions and planning with your team.
- **Explore Further**: Learn more about how MeshMap can help visualize and manage your infrastructure by visiting our [documentation](https://docs.layer5.io/meshmap).
If you have any questions or need further assistance, please feel free to reach out to our support team.
Thank you for using MeshMap!
Best regards,
The MeshMap Team
---
Meshery by Layer5 - The Cloud Native Management Plane.
Learn more at [https://layer5.io/meshery](https://layer5.io/meshery)
subject: "Your Meshery Snapshot"
from: '"Layer5" <${{ secrets.MAIL_USERNAME }}>'
to: ${{ inputs.email }}
body: |
<p>Hello,</p>
<p>Your ${{ inputs.application_type }} has been converted to a Meshery Design. Your snapshot has been generated and is now available.</p>
<p><a href="${{ env.RESOURCE_URL }}"><img src="${{ env.RESOURCE_URL }}" width="80%" /></a></p>
<p><b>Next Steps</b></p>
<ul>
<ol><b>Edit your snapshot</b>: Create or sign into your <a href="https://meshery.layer5.io">Layer5 Cloud</a> account to edit your snapshot.</ol>
<ol><b>Share with your team</b>: Use this snapshot to facilitate discussions and planning with your team.</ol>
<ol><b>Add Snapshots to your GitHub Pull Requests</b>: <a href="http://meshery.layer5.io/connect/github/new">Connect Meshery Snapshots with your GitHub repo</a> and see changes pull request-to-pull request. Get snapshots of your infrastructure directly in your PRs.</ol>
</ul>
<p>Thank you for using Meshery! If you enjoy this tool, share with your friends.</p>
---<br />
Meshery by Layer5 - The Collaborative Cloud Native Manager. Learn more at <a href="https://layer5.io/meshery">layer5.io</a>.

action.yml Outdated Show resolved Hide resolved
@leecalcote leecalcote merged commit f71cbd4 into layer5labs:master Aug 29, 2024
0 of 4 checks passed
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.

2 participants