Skip to content

Commit 13f656b

Browse files
authored
Merge pull request #425 from robnester-rh/EC-1113
chore: update references to policy repo
2 parents 6696d2e + 2a56c7e commit 13f656b

File tree

12 files changed

+28
-28
lines changed

12 files changed

+28
-28
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ there are several extensions defined as development dependencies in
3232
To make changes locally to the extensions run `npm run dev:setup` script in the
3333
`antora` directory. The script assumes that the local clones of
3434
[ec-cli](https://github.com/enterprise-contract/ec-cli/) and
35-
[ec-policies](https://github.com/enterprise-contract/ec-policies/) repositories
35+
[policy](https://github.com/conforma/policy/) repositories
3636
are present in the directory above this one. The outcome of running the
3737
`dev:setup` script is that local copies of the NPM packages that comprise the
3838
extensions are [linked](https://docs.npmjs.com/cli/v6/commands/npm-link), so

antora/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ With `hack/local-build.sh` script performs this by creating a temporary playbook
1818
file pointing to the local clones of the mentioned repositories if those
1919
repositories are located in the `../<repository>` for a
2020
`https://github.com/<org>/<repository>.git` git URL. For example, it is expected
21-
that the `ec-policies` repository is located at `../ec-policies`. If the local
21+
that the `policy` repository is located at `../policy`. If the local
2222
repository is on a different path create a symlink pointing from
2323
`../<repository>` to that path.
2424

antora/antora-playbook.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ site:
2626
robots: allow
2727
content:
2828
sources:
29-
- url: https://github.com/enterprise-contract/ec-policies.git
29+
- url: https://github.com/conforma/policy.git
3030
start_path: antora/docs
3131

3232
- url: https://github.com/enterprise-contract/ec-cli.git

antora/supplemental-ui/helpers/componentTitle.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const customTitles = {
66
"user-guide": "About",
77
"ec-cli": "CLI Reference",
88
"ecc": "Configuration Reference",
9-
"ec-policies": "Policies",
9+
"policy": "Policies",
1010
}
1111

1212
module.exports = (component) => {

antora/supplemental-ui/helpers/sortComponents.cjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const componentOrder = [
88
"user-guide",
99
"ec-cli",
1010
"ecc",
11-
"ec-policies",
11+
"policy",
1212
]
1313

1414
const componentSorter = function (a, b) {

conforma.github.io.code-workspace

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"path": "../ec-cli/tekton-task-antora-extension"
1414
},
1515
{
16-
"path": "../ec-policies/antora/ec-policies-antora-extension"
16+
"path": "../policy/antora/policy-antora-extension"
1717
}
1818
],
1919
"settings": {}

website/config/_default/menu.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
[[main]]
4545
name = 'Policies'
4646
parent = 'Documentation'
47-
url = '/docs/ec-policies/release_policy.html'
47+
url = '/docs/policy/release_policy.html'
4848
weight = 60
4949

5050
[[main]]

website/content/posts/a-taste-of-policies.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ identity:
6767

6868
sources:
6969
- policy:
70-
- github.com/enterprise-contract/ec-policies//policy/lib
71-
- github.com/enterprise-contract/ec-policies//policy/release
70+
- github.com/conforma/policy//policy/lib
71+
- github.com/conforma/policy//policy/release
7272
ruleData:
7373
allowed_gh_workflow_repos:
7474
- lcarva/festoji
@@ -86,7 +86,7 @@ configuration:
8686
8787
This policy moves the certificate flags to the policy itself. It also specifies certain policy rules
8888
to be executed. Here we are including some of the existing Enterprise Contract policy rules,
89-
[github_certificate](https://conforma.dev/docs/ec-policies/release_policy.html#github_certificate_package).
89+
[github_certificate](https://conforma.dev/docs/policy/release_policy.html#github_certificate_package).
9090
These policy rules rely on certain data to be provided, e.g. the expected GitHub Workflow
9191
repository. With this policy saved as `policy.yaml`, we can simplify how the CLI is invoked:
9292

@@ -189,7 +189,7 @@ deny contains result if {
189189
This defines a single policy rule that verifies the materials section of the SLSA Provenance contain
190190
the expected git repository. The Enterprise Contract relies on rego annotations to provide
191191
additional information about each of the policy rules. See the
192-
[docs](https://conforma.dev/docs/ec-policies/authoring.html) for more information.
192+
[docs](https://conforma.dev/docs/policy/authoring.html) for more information.
193193

194194
Let's add this rule to our previous policy:
195195

@@ -202,8 +202,8 @@ identity:
202202
203203
sources:
204204
- policy:
205-
- github.com/enterprise-contract/ec-policies//policy/lib
206-
- github.com/enterprise-contract/ec-policies//policy/release
205+
- github.com/conforma/policy//policy/lib
206+
- github.com/conforma/policy//policy/release
207207
ruleData:
208208
allowed_gh_workflow_repos:
209209
- lcarva/festoji

website/content/posts/evaluating-custom-predicates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ _bacon_attestations := [attestation |
111111
]
112112
```
113113

114-
(Check out the [docs](https://conforma.dev/docs/ec-policies/authoring.html) for more
114+
(Check out the [docs](https://conforma.dev/docs/policy/authoring.html) for more
115115
information on how to author policy rules 🔥)
116116

117117
Next, we create a policy configuration, `policy.yaml`, to use the policy rules above.

website/content/posts/gating-image-promotion-on-gitlab.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -250,8 +250,8 @@ identity:
250250
issuer: https://gitlab.com
251251
sources: # <- added
252252
- policy:
253-
- github.com/enterprise-contract/ec-policies//policy/lib
254-
- github.com/enterprise-contract/ec-policies//policy/release
253+
- github.com/conforma/policy//policy/lib
254+
- github.com/conforma/policy//policy/release
255255
config:
256256
include:
257257
- slsa_source_correlated
@@ -296,7 +296,7 @@ GitLab.
296296
[GitLab container registry]: https://docs.gitlab.com/ee/user/packages/container_registry/
297297
[identity-based]: https://docs.sigstore.dev/signing/overview/
298298
[SLSA Provenance]: https://slsa.dev/spec/v1.0/
299-
[slsa_source_correlated]: https://conforma.dev/docs/ec-policies/release_policy.html#slsa_source_correlated_package
299+
[slsa_source_correlated]: https://conforma.dev/docs/policy/release_policy.html#slsa_source_correlated_package
300300

301301
## Appendix
302302

0 commit comments

Comments
 (0)