Skip to content

Commit 0e9f469

Browse files
authored
Merge pull request #270 from projectsyn/prepare-0.4.1
Prepare release v0.4.1
2 parents b7bc33c + c06f8e2 commit 0e9f469

2 files changed

Lines changed: 16 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
77

88
## [Unreleased]
99

10+
## [v0.4.1] 2020-12-28
11+
1012
### Added
1113
* Add GitHub action to build Kapitan docker image from `tools/Dockerfile.kapitan` ([#266])
1214

1315
### Changed
1416
* Always create targets from component aliases ([#269])
17+
* Update dependencies ([#200])
1518

1619
### Fixed
1720
* Correctly create a local branch when overriding component version ([#262])
@@ -275,6 +278,7 @@ Initial implementation
275278
[#190]: https://github.com/projectsyn/commodore/pull/190
276279
[#192]: https://github.com/projectsyn/commodore/pull/192
277280
[#195]: https://github.com/projectsyn/commodore/pull/195
281+
[#200]: https://github.com/projectsyn/commodore/pull/200
278282
[#201]: https://github.com/projectsyn/commodore/pull/201
279283
[#204]: https://github.com/projectsyn/commodore/pull/204
280284
[#211]: https://github.com/projectsyn/commodore/pull/211

docs/modules/ROOT/pages/reference/architecture.adoc

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,19 @@ Commodore fetches the following dependencies:
2525
=== Component discovery
2626

2727
To discover all required components, Commodore reads the https://reclass.pantsfullofunix.net/operations.html#yaml-fs-storage[`applications` array] which is made available by reclass.
28-
Unless instructed otherwise, Commodore will fetch components from subfolder `commodore-components` in the xref:reference/cli.adoc#_catalog_compile[global Git base].
28+
If a component should be disabled in a subset of the hierarchy, it can be removed from the `applications` array by adding the component name prefixed with a `~`.
2929

30-
The file `commodore.yml` in the root of the Global configuration repository can be used to override the repository autodiscovery for components.
31-
The file must contain a key `components` which holds an array of dictionaries with keys `name` and `url`.
30+
[source,yaml]
31+
----
32+
applications:
33+
- ~component-to-remove
34+
----
35+
36+
Note that this only works to remove components which have been included previously, and won't remove components that are included further down in the hierarchy.
37+
38+
Commodore currently has no mechanism to automatically discover components based on their names.
39+
Instead all components which are referenced in the hierarchy must be listed in key `components` in the file `commodore.yml` in the root of the global configuration repository.
40+
The key `components` holds an array of dictionaries with keys `name` and `url`.
3241
Each array entry specifies the repository URL of a single component.
3342
A sample `commodore.yml` can be found below.
3443
The file `commodore.yml` is also used to define the xref:commodore:ROOT:reference:hierarchy.adoc[Commodore class hierarchy].

0 commit comments

Comments
 (0)