Skip to content

Start openocean-build's continuous build on each push to 5.0 - #214

Merged
tsaubergine merged 1 commit into
5.0from
claude/trusting-heisenberg-bigq3h
Nov 4, 2026
Merged

tsaubergine merged 1 commit into
5.0from
claude/trusting-heisenberg-bigq3h

Conversation

@tsaubergine

Copy link
Copy Markdown
Member

Adds .github/workflows/notify-openocean-build.yml, which starts openocean-build's continuous.yml for dccl on each push to 5.0. Without it, openocean-build only polls DCCL every 6 hours. The workflow is a copy of openocean-messages' version.

openocean-build looks up and verifies the new head itself, so the workflow input only names the project. A head is built only if a maintainer signed it or merged it in GitHub's web UI, and it's published to apt.oceansoft.org/continuous.

The token comes from the openocean-build-dispatch GitHub App, whose only permission is Actions: write on openocean-build. actions/create-github-app-token is pinned by commit SHA, like the actions in scorecard.yml.

Setup needed before merging

This repository is outside the openocean-software organization, so it can't see that organization's OOS_DISPATCH_APP_ID variable or OOS_DISPATCH_APP_KEY secret. Add both in this repository's settings, under Secrets and variables → Actions:

  • variable OOS_DISPATCH_APP_ID: the App's ID;
  • secret OOS_DISPATCH_APP_KEY: the App's private key.

Until they're added, this PR's check of the workflow fails at the token step. Once it passes, the token can reach openocean-build's workflow.

After merging, set continuous.push_dispatch: true in openocean-build's projects/dccl/project.yaml, so the 6-hour poll leaves DCCL out.


Generated by Claude Code

openocean-build packages the default-branch head when a maintainer signed
or merged it, publishing to apt.oceansoft.org/continuous. Without this it
only polls every 6 hours.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TCmHEtFYqHoQ7FSkAsKLKz

Copy link
Copy Markdown
Member Author

The notify check fails at Get a token for openocean-build with [@octokit/auth-app] appId option is required. That's the expected failure until this repository has the OOS_DISPATCH_APP_ID variable and OOS_DISPATCH_APP_KEY secret (see the setup section above); the workflow itself needs no change. Once both are added, re-run the check: it should pass by viewing openocean-build's continuous.yml with the App's token.


Generated by Claude Code

@tsaubergine
tsaubergine merged commit 78e960e into 5.0 Nov 4, 2026
21 of 22 checks passed
@tsaubergine
tsaubergine deleted the claude/trusting-heisenberg-bigq3h branch November 4, 2026 03:48
tsaubergine pushed a commit to openocean-software/openocean-build that referenced this pull request Nov 4, 2026
GobySoft/dccl#214 added notify-openocean-build.yml, so the 6-hour poll
leaves DCCL out.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01TCmHEtFYqHoQ7FSkAsKLKz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants