GithubHelp home page GithubHelp logo

isabella232 / tekton-scorecard-image Goto Github PK

View Code? Open in Web Editor NEW

This project forked from operator-framework/tekton-scorecard-image

0.0 0.0 0.0 194 KB

a SDK Scorecard custom image for the tekton operator

License: Apache License 2.0

Makefile 1.24% Dockerfile 0.20% Shell 0.31% Go 17.39% Java 80.86%

tekton-scorecard-image's Introduction

tekton-scorecard-image

a SDK Scorecard custom image for the tekton operator

This is an example of an operator-sdk scorecard custom test image. It is designed specifically to test the tekton pipeline operator.

The included Makefile has targets to build and run the scorecard tests.

Build the image

make image-build

Setup the Required RBAC for the Tests

make installrbac

Run the Scorecard Tests

make runtests

Custom Test Notes

This repo is meant to be an example of how to write some operator-sdk scorecard custom tests. In particular, this example runs some tests for the tekton operator.

The following custom tests are implemented:

Test Name Description
operatorrunning This is a test that verifies the tekton operator is running, if they are running, the test passes.
tasksuccess This test creates a Task and then a TaskRun, it then sees if the TaskRun completes successfully. The test cleans up the Task and TaskRun resources after it runs.

You can see how the scorecard tests are configured by examining the config.yaml file in the included sample bundle directory. Also, make note of the scorecard command syntax as found in the Makefile.

tekton-scorecard-image's People

Contributors

bentito avatar

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.