Skip to content

Commit

Permalink
Add artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
micafer committed Sep 3, 2024
1 parent 3ba0f06 commit 80d56d9
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions artifacts/download_dataset.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
---
- name: Install datahugger and download dataset
hosts: localhost
vars:
ansible_python_interpreter: /usr/bin/python3
tasks:
- name: Ensure python3-pip is installed
ansible.builtin.package:
name: python3-pip
state: present

- name: Install datahugger Python module
ansible.builtin.pip:
name: datahugger
state: present
executable: pip3

- name: Download the dataset

Check failure on line 18 in artifacts/download_dataset.yaml

View workflow job for this annotation

GitHub Actions / test-artifacts

syntax-check[unknown-module]

couldn't resolve module/action 'grycap.dataset.download_dataset'. This often indicates a misspelling, missing collection, or incorrect module path.
grycap.dataset.download_dataset:
dataset_url: "{{ dataset_url }}"
output_dir: "{{ output_dir }}"
2 changes: 1 addition & 1 deletion custom_types.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1954,7 +1954,7 @@ node_types:
interfaces:
Standard:
configure:
implementation: https://raw.githubusercontent.com/AntonioSanch3z/datahugger_module/master/playbooks/download_dataset.yaml
implementation: https://raw.githubusercontent.com/grycap/tosca/datasets/artifacts/lrms/download_dataset.yaml
inputs:
dataset_url: { get_property: [ SELF, dataset, identifier ] }
output_dir: { get_property: [ SELF, dest ] }
Expand Down

0 comments on commit 80d56d9

Please sign in to comment.