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 — google-cloud-java/.github/release-note-generation at main · westarle/google-cloud-java

Expand file tree

/

release-note-generation

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

release-note-generation

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
golden
golden
 
 
testdata
testdata
 
 
README.md
README.md
 
 
generate_module_notes.py
generate_module_notes.py
 
 
golden_test.sh
golden_test.sh
 
 
split_release_note.py
split_release_note.py
 
 
test_generate_module_notes.py
test_generate_module_notes.py
 
 
unit_test.py
unit_test.py
 
 

README.md

Outline

CHANGELOG.md Generation Script

The script split_release_note.py splits the main changelog prepared by Release Please into the CHANGELOG.md files in the modules of google-cloud-java repository.

Trigger

GitHub Actions' pull request triggers the script upon Release Please pull requests and adds an additional commit CHANGELOG.md within the same pull requests. The .github/workflows/changelog_generation.yaml defines the workflow.

Test

The .github/workflows/changelog_generation_test.yaml defines pull request check when we modify the generation logic with unit tests and golden test.

Unit Test

Unit tests for the functions in the Python script is in unit_test.py. You can run it as below:

~/google-cloud-java $ python3 .github/release-note-generation/unit_test.py
...
OK

Golden Test

The golden test serves as a integration test. You can run it as below:

~/google-cloud-java $ sh .github/release-note-generation/golden_test.sh
...
Golden test passed
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.