WIP: Test: add artifacts #21

Draft
jsheunis wants to merge 3 commits from jsheunis/artifacts into main
jsheunis commented 2023-05-30 13:04:52 +00:00 (Migrated from github.com)

add a simple setup to appveyor.yml for testing artifact deposits

Towards https://github.com/psychoinformatics-de/inm-icf-utilities/issues/19

add a simple setup to appveyor.yml for testing artifact deposits Towards https://github.com/psychoinformatics-de/inm-icf-utilities/issues/19
jsheunis commented 2023-05-30 13:18:27 +00:00 (Migrated from github.com)

I added:

artifacts:
  - path: /data/archive/study_1/catalog
    name: TestCatalog

and the build log says:

No artifacts found matching 'data/archive/study_1/catalog' path

https://ci.appveyor.com/project/mih/inm-icf-utilities/builds/47174884#L1010

Does this have to be an archive? And would the appveyor build have a access to 'data/archive/study_1/catalog'?

I added: ``` artifacts: - path: /data/archive/study_1/catalog name: TestCatalog ``` and the build log says: ``` No artifacts found matching 'data/archive/study_1/catalog' path ``` https://ci.appveyor.com/project/mih/inm-icf-utilities/builds/47174884#L1010 Does this _have_ to be an archive? And would the appveyor build have a access to 'data/archive/study_1/catalog'?
jsheunis commented 2023-05-30 13:29:47 +00:00 (Migrated from github.com)

I guess the path is wrong, since the generated catalog path would be relative to the testing home directory...

I guess the path is wrong, since the generated catalog path would be relative to the testing home directory...
jsheunis commented 2023-05-30 20:40:04 +00:00 (Migrated from github.com)

I guess the path is wrong, since the generated catalog path would be relative to the testing home directory...

although, resolving the catalog path:

catalog_path = Path(test_studies_dir) / study / 'catalog'
catalog_path_abs = catalog_path.resolve()

produces: /data/archive/study_1/catalog

So I'm not really sure what I'm missing.

> I guess the path is wrong, since the generated catalog path would be relative to the testing home directory... although, resolving the catalog path: ```python catalog_path = Path(test_studies_dir) / study / 'catalog' catalog_path_abs = catalog_path.resolve() ``` produces: `/data/archive/study_1/catalog` So I'm not really sure what I'm missing.
This pull request has changes conflicting with the target branch.
  • .appveyor.yml
  • tests/test_datalad_workflows/test_pipeline.py
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin jsheunis/artifacts:jsheunis/artifacts
git switch jsheunis/artifacts

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff jsheunis/artifacts
git switch jsheunis/artifacts
git rebase main
git switch main
git merge --ff-only jsheunis/artifacts
git switch jsheunis/artifacts
git rebase main
git switch main
git merge --no-ff jsheunis/artifacts
git switch main
git merge --squash jsheunis/artifacts
git switch main
git merge --ff-only jsheunis/artifacts
git switch main
git merge jsheunis/artifacts
git push origin main
Sign in to join this conversation.
No description provided.