Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: update development guide #3480

Merged
merged 1 commit into from
Dec 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions hermetic_build/DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,14 @@ python -m pip install hermetic_build/release_note_generation
# Run the integration tests

The integration tests build the docker image declared in
`.cloudbuild/library_generation/library_generation.Dockerfile`, pull GAPIC
repositories, generate the libraries and compare the results with the source
code declared in a "golden branch" of the repo.
`.cloudbuild/library_generation/library_generation.Dockerfile`, pull API
definitions and GAPIC repositories, generate the libraries and compare the
results with the source code declared in a "golden branch" of the repo.

It requires docker and python (>= 3.12.0) to be installed.
The integration tests are running in Cloud Build rather than GitHub workflow
because the workflow doesn't have permission to pull images from Airlock.

```shell
python -m unittest hermetic_build/library_generation/tests/integration_tests.py
```
The Cloud Build job is defined in `.cloudbuild/library_generation/cloudbuild-library-generation-integration-test.yaml` and runs in every pull request.

# Run the unit tests

Expand Down
Loading