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

Take pipeline remote url from env var #22

Merged
merged 1 commit into from
Nov 3, 2017

Conversation

helenst
Copy link

@helenst helenst commented Nov 2, 2017

This addresses https://github.com/JiscRDSS/rdss-archivematica/issues/63 / artefactual#236 (at least as a first pass solution)

We take an environment variable for the Dashboard API URL (as contactable by storage service) and use that for the remote_name, in preference to reading it from the REMOTE_NAME on the request. REMOTE_NAME is still used as a backup option if the environment variable is not present.

Further iterations of this could involve the Storage Service endpoint accepting another parameter which allows Dashboard to send the hostname as part of that call, but this will get things working here for now.

See also https://github.com/JiscRDSS/rdss-archivematica/pull/103

@sevein
Copy link
Collaborator

sevein commented Nov 2, 2017

This isn't going to work if we want to set up two pipelines - is that going to be a problem?

Copy link
Collaborator

@sevein sevein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@helenst helenst merged commit c326244 into qa/jisc Nov 3, 2017
@sevein sevein deleted the dev/configure-pipeline-address branch May 30, 2018 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants