Skip to content

Commit 5db9c0b

Browse files
root: updated for v1.3.0 release
Since I need to release the current base native CI version of template for my next project, I should update all the documents to match it. Hence, let's do this. This patch updates all documents in root directory for v1.3.0 release. Signed-off-by: (Holloway) Chew, Kean Ho <hollowaykeanho@gmail.com>
1 parent daf0484 commit 5db9c0b

File tree

3 files changed

+43
-19
lines changed

3 files changed

+43
-19
lines changed

.github/workflows/push.yml

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
name: GitHub CI on Push
2-
run-name: Run the repo development process across all OSes for main & staging/next branches.
2+
run-name: Run the repo development process across all OSes for main & next/staging/testing branches.
33
on:
44
push:
5-
branches: [ main, staging, next ]
5+
branches: [ main, staging, next, testing ]
66
jobs:
77
run-on-linux-deb:
88
runs-on: ubuntu-latest
@@ -13,10 +13,7 @@ jobs:
1313
- run: . ./ci.cmd prepare
1414
- run: . ./ci.cmd test
1515
- run: . ./ci.cmd build
16-
- run: . ./ci.cmd package
17-
- run: . ./ci.cmd release
1816
- run: . ./ci.cmd compose
19-
- run: . ./ci.cmd publish
2017
run-on-windows:
2118
runs-on: windows-latest
2219
steps:
@@ -26,10 +23,7 @@ jobs:
2623
- run: .\ci.cmd prepare
2724
- run: .\ci.cmd test
2825
- run: .\ci.cmd build
29-
- run: .\ci.cmd package
30-
- run: .\ci.cmd release
3126
- run: .\ci.cmd compose
32-
- run: .\ci.cmd publish
3327
run-on-macos:
3428
runs-on: macos-latest
3529
steps:
@@ -39,7 +33,4 @@ jobs:
3933
- run: . ./ci.cmd prepare
4034
- run: . ./ci.cmd test
4135
- run: . ./ci.cmd build
42-
- run: . ./ci.cmd package
43-
- run: . ./ci.cmd release
4436
- run: . ./ci.cmd compose
45-
- run: . ./ci.cmd publish

CONFIG.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ PROJECT_VERSION = "0.0.1"
1414

1515

1616
# PROJECT STRUCTURE
17-
PROJECT_PATH_TOOLS = "tools" # relative to root
18-
PROJECT_PATH_BUILD = "build" # relative to root
19-
PROJECT_PATH_TEMP = "tmp" # relative to root
20-
PROJECT_PATH_SOURCE = "src" # relative to root
21-
PROJECT_PATH_CI = "ci" # relative to root
22-
PROJECT_PATH_PKG = "pkg" # relative to root
17+
PROJECT_PATH_TOOLS = "tools" # relative to repository root
18+
PROJECT_PATH_BUILD = "build" # relative to repository root
19+
PROJECT_PATH_TEMP = "tmp" # relative to repository root
20+
PROJECT_PATH_SOURCE = "src" # relative to repository root
21+
PROJECT_PATH_CI = "ci" # relative to repository root
22+
PROJECT_PATH_PKG = "pkg" # relative to repository root

README.md

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ repository.
1313
> all the output logos OR delete them entirely.
1414
> 2. Update this `README.md` especially dealing with title + anything below for
1515
> marking and business objectives (like WHY then HOW).
16-
> 3. Add a `LICENSE.md` file with the appropriate license(s).
16+
> 3. Select A `LICENSE.pdf` file with the appropriate license(s).
1717
> 4. Add a `CODE_OF_CONDUCT.md` file with the appropriate legal clauses(s).
18-
> 5. Update the `automata/*.cmd` CI executions matching the project.
18+
> 5. Update the `CONFIG.toml` matching the project metadata.
19+
> 5. Update the `automata/*` CI executions instructions matching the project.
1920
> 6. Delete this blockquote once everything is completed.
2021
2122

@@ -44,6 +45,7 @@ maintainers.
4445
### Directory Structure
4546
```
4647
automata/ 🠚 house the projects' CI automation scripts.
48+
automata/services 🠚 house tested and pre-built CI automation functions.
4749
bin/ 🠚 default build output directory.
4850
pkg/ 🠚 default package output directory.
4951
resources/ 🠚 housing all indirect raw materials and assets.
@@ -60,6 +62,18 @@ SECURITY.md 🠚 repository's security instruction file.
6062

6163

6264

65+
### Branch Management
66+
The default uses the following branch managements:
67+
68+
```
69+
main = for customers who use git (house stable releases)
70+
next || staging || testing = [OPTIONAL] for test developers to test the next release
71+
edge || experimental = for project maintainer to develop new feature.
72+
```
73+
74+
75+
76+
6377
### Native Continuous Integration (Native CI) Infrastructure
6478
This repository is governed by a native CI scripted using
6579
[Polygot Script](https://github.com/ChewKeanHo/PolygotScript) called `ci.cmd`.
@@ -187,6 +201,25 @@ $ ./ci.cmd publish
187201

188202

189203

204+
### GitHub Actions
205+
By default, the GitHub action only executes in this sequence:
206+
207+
1. `setup`
208+
2. `start`
209+
3. `prepare`
210+
4. `test`
211+
5. `build`
212+
6. `compose`
213+
214+
for `git push` against `main`, `next`, `staging`, or `testing` branches.
215+
216+
For `package`, `release`, and `publish` CI jobs, due to the invovlement of
217+
private identitiy signing keys, they are best to be implemented at the local
218+
side (to protect the key from any unnecessary leak due to 3rd-party).
219+
220+
221+
222+
190223
## License
191224
This project is licensed under multiple licenses such that:
192225

0 commit comments

Comments
 (0)