Skip to content

feat: publish p2 update site to GitHub Pages via gh-pages branch#1360

Merged
rubenporras merged 1 commit into
dsldevkit:masterfrom
rubenporras:release_workflow
May 27, 2026
Merged

feat: publish p2 update site to GitHub Pages via gh-pages branch#1360
rubenporras merged 1 commit into
dsldevkit:masterfrom
rubenporras:release_workflow

Conversation

@rubenporras

Copy link
Copy Markdown
Member
  • Create a snapshot workflow that build and deploys on every push to master or v[0-9]* branches into p2/snapshots//; keep last 20, clean up older ones
  • Create a release workflow to promote existing snapshots to releases; The workflow creates a tag and copy the corresponding snapshot for that commit into p2/releases// on gh-pages
  • Add composite p2 repositories (compositeContent.xml, compositeArtifacts.xml, p2.index) for p2/releases/latest/ and p2/snapshots/latest/ so Eclipse can resolve "latest" without a fixed URL
  • Add generated index.html listing all snapshot and release links
  • Document p2 update site URLs in README.md

@joaodinissf joaodinissf left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of the publish-p2 pipeline. Overall the structure is clean — concurrency group, gh-pages bootstrap, push-with-rebase loop, pinned actions all look good. A few issues worth addressing before merge, flagged inline below.

left by Claude at João's request

Comment thread .github/workflows/release.yml Outdated
Comment thread ddk-parent/pom.xml Outdated
Comment thread ddk-parent/pom.xml
Comment thread ddk-parent/pom.xml
Comment thread .github/workflows/release.yml Outdated
Comment thread .github/scripts/cleanup-p2-snapshots.sh Outdated
@rubenporras rubenporras force-pushed the release_workflow branch 3 times, most recently from 35c63dc to b479874 Compare May 22, 2026 14:06
Comment thread ddk-parent/pom.xml
@joaodinissf

joaodinissf commented May 26, 2026

Copy link
Copy Markdown
Collaborator

Hi @rubenporras, I think the Actions issue we saw this afternoon was due to a GH outage, can you try to retrigger? Pushing an empty commit or a small change should do it.
Actually I think I can do this for you, I'll give it a try.

@joaodinissf joaodinissf reopened this May 26, 2026
@joaodinissf

Copy link
Copy Markdown
Collaborator

Sorry for the noise — closed and reopened just now to retrigger CI. The current head SHA 82914be had no workflow runs (last build on this branch was 2026-05-22 for an older SHA, so a webhook was dropped somewhere). No code changes, no force-push, review state preserved. A new run started on reopen.

Comment left by Claude at João's request.

Comment thread .github/scripts/publish-p2-ghpages.sh Outdated
- Create a snapshot workflow that build and deploys on every push to
master or v[0-9]* branches into p2/snapshots/<sha8>/; keep last 20,
clean up older ones
- Create a release workflow to promote existing snapshots to releases;
The workflow creates a tag and  copy the corresponding snapshot for that
commit into p2/releases/<version>/ on gh-pages
- Add composite p2 repositories (compositeContent.xml,
compositeArtifacts.xml, p2.index) for p2/releases/latest/ and
p2/snapshots/latest/ so Eclipse can resolve "latest" without a fixed URL
- Add generated index.html listing all snapshot and release links
- Document p2 update site URLs in README.md

Co-authored-by: João Dinis Ferreira <Joao.Ferreira@avaloq.com>
@rubenporras

Copy link
Copy Markdown
Member Author

just rebased

@joaodinissf joaodinissf left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@rubenporras rubenporras merged commit 0d279bc into dsldevkit:master May 27, 2026
4 checks passed
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