Giter VIP home page Giter VIP logo

github-actions's Introduction

cilium-actions

This repository contains the logic behind the GitHub actions being executed in github.com/cilium/cilium

Configuration

Configuration needs to located at .github/maintainers-little-helper.yml.

All the supported options are:

# If project and column are set, all open and re-open PRs are automatically
# added to this project.
project: "https://github.com/cilium/cilium/projects/80"
column: "In progress"
# Move To Projects For Labels XORed will move PR for the project and column
# depending which of the labels are set. If 2 or more labels are set for the
# same branch, for example if `needs-backport/1.6` and `backport-pending/1.6`
# are set, no action will be performed.
move-to-projects-for-labels-xored:
  v1.6:
    needs-backport/1.6:
      project: "https://github.com/cilium/cilium/projects/1"
      column: "Needs backport from master"
    backport-pending/1.6:
      project: "https://github.com/cilium/cilium/projects/1"
      column: "Backport pending to v1.6"
    backport-done/1.6:
      project: "https://github.com/cilium/cilium/projects/1"
      column: "Backport done to v1.6"
  v1.5:
    needs-backport/1.5:
      project: "https://github.com/cilium/cilium/projects/2"
      column: "Needs backport from master"
    backport-pending/1.5:
      project: "https://github.com/cilium/cilium/projects/2"
      column: "Backport pending to v1.5"
    backport-done/1.5:
      project: "https://github.com/cilium/cilium/projects/2"
      column: "Backport done to v1.5"
# Require msg to be presented in all commits from the given PR
require-msgs-in-commit:
  - msg: "Signed-off-by"
    # Helper message that will be set as a comment if the PR does not contain
    # a the required msg in the commit message.
    helper: "https://docs.cilium.io/en/stable/contributing/contributing/#developer-s-certificate-of-origin"
    # Labels that are set in the PR in case the msg does not exist in the commit.
    set-labels:
      - "dont-merge/needs-sign-off"
# Block mergeability of a PR by checking if a particular set of labels are set
# or are not set.
block-pr-with:
  labels-unset:
      # Regex for the labels that should be present.
    - regex-label: "release-note/.*"
      # Helper message that will be set as a comment if the PR does not contain
      # the regex label
      helper: "Release note label not set, please set the appropriate release note."
      set-labels:
      # Labels that will automatically be set in case the PR does not contain
      # a label that match the regex above.
        - "dont-merge/needs-release-note"
  labels-set:
    - regex-label: "dont-merge/.*"
      # Message that will be showed as part of the mergeability GitHub Checker
      # to inform users why the PR is not in a mergeable state.
      helper: "Blocking mergeability of PR as 'dont-merge/.*' labels are set"
# Automatically add these labels in case the PR is open or reopen
auto-label:
  - "kind/backports"
  - "backport/1.6"
# Configuration for the flake tracker
flake-tracker:
  issue-tracker-config:
    # Labels used to search for known flakes or used to create new flakes
    issue-labels:
    - project/ci-force
  # Jenkins configuration
  jenkins-config:
    # Jenkins URL
    jenkins-url: https://jenkins.cilium.io
    # Regex trigger: It is used to leave the similarity message in the comment
    # that has the matches the following regex. If it can't find it, MLH will
    # create a new comment.
    regex-trigger: (^test-me-please)
    # Jobs that are considered 'stable' or run on a scheduled basis.
    stable-jobs:
    - cilium-master-gke
    - cilium-master-k8s-1.16-kernel-net-next
    - cilium-master-k8s-1.17-kernel-4.9
    - cilium-master-k8s-1.18-kernel-4.9
    - cilium-master-k8s-1.19-kernel-4.9
    - cilium-master-k8s-1.19-kernel-5.4
    - cilium-master-k8s-1.20-kernel-4.19
    - cilium-master-k8s-1.21-kernel-4.9
    # PR jenkins jobs that should be looked for flakes
    pr-jobs:
      # Job Name
      Cilium-PR-K8s-1.16-net-next:
        # List of 'stable' Jobs that have a similar environment setup which are
        # used to track flakes.
        correlate-with-stable-jobs:
        - cilium-master-k8s-1.16-kernel-net-next
      Cilium-PR-K8s-1.21-kernel-4.9:
        correlate-with-stable-jobs:
        - cilium-master-k8s-1.17-kernel-4.9
        - cilium-master-k8s-1.18-kernel-4.9
        - cilium-master-k8s-1.19-kernel-4.9
        - cilium-master-k8s-1.21-kernel-4.9
      Cilium-PR-K8s-GKE:
        correlate-with-stable-jobs:
        - cilium-master-gke
  # Maximum number of flakes per test run, if a test run has more flakes than
  # specified here, none of the failures will be considered flakes.
  max-flakes-per-test: 5
  # Minimal similarity that both tests should have to be considered the same.
  flake-similarity: 0.75
  # Failures that should always be ignored and never considered as flakes nor
  # tracked as such.
  ignore-failures:
  - failed due to BeforeAll failure
  - Cilium cannot be installed
  - cilium pre-flight checks failed

github-actions's People

Contributors

aanm avatar dependabot[bot] avatar mhofstetter avatar pchaigno avatar glibsm avatar qmonnet avatar tklauser avatar

Watchers

 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.