-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
300 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
|
||
npm install -g [email protected] | ||
npm install -g [email protected] | ||
|
||
exec /usr/libexec/s2i/assemble |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
<mjml> | ||
<mj-body> | ||
<!-- Company Header --> | ||
<mj-section full-width="full-width" background-color="#151515" padding-top="8px" padding-bottom="8px" padding-left="12px" padding-right="12px"> | ||
<mj-group> | ||
<mj-column vertical-align="middle"> | ||
<mj-image href="https://demo.redhat.com/" title="RedHat" alt="RedHat" width="185px" src="https://public-assets-email.s3.us-east-2.amazonaws.com/Logo-Red_Hat-A-Reverse-RGB.png" /> | ||
</mj-column> | ||
</mj-group> | ||
</mj-section> | ||
<!-- spacer --> | ||
<mj-section padding-top="0" padding-bottom="0" padding-left="0" padding-right="0"> | ||
<mj-column> | ||
<mj-spacer height="25px" /> | ||
</mj-column> | ||
</mj-section> | ||
<!-- Title --> | ||
<mj-section padding-top="21px" padding-bottom="12px" padding-left="12px" padding-right="12px"> | ||
<mj-column> | ||
<mj-text font-family="Red Hat Text" font-weight="regular" align="center" font-size="16px" color="#000" line-height="1.2"> | ||
Status: {{ service_status }} | ||
</mj-text> | ||
<mj-text font-family="Red Hat Display" font-weight="regular" align="center" font-size="35px" color="#000" line-height="1.2"> | ||
{{ service_display_name }} | ||
</mj-text> | ||
<mj-text font-family="Red Hat Text" font-weight="regular" align="center" font-size="16px" color="#000" line-height="1.2"> | ||
from {{ catalog_namespace.display_name }} | ||
</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
|
||
<!-- spacer --> | ||
<mj-section padding-top="0" padding-bottom="0" padding-left="0" padding-right="0"> | ||
<mj-column> | ||
<mj-spacer height="25px" /> | ||
</mj-column> | ||
</mj-section> | ||
<!-- Text --> | ||
<mj-section padding-top="12px" padding-bottom="12px" padding-left="12px" padding-right="12px" background-color="#f0f0f0"> | ||
{% block content %}{% endblock %} | ||
</mj-section> | ||
|
||
<!-- Footer --> | ||
<mj-section padding-top="12px" padding-bottom="12px" padding-left="12px" padding-right="12px"> | ||
<mj-column> | ||
<mj-text align="center" font-size="12px" color="#4a5557" font-family="Red Hat Text" line-height="1.5"> | ||
<b>RedHat | ||
</b> © Copyright 2022 - All rights reserved | ||
</mj-text> | ||
</mj-column> | ||
</mj-section> | ||
<!-- Footer --> | ||
</mj-body> | ||
</mjml> |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{% extends "base.mjml.j2" %} | ||
{% block content %} | ||
|
||
<mj-column> | ||
<mj-text font-family="Red Hat Text" color="#4a5557" font-size="16px" line-height="1.5" padding-bottom="12px"> | ||
|
||
<p>Your {{ catalog_namespace.display_name }} service, {{ service_display_name }}, has failed to provision. | ||
{% if have_attachments %} | ||
Please see attached Ansible log. | ||
{% endif %} | ||
</p> | ||
|
||
{% if service_url %} | ||
<p>You may manage your {{ catalog_namespace.display_name }} service at:<br> | ||
<a href="{{ service_url }}">{{ service_url }}</a>.</p> | ||
{% endif %} | ||
|
||
</mj-text> | ||
</mj-column> | ||
|
||
{% endblock content %} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{% extends "base.mjml.j2" %} | ||
{% block content %} | ||
|
||
<mj-column> | ||
<mj-text font-family="Red Hat Text" color="#4a5557" font-size="16px" line-height="1.5" padding-bottom="12px"> | ||
|
||
<p>Thank you for ordering {{ catalog_item.display_name }}.</p> | ||
|
||
<p>Provisioning has started on your {{ catalog_namespace.display_name }} service, {{ service_display_name }}.</p> | ||
|
||
<p>You will receive more information via email when the provisioning completes in about {{ provision_time_estimate }}.</p> | ||
|
||
<p>Please note that the environment is set to auto-stop at {{ stop_timestamp }} and auto-destroy at {{ retirement_timestamp }}.</p> | ||
|
||
<p>You can change the auto-stop and auto-destroy time in UI.</p> | ||
|
||
{% if service_url %} | ||
<p>You may manage your {{ catalog_namespace.display_name }} service at:<br> | ||
<a href="{{ service_url }}">{{ service_url }}</a>.</p> | ||
{% endif %} | ||
|
||
</mj-text> | ||
</mj-column> | ||
|
||
{% endblock content %} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{% extends "base.mjml.j2" %} | ||
{% block content %} | ||
|
||
<mj-column> | ||
<mj-text font-family="Red Hat Text" color="#4a5557" font-size="16px" line-height="1.5" padding-bottom="12px"> | ||
|
||
<p><b>Reminder:</b><br> | ||
Your environment will expire and be deleted in {{ retirement_timedelta_humanized }} at {{ retirement_timestamp }}.</p> | ||
|
||
{% if service_url %} | ||
<p>You may manage your {{ catalog_namespace.display_name }} service at:<br> | ||
<a href="{{ service_url }}">{{ service_url }}</a>.</p> | ||
{% endif %} | ||
|
||
</mj-text> | ||
</mj-column> | ||
|
||
{% endblock content %} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{% extends "base.mjml.j2" %} | ||
{% block content %} | ||
|
||
<mj-column> | ||
<mj-text font-family="Red Hat Text" color="#4a5557" font-size="16px" line-height="1.5" padding-bottom="12px"> | ||
|
||
<p>Your {{ catalog_namespace.display_name }} service {{ service_display_name }} has been deleted.</p> | ||
|
||
<p>To conserve resources data on these systems is not archived and cannot be retrieved. | ||
We apologize for any inconvenience this may cause.</p> | ||
|
||
<p>Thank you for using {{ catalog_namespace.display_name }}.</p> | ||
|
||
{% if survey_link %} | ||
<p>We would love your feedback on your demo/lab, please fill out our short Survey (<a href="{{ survey_link | escape }}">click here</a>) to help us improve your experience.</p> | ||
{% endif %} | ||
|
||
</mj-text> | ||
</mj-column> | ||
|
||
{% endblock content %} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{% extends "base.mjml.j2" %} | ||
{% block content %} | ||
|
||
<mj-column> | ||
<mj-text font-family="Red Hat Text" color="#4a5557" font-size="16px" line-height="1.5" padding-bottom="12px"> | ||
<p>Thank you for ordering {{ catalog_item.display_name }}.</p> | ||
|
||
<p>Your {{ catalog_namespace.display_name }} service {{ service_display_name }} is ready.</p> | ||
|
||
<p>Please refer to the instructions for next steps and how to access your environment.</p> | ||
|
||
<p>Troubleshooting and Access issues:</p> | ||
|
||
<p>Always refer to the instructions to understand how to properly access and navigate your environment.</p> | ||
|
||
<p>NOTICE:<br> | ||
Your environment will be stopped in {{ stop_timedelta_humanized }} at {{ stop_timestamp }}.<br> | ||
Your environment will expire and be deleted in {{ retirement_timedelta_humanized }} at {{ retirement_timestamp }}.</p> | ||
|
||
<p>In order to conserve resources, we cannot archive or restore any data in this environment. | ||
All data will be lost upon expiration.</p> | ||
|
||
{% if provision_messages is defined %} | ||
<p>Here is some important information about your environment:</p> | ||
{{ provision_messages_html }} | ||
{% endif %} | ||
|
||
{% if service_url %} | ||
<p>You may manage your {{ catalog_namespace.display_name }} service at:<br> | ||
<a href="{{ service_url }}">{{ service_url }}</a>.</p> | ||
{% endif %} | ||
|
||
</mj-text> | ||
</mj-column> | ||
|
||
{% endblock content %} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{% extends "base.mjml.j2" %} | ||
{% block content %} | ||
|
||
<mj-column> | ||
<mj-text font-family="Red Hat Text" color="#4a5557" font-size="16px" line-height="1.5" padding-bottom="12px"> | ||
|
||
<p>Your {{ catalog_namespace.display_name }} service {{ service_display_name }} has started.</p> | ||
|
||
<p> | ||
<b>NOTICE:</b><br> | ||
<ul> | ||
<li>Your environment will be stopped in {{ stop_timedelta_humanized }} at {{ stop_timestamp }}.</li> | ||
<li>Your environment will expire and be deleted in {{ retirement_timedelta_humanized }} at {{ retirement_timestamp }}.</li> | ||
</ul> | ||
</p> | ||
|
||
{% if service_url %} | ||
<p>You may manage your {{ catalog_namespace.display_name }} service at:<br> | ||
<a href="{{ service_url }}">{{ service_url }}</a>.</p> | ||
{% endif %} | ||
|
||
</mj-text> | ||
</mj-column> | ||
|
||
{% endblock content %} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
{% extends "base.mjml.j2" %} | ||
{% block content %} | ||
|
||
<mj-column> | ||
<mj-text font-family="Red Hat Text" color="#4a5557" font-size="16px" line-height="1.5" padding-bottom="12px"> | ||
|
||
<p>Your {{ catalog_namespace.display_name }} service {{ service_display_name }} failed to start. | ||
{% if have_attachments %} | ||
Please see attached Ansible log. | ||
{% endif %} | ||
</p> | ||
|
||
{% if service_url %} | ||
<p>You may manage your {{ catalog_namespace.display_name }} service at:<br> | ||
<a href="{{ service_url }}">{{ service_url }}</a>.</p> | ||
{% endif %} | ||
|
||
</mj-text> | ||
</mj-column> | ||
|
||
{% endblock content %} |
Oops, something went wrong.