Skip to content

Commit ab5ce41

Browse files
authored
Merge pull request #184 from martenson/zenodo
enable zenodo on GCZ and QA1
2 parents 296a70a + 8252856 commit ab5ce41

File tree

6 files changed

+128
-19
lines changed

6 files changed

+128
-19
lines changed
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
- type: inveniordm
2+
id: invenio_sandbox
3+
doc: Testing instance of Invenio, content is NOT preserved and DOIs created in this instance are not real.
4+
label: InvenioRDM TESTING
5+
url: https://inveniordm.web.cern.ch/
6+
token: ${user.user_vault.read_secret('preferences/invenio_sandbox/token')}
7+
public_name: ${user.preferences['invenio_sandbox|public_name']}
8+
writable: true
9+
- type: zenodo
10+
id: zenodo_sandbox
11+
doc: Testing instance of Zenodo, content is NOT preserved and DOIs created in this instance are not real.
12+
label: Zenodo TESTING
13+
url: https://sandbox.zenodo.org
14+
token: ${user.user_vault.read_secret('preferences/zenodo_sandbox/token')}
15+
public_name: ${user.preferences['zenodo_sandbox|public_name']}
16+
writable: true
17+
- type: zenodo
18+
id: zenodo
19+
doc: Zenodo is a general-purpose open-access repository. For each submission, a DOI is created, making items easily citeable.
20+
label: Zenodo
21+
url: https://zenodo.org
22+
token: ${user.user_vault.read_secret('preferences/zenodo/token')}
23+
public_name: ${user.preferences['zenodo|public_name']}
24+
writable: true
Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
preferences:
2+
invenio_sandbox:
3+
description: Your Invenio RDM _SANDBOX_ Account
4+
inputs:
5+
- name: token
6+
label: Personal Token to publish records to Invenio RDM
7+
type: secret
8+
store: vault
9+
required: False
10+
- name: public_name
11+
label: Public name to publish records (formatted as "Lastname, Firstname")
12+
type: text
13+
required: False
14+
- name: public_records
15+
label: Whether to make new draft records publicly accessible (Yes) or restricted (No).
16+
type: boolean
17+
required: False
18+
zenodo_sandbox:
19+
description: Your Zenodo _SANDBOX_ Account
20+
inputs:
21+
- name: token
22+
label: Personal Access Token used to create draft records and to upload files. You can manage your tokens at https://sandbox.zenodo.org/account/settings/applications/
23+
type: secret
24+
store: vault
25+
required: False
26+
- name: public_name
27+
label: Creator name to associate with new records (formatted as "Last name, First name"). If left blank "Anonymous Galaxy User" will be used. You can always change this by editing your record directly.
28+
type: text
29+
required: False
30+
zenodo:
31+
description: Your Zenodo Account
32+
inputs:
33+
- name: token
34+
label: Personal Access Token used to create draft records and to upload files. You can manage your tokens at https://zenodo.org/account/settings/applications/
35+
type: secret
36+
store: vault
37+
required: False
38+
- name: public_name
39+
label: Creator name to associate with new records (formatted as "Last name, First name"). If left blank "Anonymous Galaxy User" will be used. You can always change this by editing your record directly.
40+
type: text
41+
required: False

