This repository will be used to house the Jakarta EE TCK Results for the Certification Requests.
The TCK Results need to be in a publicly accessible website via a defined URL.
These TCK Results are not indexed and, therefore, will not appear in search results.
All TCK Results (all pages with :page-layout: certification
to be exact) can be viewed on openliberty.io/certifications/, which is also not indexed.
The TCK Results will be asciidoc (TCKResults.adoc) files. This format will allow for easy rendering onto the openliberty.io site.
The URL structure on openliberty.io/certifications/ directly matches the directory structure of this repo. The following URL/path structure is to be used for this repo:
https://openliberty.io/certifications/<spec>/<specVersion>/<optional:subSpec>/<optional:subSpecVersion>/<runtimeVersion>-TCKResults
For example:
certifications/jakartaee/8/webprofile/19.0.0.6-TCKResults.adoc
certifications/jakartaee/9.1/platform/21.0.0.2-beta-Java11-TCKResults.adoccertifications/microprofile/5.0/21.0.0.12-beta-TCKResults.adoc
certifications/microprofile/5.0/config/3.0/21.0.0.12-beta-TCKResults.adoccertifications/microprofile/contextpropagation/1.2/21.0.0.3-beta-TCKResults.adoc
Reference the sample TCKResults file for an example of the content.
-
Clone the repo and create your feature branch off of the default
prod
branch. From theprod
branch, run:git checkout -b branch_name
, wherebranch_name
is a name you give your new branch.Do all your editing in this branch.
-
Create your TCK result using Asciidoc markup (use an editor such as VSCode with the Asciidoc plugin):
- Reference the sample TCKResults file for an example of the content.
-
If you are not employed by IBM, in at least one of your commits, sign off the commit using the Developer Certificate process.
-
When you have finished, check that the content renders correctly. If you have a preview function in your editor, use that (eg the Asciidoc plugin in VSCode). Browser plugins exist as well.
-
Push the file to GitHub (if you're a member of this org, feel free to push your branch to the certification repo instead of using a fork), then create a pull request (PR) into the
draft
branch. -
Request a code review. The code review can be from anyone, however, you should consider including @mbroz2, @Emily-Jiang (for MicroProfile), @jhanders34 (for Jakarta EE), or @tevans78 (for MicroProfile/Jakarta EE). Once the PR has been approved, merge it into
draft
. -
All the builds and deployments of non-prod sites are on IBM Cloud and build automatically whenever a PR is merged into their respective branch. These builds are private and, therefore, their detailed build/deploy progress can't be tracked. However, if you have access to the Slack channel for draft site or the Slack channel for staging site, you can at least track when the builds start and finish.
-
When the build is finished, check that the TCK result page renders correctly on either the certifications-draft site or the full draft site.
In addition to the existing full draft site we now have a certifications-draft site, which contains only the certifications content, allowing it to build and deploy much quicker. However, since this site contains only the certifications content, any links to other parts of openliberty.io will not resolve. In general, use the certifications-draft site to review content because it updates much quicker than the full site. However, if you need to review content that links to pages on openliberty.io that are not under /certifications/, use the full draft site.
If you see any problems, such as formatting issues or typos, resolve them first in your branch. Then, create another PR into
draft
branch, and get it reviewed and merge. Wait for IBM Cloud to rebuild certifications-draft site or draft site and verify the change. -
When you're happy with the change, create a PR from your branch (not from the
draft
branch) to thestaging
branch.Link the PR to the issue.
In the PR, provide a link to your page on the certifications-draft site or draft site. Ideally, also paste a screenshot of the entire Certification/TCK Result page as this will allow reviewers to see the rendered content even while the sites are innaccessible (e.g. during redeploys).
Add @mbroz2 or another admin to get their final approval for both content and format.
As before, make any changes in your feature branch, create a PR
draft
branch, get it reviewed and merged, and once the site rebuilds, check that everything is correct on the certifications-draft site or draft site.This automatically updates the PR to
staging
.
These steps are completed by the admins of this repo. They might ask questions or make suggestions regarding the content. They might also make edits directly to the file before publishing.
-
Review the page on the certifications-draft site or draft site as linked from the PR.
Ask the author to make changes by adding review comments to the PR.
Alternatively, if the branch was created in the OpenLiberty/certifications, or the admin has access to the fork, the editor can make the edits directly in the author's branch and push the changes to
draft
branch, which automatically rebuilds the certifications-draft site and draft site where you can verify the changes.To check out the author's branch locally:
git fetch origin
thengit checkout -b branch_name origin/branch_name
, which creates a new local branch that's linked to their remote branch. When you've made changes, push them back toorigin/branch_name
. -
Approve the PR and merge it into
staging
branch. -
IBM Cloud will automatically rebuild the certifications-staging site and staging site. If you have access, you can track the progress in the Slack channel.
-
When the build has finished, check to make sure the page render correctly on the certifications-staging site or staging site. The latter includes the entire site, while the former just has the /certifications/ content. If you need to verify links to other parts of the site (outside of the /certifications/ content) then you'll need to wait for the full staging site to build.
This is the final check before the page is published live on the production site.
If there are any problems found on the staging site, you must resolve them quickly or revert the PR.
Make any changes in the author's branch, and push to both
draft
andstaging
. -
To publish the content, create a PR from
staging
branch toprod
branch and add @mbroz2 (or other admin) as approver. -
When the PR is approved, merge it into
prod
. -
Rebuild the production site from the IBM Cloud console.
When the build has finished, check that the page looks as expected on openliberty.io/.
-
When the page is published, and any changes you made are in all three branches (
draft
,staging
, andprod
), delete the author's branch.