Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-4185

don't depend on devspaces-dashboard/.yarn/releases/ in other projects

XMLWordPrintable

    • False
    • Hide

      None

      Show
      None
    • False

      Today we cache a copy of yarn v1 in https://github.com/redhat-developer/devspaces-images/tree/devspaces-3-rhel-8/devspaces-dashboard/.yarn/releases

      But if configuration is broken in job-config.json, this file an be trashed and replaced by a nulled file:

      https://github.com/redhat-developer/devspaces-images/commit/fa95aea671b4b6987daf2a5349dd32285107108d

      This also introduces a dependency from traefik, devfile reg and others onto this file.

      Instead we should use the same sync.sh logic in https://github.com/redhat-developer/devspaces-images/blob/devspaces-3-rhel-8/devspaces-dashboard/build/scripts/sync.sh#L85-L92 for other repos, and then use the binary for that project in mid and downstream builds.

      Yes it duplicates content, but it decouples the dependency on dashboard.

              sdawley@redhat.com Samantha Dawley
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: