Skip to content

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

Closed
rubenporras wants to merge 1 commit into
dsldevkit:masterfrom
rubenporras:master
Closed

feat: publish p2 update site to GitHub Pages via gh-pages branch#1357
rubenporras wants to merge 1 commit into
dsldevkit:masterfrom
rubenporras:master

Conversation

@rubenporras
Copy link
Copy Markdown
Member

@rubenporras rubenporras commented May 21, 2026

  • 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. The release workflow is protected using the environment "release". The workflow accepts a branch (master by default) and version bump (patch, minor, major)
  • 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 rubenporras requested a review from joaodinissf May 21, 2026 12:53
@rubenporras
Copy link
Copy Markdown
Member Author

rubenporras commented May 21, 2026

Add an argument to the dispatch with the branch the job should run.
Prevent running release job in forks

@rubenporras rubenporras marked this pull request as draft May 21, 2026 14:51
@rubenporras rubenporras force-pushed the master branch 4 times, most recently from 41231a9 to 403941c Compare May 22, 2026 07:11
@rubenporras rubenporras marked this pull request as ready for review May 22, 2026 07:24
@rubenporras rubenporras force-pushed the master branch 2 times, most recently from 63afb8d to 8286d00 Compare May 22, 2026 07:31
- 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

change to #1360

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.

1 participant