-
Notifications
You must be signed in to change notification settings - Fork 1
Integration tests consolidation #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
6e03f4f
Add integration tests for Meson
mikusaq bec9ae6
Add local repo test
mikusaq a71372a
Mark c_example as devlib, add tracking test to Meson test
mikusaq fb56ddc
Merge branch 'BAF-1174/meson-tests' into dev
mikusaq 424df04
Update example Context
mikusaq 7e73c4d
Used test Context and test Packages/Apps, add setup
mikusaq 13c8348
Add init of nil fields
mikusaq bfd2b49
Remove checkout and wrong indentation
mikusaq File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
|
|
||
| # Example configuration for CMCONF system. | ||
| # | ||
|
|
||
| FIND_PACKAGE(CMLIB REQUIRED COMPONENTS CMCONF) | ||
|
|
||
| CMCONF_INIT_SYSTEM(FLEET_PROTOCOL) | ||
|
|
||
| # | ||
| # Setting using upstream Package Repository by default for this system. This can be overridden by | ||
| # App in CMakeLists.txt. | ||
| # | ||
| CMCONF_SET(BA_PACKAGE_LOCAL_USE OFF) | ||
| CMCONF_SET(BA_PACKAGE_LOCAL_PATH "") | ||
|
|
||
| # | ||
| # The http authorization header is usually used for accessing private Package Repositories. This | ||
| # example does not need it, but the variable must be set. | ||
| # | ||
| CMCONF_SET(BA_PACKAGE_HTTP_AUTHORIZATION_HEADER "") | ||
|
|
||
| # | ||
| # Setting BringAuto's Package Repository URI Template | ||
| # | ||
| CMCONF_SET(BA_PACKAGE_URI_REVISION master) | ||
| CMCONF_SET(BA_PACKAGE_URI_TEMPLATE_REMOTE "https://gitea.bringauto.com/fleet-protocol/package-repository/media/<REVISION>/package/<GIT_PATH>/<PACKAGE_GROUP_NAME>/<ARCHIVE_NAME>") | ||
|
|
||
| # | ||
| # Gitea hosted public Package Repository: | ||
| # | ||
| #CMCONF_SET(BA_PACKAGE_URI_TEMPLATE_REMOTE "https://gitea.example.com/username/repository/media/<REVISION>/package/<GIT_PATH>/<PACKAGE_GROUP_NAME>/<ARCHIVE_NAME>") | ||
|
|
||
| # | ||
| # Gitea hosted private Package Repository. | ||
| # Do not forget to specify Access Token | ||
| # | ||
| #CMCONF_SET(BA_PACKAGE_HTTP_AUTHORIZATION_HEADER "token <token>") | ||
| #CMCONF_SET(BA_PACKAGE_URI_TEMPLATE_REMOTE "https://gitea.example.com/username/repository/raw/<REVISION>/package/<GIT_PATH>/<PACKAGE_GROUP_NAME>/<ARCHIVE_NAME>") | ||
|
|
||
| # | ||
| # Gitlab hosted private Package Repository. | ||
| # | ||
| #CMCONF_SET(BA_PACKAGE_HTTP_AUTHORIZATION_HEADER "Bearer <token>") | ||
| #CMCONF_SET(BA_PACKAGE_URI_TEMPLATE_REMOTE "https://gitlab.example.com/username/repository/-/raw/<REVISION>/package/<GIT_PATH>/<PACKAGE_GROUP_NAME>/<ARCHIVE_NAME>") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
|
|
||
| # FLEET_PROTOCOL System Configuration | ||
|
|
||
| This directory contains the configuration file for FLEET_PROTOCOL [CMCONF] system. It is used to set | ||
| required variables for [Package Tracker]. The most important variable is | ||
| `BA_PACKAGE_URI_TEMPLATE_REMOTE`, which sets URI of Package Repository used during builds. | ||
|
|
||
| This system must be installed in all Docker images. | ||
|
|
||
| More information about this system can be found in [Package Tracker Example]. | ||
|
|
||
| Using this system is an example and in general Context does not need to use it. | ||
|
|
||
|
|
||
| [Package Tracker]: https://github.com/bacpack-system/package-tracker | ||
| [Package Tracker Example]: https://github.com/bacpack-system/package-tracker/tree/master/example | ||
| [CMCONF]: https://github.com/cmakelib/cmakelib-component-cmconf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,7 +29,7 @@ | |
| }, | ||
| "DockerMatrix": { | ||
| "ImageNames": [ | ||
| "debian12", | ||
| "debian13", | ||
| "ubuntu2404", | ||
| "fedora40", | ||
| "fedora41" | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,7 +29,7 @@ | |
| }, | ||
| "DockerMatrix": { | ||
| "ImageNames": [ | ||
| "debian12", | ||
| "debian13", | ||
| "ubuntu2404", | ||
| "fedora40", | ||
| "fedora41" | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,7 +30,7 @@ | |
| }, | ||
| "DockerMatrix": { | ||
| "ImageNames": [ | ||
| "debian12", | ||
| "debian13", | ||
| "ubuntu2404", | ||
| "fedora40", | ||
| "fedora41" | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -30,7 +30,7 @@ | |
| }, | ||
| "DockerMatrix": { | ||
| "ImageNames": [ | ||
| "debian12", | ||
| "debian13", | ||
| "ubuntu2404", | ||
| "fedora40", | ||
| "fedora41" | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,7 +35,7 @@ | |
| }, | ||
| "DockerMatrix": { | ||
| "ImageNames": [ | ||
| "debian12", | ||
| "debian13", | ||
| "ubuntu2404", | ||
| "fedora40", | ||
| "fedora41" | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -35,7 +35,7 @@ | |
| }, | ||
| "DockerMatrix": { | ||
| "ImageNames": [ | ||
| "debian12", | ||
| "debian13", | ||
| "ubuntu2404", | ||
| "fedora40", | ||
| "fedora41" | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.