Skip to content

Commit 7e36588

Browse files
committed
website: re-generate commons
1 parent a07fefc commit 7e36588

File tree

2 files changed

+36
-18
lines changed

2 files changed

+36
-18
lines changed

website/blog/_templates/blog-post-release-part-1-liquid.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ sed_release_date: "{{packageWebsiteConfig.sedReleaseDate}}"
1717
version: "{{xpackVersion}}"
1818
npm_subversion: "1"
1919

20-
download_url: https://github.com/xpack-dev-tools/sed-xpack/releases/tag/v{{releaseVersion}}/
20+
download_url: https://github.com/xpack-dev-tools/sed-xpack/releases/tag/v{{xpackVersion}}/
2121

2222
---
2323

website/docs/maintainer/_common/_content.mdx

Lines changed: 35 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ or run the following in a terminal:
169169
```
170170

171171
Navigate to the **Maintainer Info** page,
172-
the **Increase the version and update VERSION** section.
172+
the **Update the version specific code** section.
173173

174174
<UpdateVersionSpecific/>
175175

@@ -361,7 +361,7 @@ caffeinate ssh xbbla32
361361

362362
### Update the durations of the development builds
363363

364-
In `website/docs/maintainer/_shared/_development-durations.mdx`, update
364+
In `website/docs/_shared/_development-durations.mdx`, update
365365
the durations of the builds.
366366

367367
Commit with the message _**website: update development durations**_.
@@ -431,7 +431,9 @@ The automation is provided by GitHub Actions and three self-hosted runners.
431431
### Start the self-hosted runners
432432

433433
If the runners expired (more than 2 weeks since last use), run the
434-
`github-runner-configure.sh` script to reconfigure them
434+
`github-runner-configure.sh` script to reconfigure them. This scripts
435+
is available in the `xbb-helper` and
436+
requires `GITHUB_API_XPACK_DEV_TOOLS_RUNNERS_TOKEN` to be present.
435437

436438
- on the development machine (`wksi`) open
437439
ssh sessions to the build machines (`xbbmi`, `xbbma`, `xbbli`, `xbbla`, `xbbla32`):
@@ -460,7 +462,21 @@ For `xbbli` & `xbbla`, which have more memory, start two runners:
460462
~/actions-runners/xpack-dev-tools/2/run.sh &
461463
```
462464

463-
On all other machines start a single runner:
465+
For the macOS x64 runners, be sure the deployment target is defined:
466+
467+
```sh
468+
unset WORK_FOLDER_PATH
469+
export XBB_ENVIRONMENT_MACOSX_DEPLOYMENT_TARGET="10.13"
470+
~/actions-runners/xpack-dev-tools/run.sh &
471+
```
472+
473+
```sh
474+
unset WORK_FOLDER_PATH
475+
export XBB_ENVIRONMENT_MACOSX_DEPLOYMENT_TARGET="11.0"
476+
~/actions-runners/xpack-dev-tools/run.sh &
477+
```
478+
479+
On all other machines start the runner with:
464480

465481
```sh
466482
~/actions-runners/xpack-dev-tools/run.sh &
@@ -486,14 +502,23 @@ The status of all self-hosted runners is available at the [GitHub Runners](https
486502

487503
Publish a new release of the helper on **npmjs**.
488504

489-
### In `npm-packages-helper.git`, update the dependency to the new helper
505+
### In the npm packages helper, update the dependency to the new helper
490506

491507
In `templates/_xpack-dev-tools/build-assets/package-merge-liquid.json`, update the reference
492-
to `"@@xpack-dev-tools/xbb-helper":`.
508+
to `"@xpack-dev-tools/xbb-helper":`.
493509

494-
### Commit the changes to `build-assets/package.json`
510+
### Generate the top commons
495511

496-
Commit with the message _**template: build-assets/package-merge-liquid.json: bump deps**_.
512+
Run the top **generate-top-commons** npm script to update the
513+
`build-assets/package.json` and the GitHub workflow files.
514+
515+
```sh
516+
npm run generate-top-commons -C ~/Work/xpack-dev-tools/sed-xpack.git
517+
```
518+
519+
### Commit the changes
520+
521+
Commit with the message _**re-generate top commons**_.
497522

498523
### Check for disk space
499524

@@ -538,15 +563,6 @@ This is equivalent to running a wide `rm` to remove the `build` folders:
538563
rm -rf ~/Work/xpack-dev-tools/*/build-assets/build
539564
```
540565

541-
### Generate the GitHub workflows
542-
543-
Run the top **generate-top-commons** npm script to update the
544-
GitHub workflow files.
545-
546-
```sh
547-
npm run generate-workflows -C ~/Work/xpack-dev-tools/sed-xpack.git
548-
```
549-
550566
### Commit and push
551567

552568
- commit with the message **re-generate workflows**
@@ -837,13 +853,15 @@ npm run build -C website
837853

838854
### Publish the website
839855

856+
- open https://xpack-dev-tools.github.io/sed-xpack/docs/maintainer/#publish-the-website in a separate window
840857
- stop the local web server
841858
- select the `website` branch
842859
- merge `xpack-development` into `website`
843860
- push the `website` branch to GitHub
844861
:::info
845862
At this moment an automated GitHub Action will generate and publish the website.
846863
:::
864+
- add a new tag like `web-YYYYMMDD`
847865
- the new release blog post is
848866
in https://xpack-dev-tools.github.io/sed-xpack/blog/
849867
- remember the post URL, since it must be used to update the release page

0 commit comments

Comments
 (0)