Skip to content

enteraga6/example-package

 
 

Repository files navigation

Example project for SLSA

Example project builds a simple binary using a variety of SLSA-compliant builders.

The code is built using bazelisk build:

  • Bazelisk reads .bazelversion, fetches the correct version of Bazel, and then runs bazel build.
  • Bazel reads WORKSPACE, fetches the rules_go module, and then compiles the hello binary.

For GitHub Actions-based builds, the artifact is uploaded using actions/upload-artifact.

Builders

slsa-github-generator e2e test status

Project health

golangci-lint shellcheck yamllint actionlint

Node.js builder e2e tests

Name Status
create .github/workflows/e2e.nodejs.create.main.default.slsa3.yml
push to main .github/workflows/e2e.nodejs.push.main.default.slsa3.yml
push to main w/ dist-tag .github/workflows/e2e.nodejs.push.main.disttag.slsa3.yml
push to branch .github/workflows/e2e.nodejs.push.branch1.default.slsa3.yml
push to tag .github/workflows/e2e.nodejs.tag.main.default.slsa3.yml
release .github/workflows/e2e.nodejs.release.main.default.slsa3.yml
workflow_dispatch .github/workflows/e2e.nodejs.workflow_dispatch.main.default.slsa3.yml

BYOB generic permissions builder e2e tests

Name Status
workflow_dispatch .github/workflows/e2e.delegator-generic.workflow_dispatch.main.default.slsa3.yml
release .github/workflows/e2e.delegator-generic.release.main.default.slsa3.yml
create .github/workflows/e2e.delegator-generic.create.main.default.slsa3.yml
push .github/workflows/e2e.delegator-generic.push.main.default.slsa3.yml
tag .github/workflows/e2e.delegator-generic.tag.main.default.slsa3.yml

BYOB low permissions builder e2e tests

Name Status
workflow_dispatch .github/workflows/e2e.delegator-lowperms.workflow_dispatch.main.default.slsa3.yml
release .github/workflows/e2e.delegator-lowperms.release.main.default.slsa3.yml
create .github/workflows/e2e.delegator-lowperms.create.main.default.slsa3.yml
push .github/workflows/e2e.delegator-lowperms.push.main.default.slsa3.yml
tag .github/workflows/e2e.delegator-lowperms.tag.main.default.slsa3.yml

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 25.1%
  • Makefile 20.4%
  • Starlark 18.6%
  • Shell 18.0%
  • Go 14.6%
  • Dockerfile 3.3%