-
Notifications
You must be signed in to change notification settings - Fork 0
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
Build a fixture container of Figgy data for indexing. #39
Conversation
We should be able to import this into a local container during a docker build by running COPY FROM.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great. I think we will need a few more things but I'm open to adding those in a later PR:
- deletion markers, ideally relevant to the project in question
- some stuff we know we never want to get, like Events
- some stuff we will/may get in the future but aren't doing in this phase, like some scanned resources, non-public material, ephemera that's not an image
I had one question in line.
read USERNAME | ||
lpass login $USERNAME | ||
export CR_PAT=$(lpass show "Shared-ITIMS-Passwords/dpul_collections_fixture_container_github_token" --notes) | ||
echo $CR_PAT | docker login ghcr.io -u pulbot --password-stdin |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does CR_PAT mean?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
container password token?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No clue, I copied this from a different script we have in figgy. 🤷
This adds three DeletionMarkers for folders that are a part of the box that's a member of that project, 10 events, and 10 scanned resources.
@hackartisan @eliotjordan This should be ready now. |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉
The script
build-and-push.sh
infiggy-fixture-container
will create a postgres 15 container with all the records for a single Ephemera Project.This also sets up Lando to use that container and host it on port 5435.
Work towards #30
closes #42