files/galaxy-qa2.galaxy.cloud.e-infra.cz/file_sources_conf.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
- type: inveniordm
22
id: invenio_sandbox
33
doc: This is the Sandbox instance of Invenio. It is used for testing purposes only, content is NOT preserved. DOIs created in this instance are not real and will not resolve.
4-
label: Invenio RDM Sandbox Repository (TESTING)
4+
label: InvenioRDM TESTING
55
url: https://inveniordm.web.cern.ch/
66
token: ${user.user_vault.read_secret('preferences/invenio_sandbox/token')}
77
public_name: ${user.preferences['invenio_sandbox|public_name']}
Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,24 @@
11
- type: inveniordm
22
id: invenio_sandbox
3-
doc: This is the Sandbox instance of Invenio. It is used for testing purposes only, content is NOT preserved. DOIs created in this instance are not real and will not resolve.
4-
label: Invenio RDM Sandbox Repository (TESTING)
3+
doc: Testing instance of Invenio, content is NOT preserved and DOIs created in this instance are not real.
4+
label: InvenioRDM TESTING
55
url: https://inveniordm.web.cern.ch/
66
token: ${user.user_vault.read_secret('preferences/invenio_sandbox/token')}
77
public_name: ${user.preferences['invenio_sandbox|public_name']}
88
writable: true
9+
- type: zenodo
10+
id: zenodo_sandbox
11+
doc: Testing instance of Zenodo, content is NOT preserved and DOIs created in this instance are not real.
12+
label: Zenodo TESTING
13+
url: https://sandbox.zenodo.org
14+
token: ${user.user_vault.read_secret('preferences/zenodo_sandbox/token')}
15+
public_name: ${user.preferences['zenodo_sandbox|public_name']}
16+
writable: true
17+
- type: zenodo
18+
id: zenodo
19+
doc: Zenodo is a general-purpose open-access repository. For each submission, a DOI is created, making items easily citeable.
20+
label: Zenodo
21+
url: https://zenodo.org
22+
token: ${user.user_vault.read_secret('preferences/zenodo/token')}
23+
public_name: ${user.preferences['zenodo|public_name']}
24+
writable: true
Lines changed: 40 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,41 @@
11
preferences:
2-
invenio_sandbox:
3-
description: Your Invenio RDM _SANDBOX_ Account
4-
inputs:
5-
- name: token
6-
label: Personal Token to publish records to Invenio RDM
7-
type: secret
8-
store: vault
9-
required: False
10-
- name: public_name
11-
label: Public name to publish records (formatted as "Lastname, Firstname")
12-
type: text
13-
required: False
14-
- name: public_records
15-
label: Whether to make new draft records publicly accessible (Yes) or restricted (No).
16-
type: boolean
17-
required: False
2+
invenio_sandbox:
3+
description: Your Invenio RDM _SANDBOX_ Account
4+
inputs:
5+
- name: token
6+
label: Personal Token to publish records to Invenio RDM
7+
type: secret
8+
store: vault
9+
required: False
10+
- name: public_name
11+
label: Public name to publish records (formatted as "Lastname, Firstname")
12+
type: text
13+
required: False
14+
- name: public_records
15+
label: Whether to make new draft records publicly accessible (Yes) or restricted (No).
16+
type: boolean
17+
required: False
18+
zenodo_sandbox:
19+
description: Your Zenodo _SANDBOX_ Account
20+
inputs:
21+
- name: token
22+
label: Personal Access Token used to create draft records and to upload files. You can manage your tokens at https://sandbox.zenodo.org/account/settings/applications/
23+
type: secret
24+
store: vault
25+
required: False
26+
- name: public_name
27+
label: Creator name to associate with new records (formatted as "Last name, First name"). If left blank "Anonymous Galaxy User" will be used. You can always change this by editing your record directly.
28+
type: text
29+
required: False
30+
zenodo:
31+
description: Your Zenodo Account
32+
inputs:
33+
- name: token
34+
label: Personal Access Token used to create draft records and to upload files. You can manage your tokens at https://zenodo.org/account/settings/applications/
35+
type: secret
36+
store: vault
37+
required: False
38+
- name: public_name
39+
label: Creator name to associate with new records (formatted as "Last name, First name"). If left blank "Anonymous Galaxy User" will be used. You can always change this by editing your record directly.
40+
type: text
41+
required: False

host_vars/galaxy-qa1.galaxy.cloud.e-infra.cz/vars.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,7 @@ galaxy_config_files:
3131
dest: "{{ galaxy_config_dir }}/oidc_config.xml"
3232
- src: "files/{{ inventory_hostname }}/all_tools.yml"
3333
dest: "{{ galaxy_config_dir }}/plugins/activities/all_tools.yml"
34+
- src: files/{{ inventory_hostname }}/file_sources_conf.yml
35+
dest: "{{ galaxy_config_dir }}/file_sources_conf.yml"
36+
- src: files/{{ inventory_hostname }}/user_preferences_extra_conf.yml
37+
dest: "{{ galaxy_config_dir }}/user_preferences_extra_conf.yml"

0 commit comments

Comments
 (0)