Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-22305

automate process for fetching latest target platform mirrors

XMLWordPrintable

      Rather than manually pulling requirements, it would be hella sweet if there was a job config into which we could just list all the URLs to mirror and their matching project names.

      Then this job would scrape the .target files for the current list of URLs used, grep out the /requirements/<reqname>/<version>, fetch a new mirror for each new version, and dump an updated copy of the .target file into the job's workspace.

      Thus for webtools we might simply define:
      webtools,S-3.8.0M7-20160503010110,http://download.eclipse.org/webtools/downloads/drops/R3.8.0/S-3.8.0M7-20160503010110/repository/

      and we'd end up with:

      http://download.jboss.org/jbosstools/updates/requirements/webtools/S-3.8.0M7-20160503010110/

      1. matrix job. each config is a trio of reqname/version/URL which is passed to a process akin to that of the jbosstools-requirements job to perform the mirror; process is now scripted here: https://github.com/jbosstools/jbosstools-build-ci/blob/jbosstools-4.4.x/publish/mirror.sh

      2. when all children are done, a downstream job can runs TP update & validation against new .target files

      • when done if success:
      • ideally, generate a PR and attach link in email to jbosstools-dev@
      • if can't generate PR, then attach patch in email to nickboldt & mistria to apply locally in jbosstools-target-platforms to create a PR
      • email should includes boilerplate text to send mail to list announcing new change for review

              nickboldt Nick Boldt
              nickboldt Nick Boldt
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: