Skip to content

Commit

Permalink
rename target_repository to source_repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Aug 14, 2023
1 parent fd808df commit 7582c4b
Show file tree
Hide file tree
Showing 16 changed files with 18 additions and 18 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Here are pre-requisites for your project before adding to the Lightning EcoSyste
```
1. At the minimum, modify the `HTTPS` variable to point to your repository. See [Configuring my project](https://github.com/Lightning-AI/ecosystem-ci/tree/main#configuring-my-project) for more options.
```yaml
target_repository:
source_repository:
HTTPS: https://github.com/MyUsername/MyProject.git
...
```
Expand Down Expand Up @@ -83,15 +83,15 @@ Here are pre-requisites for your project before adding to the Lightning EcoSyste

The config include a few different sections:

- `target_repository` include your project
- `source_repository` include your project
- `env` (optional) define any environment variables required when running tests
- `dependencies` listing all dependencies which are taken outside pip
- `testing` defines specific pytest arguments and what folders shall be tested

All dependencies as well as the target repository is sharing the same template with the only required field `HTTPS` and all others are optional:

```yaml
target_repository:
source_repository:
HTTPS: https://github.com/Lightning-AI/metrics.git
username: my-nick # Optional, used when checking out private/protected repo
password: dont-tell-anyone # Optional, used when checking out private/protected repo
Expand Down
2 changes: 1 addition & 1 deletion _actions/_config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target_repository:
source_repository:
HTTPS: https://github.com/Lightning-AI/metrics.git
# OPTIONAL, for some protected repository
# username: my-nick
Expand Down
2 changes: 1 addition & 1 deletion _actions/assistant.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def _file_exits(fpath: str, ups: int = 3) -> str:

class AssistantCLI:
_BASH_SCRIPT = ("set -e",)
_FIELD_TARGET_REPO = "target_repository"
_FIELD_TARGET_REPO = "source_repository"
_FIELD_REQUIRE = "dependencies"
_FIELD_TESTS = "testing"
_MANDATORY_FIELDS = (_FIELD_TARGET_REPO, _FIELD_REQUIRE)
Expand Down
2 changes: 1 addition & 1 deletion configs/Lightning-AI/bolts_pl-develop.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target_repository:
source_repository:
HTTPS: https://github.com/Lightning-AI/lightning-bolts.git
# checkout a particular branch or a tag
checkout: master
Expand Down
2 changes: 1 addition & 1 deletion configs/Lightning-AI/bolts_pl-release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target_repository:
source_repository:
HTTPS: https://github.com/Lightning-AI/lightning-bolts.git
# checkout a particular branch or a tag
checkout: master
Expand Down
2 changes: 1 addition & 1 deletion configs/Lightning-AI/flash_pl-develop.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target_repository:
source_repository:
HTTPS: https://github.com/Lightning-AI/lightning-flash.git
# checkout a particular branch or a tag
checkout: master
Expand Down
2 changes: 1 addition & 1 deletion configs/Lightning-AI/flash_pl-release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target_repository:
source_repository:
HTTPS: https://github.com/Lightning-AI/lightning-flash.git
# checkout a particular branch or a tag
checkout: master
Expand Down
2 changes: 1 addition & 1 deletion configs/Lightning-AI/metrics_pl-develop.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target_repository:
source_repository:
HTTPS: https://github.com/Lightning-AI/metrics.git
# checkout a particular branch or a tag
checkout: master
Expand Down
2 changes: 1 addition & 1 deletion configs/Lightning-AI/metrics_pl-release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target_repository:
source_repository:
HTTPS: https://github.com/Lightning-AI/metrics.git
# checkout a particular branch or a tag
checkout: master
Expand Down
2 changes: 1 addition & 1 deletion configs/NVIDIA/nemo-release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target_repository:
source_repository:
HTTPS: https://github.com/NVIDIA/NeMo.git
# checkout a particular branch or a tag
checkout: main
Expand Down
2 changes: 1 addition & 1 deletion configs/SeanNaren/deepspeech-release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target_repository:
source_repository:
HTTPS: https://github.com/SeanNaren/deepspeech.pytorch.git
checkout: master
copy_tests:
Expand Down
2 changes: 1 addition & 1 deletion configs/manujosephv/pytorch-tabular_lit-release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target_repository:
source_repository:
HTTPS: https://github.com/manujosephv/pytorch_tabular.git
checkout: main
# OPTIONAL, define installing package extras
Expand Down
2 changes: 1 addition & 1 deletion configs/microsoft/deepspeed-release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target_repository:
source_repository:
HTTPS: https://github.com/microsoft/DeepSpeed.git
checkout: master
copy_tests:
Expand Down
2 changes: 1 addition & 1 deletion configs/neptune-ai/lightning_integration.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target_repository:
source_repository:
HTTPS: https://github.com/neptune-ai/neptune-client
# OPTIONAL, checkout a particular branch or a tag
checkout: master
Expand Down
2 changes: 1 addition & 1 deletion configs/vturrisi/solo-learn_lit-develop.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target_repository:
source_repository:
HTTPS: https://github.com/vturrisi/solo-learn.git
checkout: main
# OPTIONAL, define installing package extras
Expand Down
2 changes: 1 addition & 1 deletion configs/vturrisi/solo-learn_lit-release.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
target_repository:
source_repository:
HTTPS: https://github.com/vturrisi/solo-learn.git
checkout: main
# OPTIONAL, define installing package extras
Expand Down

0 comments on commit 7582c4b

Please sign in to comment.