Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
skudasov committed Sep 13, 2024
1 parent 0716a24 commit d6d5251
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 143 deletions.
6 changes: 6 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ module github.com/smartcontractkit/chainlink-testing-framework/wasp/v2
- Push the tags and visit https://github.com/smartcontractkit/chainlink-testing-framework/releases to check the release.
- Check Dependabot pipeline to analyze scope of changes across other repositories

### Binary releases
If your module have `cmd/main.go` we build binary automatically for various platforms and attach it to the release page.

## Debug Release Pipeline
Since some components of pipeline are relying on published Go modules index and Dependabot we have a test script to verify the release pipeline:

Expand All @@ -46,6 +49,9 @@ nix develop
python ./scripts/test-package-release.py -tag k8s-test-runner/v1.999.0-test-release -package ./k8s-test-runner
```

[Pipeline for releasing Go modules](.github/workflows/release-go-module.yml)
[Dependabot summary pipeline](.github/workflows/dependabot-consumers-summary.yaml)

## Check breaking changes locally
We have a simple wrapper to check breaking changes for all the packages. Commit all your changes and run:
```
Expand Down
5 changes: 0 additions & 5 deletions k8s-test-runner/.changeset/v1.999.0-test-release.md

This file was deleted.

5 changes: 0 additions & 5 deletions k8s-test-runner/.changeset/v1.999.1-test-release.md

This file was deleted.

7 changes: 0 additions & 7 deletions scripts/test-package-release.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,9 @@ def main():

args = parser.parse_args()

# Remove the specified tag if it exists
remove_tag(args.tag)

# Add release file to the package directory
add_release_file(args.package, args.tag)

# Add (or re-add) the tag
add_tag(args.tag)

# Push remaining changes and all tags
push_changes()

if __name__ == "__main__":
Expand Down
126 changes: 0 additions & 126 deletions tools/breakingchanges/main_test.go

This file was deleted.

0 comments on commit d6d5251

Please sign in to comment.