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

Problem: integration with Enduro is not available #40

Closed
sevein opened this issue May 26, 2020 · 2 comments
Closed

Problem: integration with Enduro is not available #40

sevein opened this issue May 26, 2020 · 2 comments

Comments

@sevein
Copy link
Member

sevein commented May 26, 2020

Enduro is currently able to communicate with pre-provisioned Archivematica pipelines, but working with a3m is a planned feature too.

a3m bundles an Enduro activity worker that can be easily deployed using our Docker image. Configuration can be passed as environment strings or request-scoped attributes. The main parameters are Cadence server address, domain name and task list name. The following is an example of a3m deployed as a Kubernetes Deployment with eight replicas:

---
apiVersion: v1
kind: Namespace
metadata:
  name: a3m
---
apiVersion: v1
kind: Secret
metadata:
  name: a3m-docker-registry-key
  namespace: a3m
data:
  .dockerconfigjson: ...
type: kubernetes.io/dockerconfigjson
---
apiVersion: apps/v1
kind: Deployment
metadata:
  labels:
    app: a3m
  name: a3m
  namespace: a3m
spec:
  replicas: 8
  selector:
    matchLabels:
      app: a3m
  template:
    metadata:
      labels:
        app: a3m
    spec:
      imagePullSecrets:
      - name: a3m-docker-registry-key
      containers:
      - name: a3m
        image: docker.pkg.github.com/artefactual-labs/a3m/a3m:main
        imagePullPolicy: Always
        env:
        - name: "A3M_CADENCE_SERVER"
          value: "cadence-server:12345"
        - name: "A3M_CADENCE_DOMAIN"
          value: "a3m"
        - name: "A3M_CADENCE_TASK_LIST"
          value: "a3m"

Enduro needs to learn how to utilize a3m:

  • Dispatch activities to the a3m task list
  • Encode activity request (including name and URL of the transfer)
  • Give access to transfer, e.g. via S3 pre-signed URLs
@sevein
Copy link
Member Author

sevein commented May 26, 2020

Activity worker implemented here: e9a3398. Not tested yet.

@sevein
Copy link
Member Author

sevein commented Oct 20, 2020

Not part of this repo.

@sevein sevein closed this as completed Oct 20, 2020
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

No branches or pull requests

1 participant