GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — pulsar/.github/workflows at master · apache/pulsar

Expand file tree

/

workflows

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
/

workflows

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
README.md
README.md
 
 
ci-go-functions.yaml
ci-go-functions.yaml
 
 
ci-gradle-cache-update.yaml
ci-gradle-cache-update.yaml
 
 
ci-gradle-dependency-submission.yaml
ci-gradle-dependency-submission.yaml
 
 
ci-pulsarbot.yaml
ci-pulsarbot.yaml
 
 
ci-python-functions.yaml
ci-python-functions.yaml
 
 
ci-semantic-pull-request.yml
ci-semantic-pull-request.yml
 
 
codeql.yaml
codeql.yaml
 
 
labeler.yml
labeler.yml
 
 
pulsar-ci-flaky.yaml
pulsar-ci-flaky.yaml
 
 
pulsar-ci.yaml
pulsar-ci.yaml
 
 

README.md

Outline

GitHub Workflows

This directory contains all Pulsar CI checks.

Required Workflows

When adding new CI workflows, please update the .asf.yaml if the workflow is required to pass before a PR can be merged. Instructions on how to update the file are below.

This project uses the .asf.yaml to configure which workflows are required to pass before a PR can be merged. In the .asf.yaml, the required contexts are defined in the github.protected_branches.*.required_status_checks.contexts.[] where * is any key in the protected_branches map.

You can view the currently required status checks by running the following command:

curl -s -H 'Accept: application/vnd.github.v3+json' https://api.github.com/repos/apache/pulsar/branches/master | \
jq .protection

These contexts get their names in one of two ways depending on how the workflow file is written in this directory. The following command will print out the names of each file and the associated with the check. If the name field is null, the context will be named by the id.

for f in .github/workflows/*.yaml; \
do FILE=$f yq eval -o j '.jobs | to_entries | {"file": env(FILE),"id":.[].key, "name":.[].value.name}' $f; \
done

Duplicate names are allowed, and all checks with the same name will be treated the same (required or not required).

When working on workflow changes, one way to find out the names of the status checks is to retrieve the names from the PR build run. The "check-runs" can be found by commit id. Here's an example:

curl -s "https://api.github.com/repos/apache/pulsar/commits/$(git rev-parse HEAD)/check-runs" | \
  jq -r '.check_runs | .[] | .name' |sort
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.