Skip to content

Update publish status #177

@MatthMig

Description

@MatthMig

Facilities will often have their own system to manage the publish status of their proposal, I think we can benefit from a service to ease the ingestion of the publish status.

I have done a suggestion of implementation in those commits:

Corresponding service in SciCatLive services/ingestor/compose.yaml:

services:
  update-published:
    image: docker.ill.fr/scicat-ill/ingestor:latest
    depends_on:
      backend:
        condition: service_healthy
    env_file: .env
    environment:
      CONFIG_FILE: /app/config/config.sample.json
    volumes:
      - ./config/config.sample.json:/app/config/config.sample.json:ro
    entrypoint: ["/bin/sh", "-c", "while true; do /app/update-published.sh; sleep 86400; done"]
    restart: unless-stopped
    logging:
      driver: "json-file"
      options:
        max-size: "10m"
        max-file: "3"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions