Skip to content
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

CDS Upgrade Recipe (from v12.0.0b3.dev18 to v13.0.0.b1) #201

Closed
jrcastro2 opened this issue Sep 30, 2024 · 1 comment
Closed

CDS Upgrade Recipe (from v12.0.0b3.dev18 to v13.0.0.b1) #201

jrcastro2 opened this issue Sep 30, 2024 · 1 comment

Comments

@jrcastro2
Copy link
Contributor

jrcastro2 commented Sep 30, 2024

inveniosoftware/docs-invenio-rdm#696

Add new vocabs:

  • invenio rdm-records add-to-fixture experiments
  • invenio rdm-records add-to-fixture departments
  • invenio rdm-records add-to-fixture subjects.CERN

Remove FOS PR:

from flask import current_app
from invenio_access.permissions import system_identity
from invenio_db import db
from invenio_vocabularies.records.models import VocabularyScheme

service = current_app.extensions["invenio-vocabularies"].subjects_service
records = service.search(system_identity, q="FOS")
for record in records.hits:
    service.delete(system_identity, record["id"])

entry_to_delete = db.session.query(VocabularyScheme).filter_by(id="FOS").first()
db.session.delete(entry_to_delete)
db.session.commit()

Create new static pages:

  • Seems that all of them are missing in PROD so we can simply:

    • invenio rdm pages create -f
  • ORCID and ROR jobs should be setup to recurrently load data

Files offloading

  • Make sure all the configuration variables in prod are put in pleace correctly (compare with sandbox, already tested). There are 4 variables in total.
  • Certificates for eosmedia server are already in place on prod. Make sure they are there and the variables are pointing to them. Verify if web pod configuration mounts the certificates under the correct place (compare with sandbox)
@jrcastro2 jrcastro2 changed the title CDS Upgrade Recipe CDS Upgrade Recipe (from v12.0.0b3.dev18 to v13.0.0.b1) Sep 30, 2024
@kpsherva kpsherva moved this to Ready in Sprint Q1/2025 Oct 1, 2024
@jrcastro2
Copy link
Contributor Author

Upgrade done

@github-project-automation github-project-automation bot moved this from Ready to To release 🤖 in Sprint Q1/2025 Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants