Skip to content

Commit

Permalink
Add preamble to blog posts about new project name
Browse files Browse the repository at this point in the history
  • Loading branch information
simonbaird committed Jan 21, 2025
1 parent bf743c5 commit a3c2f2b
Show file tree
Hide file tree
Showing 6 changed files with 34 additions and 0 deletions.
2 changes: 2 additions & 0 deletions website/content/posts/a-taste-of-policies.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ policies.

<!--more-->

{{< conforma-name-preamble >}}

Throughtout this post, we will use a container image from one of the author's side projects. This
image was
[built](https://github.com/lcarva/festoji/blob/848edc452ccbc6d42ec56c2807eef2f49e754c5e/.github/workflows/package.yaml)
Expand Down
2 changes: 2 additions & 0 deletions website/content/posts/evaluating-custom-predicates.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ assert the contents of *any* attestation format, even completely made up ones.

<!--more-->

{{< conforma-name-preamble >}}

Before getting started, let's make sure we have an image that is already signed and has a SLSA
Provenance attestation. We will also need access to the signing key used. The [Hitchhiker’s
Guide](https://enterprisecontract.dev/docs/user-guide/hitchhikers-guide.html) walks through the
Expand Down
2 changes: 2 additions & 0 deletions website/content/posts/gating-image-promotion-on-gitlab.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ achieve this in a [GitLab] pipeline.

<!--more-->

{{< conforma-name-preamble >}}

> See the [appendix](#appendix) section for the full example.
Consider a simple [.gitlab-ci.yaml] file:
Expand Down
2 changes: 2 additions & 0 deletions website/content/posts/introducing-action-validate-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ processes or any other automated workflow in GitHub.

<!--more-->

{{< conforma-name-preamble >}}

## What is EC Validate Action?

**EC Validate** is a GitHub Action that brings validation capabilities of the Enterprise Contract CLI directly into your GitHub Workflow. Designed to integrate seamlessly into your build pipeline, this action offers both compliance assessments and integrity checks for your container images. It ensures that your images meet both organizational and industry standards before deployment or environment promotion.
Expand Down
2 changes: 2 additions & 0 deletions website/content/posts/introducing-the-enterprise-contract.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ built on those technologies.

<!--more-->

{{< conforma-name-preamble >}}

## Before starting…

Let’s say you have an image, `quay.io/lucarval/demo:ec`, and you want to verify this image was signed
Expand Down
24 changes: 24 additions & 0 deletions website/layouts/shortcodes/conforma-name-preamble.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<!--
For better or worse I copied this formatting from Antora.
https://docs.antora.org/antora/latest/asciidoc/admonitions/
Todo maybe: Convert the admonition formatting to a generic reuable
shortcode and use .Inner for the content.
-->
<div class="admonitionblock note">
<table>
<tbody>
<tr>
<td class="icon">
<i class="fa icon-note" title="note"></i>
</td>
<td class="content">
This blog post refers to Conforma by its original name, "Enterprise Contract".
But don't worry! The only thing we've changed is the name. The examples described
here should work exactly the same.
</td>
</tr>
</tbody>
</table>
</div>

0 comments on commit a3c2f2b

Please sign in to comment.