Flatten android artifacts layout

Registered by Данило Шеган

We want to "flatten" the layout of published android artifacts: i.e. instead of having "target/product/<boardname>/" as the base path for artifacts, we want them to appear in the top-level directory instead.

With the first step, we do not want to move howto/* files into top-level as well, because that complicates access management.

Blueprint information

Status:
Complete
Approver:
Данило Шеган
Priority:
High
Drafter:
Deepti B. Kalakeri
Direction:
Approved
Assignee:
Georgy Redkozubov
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2012.12
Started by
Georgy Redkozubov
Completed by
Georgy Redkozubov

Related branches

Sprints

Whiteboard

[danilo, 2012-11-30] Example on http://snapshots.linaro.org/android/~linaro-android/galaxynexus-jb-gcc47-aosp-blob-12.11-release/1 has a layout of:
  ./pinned-manifest.xml
  ./source-manifest.xml
  ...
  ./target/product/maguro/system.img
  ./target/product/maguro/boot.img
  ...
  ./target/product/maguro/howto/HOWTO_install.txt
  ...

we want this to become

  ./pinned-manifest.xml
  ./source-manifest.xml
  ...
  ./system.img
  ./boot.img
  ...
  ./howto/HOWTO_install.txt
  ...
[gesha 2012-12-07] Successfully reshuffled artifacts http://staging.snapshots.linaro.org/android/~gesha/galaxynexus-jb-gcc47-aosp-blob/1
[gesha 2012-12-11] Vishal updated HOWTOs http://review.android.git.linaro.org/#change,3155
[gesha 2012-12-11] Sent out and email to the <email address hidden> on updating SOURCE_OVERLAY in android jobs
[gesha 2012-12-17] HOWTOs are updated in git tree and builds starting 2012-12-13 are producing updated HOWTOs
[deepti 2012-12-19] Its been decided to add a check to stop the android builds if the SOURCE_OVERLAY information is not passed as part of the configuration. The changes are present in lp:~deeptik/linaro-android-build-tools/source_overlay_check branch and has been approved for merging.
[gesha 2012-12-20] Successfull build with new artifacts layout https://android-build.linaro.org/jenkins/job/gesha_galaxynexus-jb-gcc47-aosp-blob/13 and on snapshots https://snapshots.linaro.org/android/~gesha/galaxynexus-jb-gcc47-aosp-blob/13

Meta:
Headline: Publish android builds in a flat directory layout on snapshots.linaro.org.
Acceptance: New android builds are published in a flat directory layout on snapshots.linaro.org with only howto/ still being a subdirectory of the top-level build output directory.
Roadmap id: http://cards.linaro.org/browse/CARD-272

(?)

Work Items

Work items:
[stevanr] Support howto's in ./, ./howto/ and ./target/product/*/howto/ (bug #1082021): DONE
Check if textile rendering supports relative links: DONE
[vishalbhoj] Ensure URLs are rewritten for HOWTOs to point to new locations (or relative links are used): DONE
Ensure android builds are producing HOWTOs with new locations: DONE
[vishalbhoj] Update BUILD-INFO.txt files for protected source overlays to ensure open files are not protected: DONE
[deepti] Ensure all builds use at least one SOURCE_OVERLAY (eg. open one if unprotected) on android-build.linaro.org: DONE
Update publish-to-snapshots to reshuffle the files: DONE
Roll out latest code to snapshots.linaro.org: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.