Code Monkey home page Code Monkey logo

bats-library's Introduction

Validate and Release OpenSSF Scorecard

πŸ¦‡BATS Library πŸ¦‡

Bash Automated Testing System Library - a collection of test_helper functions and files for automating tests using BATS. This library aims to reduce the amount of repeated code across other CoP repositories currently used for testing policies and deployments.

Some handy links πŸ‘‹πŸ”—

Dependencies

This library has a dependency on:

bats-library's People

Contributors

ckavili avatar dependabot[bot] avatar garethahealy avatar jfilipcz avatar oybed avatar pabrahamsson avatar renovate[bot] avatar springdo avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bats-library's Issues

helper function to run conftest policies against specific version

Add a helper function to:

which filters out (i.e.: rm {file}) which don't match what version is requested

if k8s = 1.20
rm anything that is greater than kubernetes-1.20.rego

if k8s = 4_2
rm anything that is greater than 4_2/
https://github.com/redhat-cop/rego-policies/tree/master/policy/ocp/deprecated

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/scorecard.yml
  • actions/checkout v4.1.2@9bb56186c3b09b4f86b1c65136769dd318469633
  • ossf/scorecard-action v2.3.1@0864cf19026789058feabb7e87baa5f140aac736
  • actions/upload-artifact v4@5d5d22a31266ced268874388b861e4b58bb5c2f3
  • github/codeql-action v3.25.1@c7f9125735019aa87cfc361530512d50ea439c71
.github/workflows/validate.yaml
  • actions/checkout v4@b4ffde65f46336ab88eb53be808477a3936bae11
  • ludeeus/action-shellcheck 2.0.0@00cae500b08a931fb5698e11e79bfbd38e612a38
  • redhat-cop/github-actions v4@11f2ce27643eb7c76ac3623cb99d9b08be30d762
  • redhat-cop/github-actions v4@11f2ce27643eb7c76ac3623cb99d9b08be30d762
  • actions/upload-artifact v4@5d5d22a31266ced268874388b861e4b58bb5c2f3
  • slsa-framework/slsa-github-generator v1.10.0
  • actions/download-artifact v4@c850b930e6ba138125429b7e5c93fc707a7f8427
  • softprops/action-gh-release v2.0.4@9d7c94cfd0a1f3ed45544c887983e9fa900f0564

  • Check this box to trigger a request for Renovate to run again on this repository

How to handle releases per action?

What are peoples thoughts on how we do GitHub releases for this repo? I am presuming each release would follow a naming of:

  • {lib}-{verison}

i.e.: yaml-json-manipulation-1.0.0

but thought I'd see if anyone else has other ideas?

cc @springdo @pabrahamsson

MIT license

@oybed ; repo was created using MIT license. Most of the other repos using Apache for their license (rego/github-actions/container-pipelines/containers-quickstarts).

Any reason this is different?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.