Commit Graph

218 Commits (7222c69d25d08b94c4341b2d75e7574a6062ac0b)

Author SHA1 Message Date
alex 7222c69d25 Avoid public-read ACL on GCS buckets on publish
Setting a bucket or object to public-read will remove all OWNER and
WRITER permissions from everyone except the bucket or object owner.

This is why deploying from one account would then fail publishing from
another.

The ACLs are now updated automatically by setting default ACL
on the buckets:

$ gsutil defacl ch -g all:R -u service-account-email:O gs://bucket

all:R makes sure all objects will be READable by anyone on the web.

service-account-email:O will add the servie account to the OWNERs of
each uploaded object so that drone can auto-update changes to the
staging bucket even if someone else has previously pushed an update
manually.

The above has been done to the staging bucket.
2015-07-01 13:29:51 +01:00
Addy Osmani 79f09f850a Support release of templates/assets/built-files 2015-06-30 14:02:35 +01:00
Addy Osmani 9c44638246 zip:library > zip:mdl, zip:site > zip:templates 2015-06-30 11:43:39 +01:00
Addy Osmani c390ba04a5 Include bower.json & package.json in builds 2015-06-29 18:59:53 +01:00
Addy Osmani 8aa417b5b1 Make JSCS happy 2015-06-29 18:57:45 +01:00
Addy Osmani c89317ca52 Generate bundles for JS/CSS as well as site/templates 2015-06-29 18:54:20 +01:00
Nicolas Garnier 05a672b63a Use templating for MDL libs included in copy-to-Codepen feature. 2015-06-25 18:31:09 +01:00
Addy Osmani b9c24b0cd9 Revert of 165a9811d8 2015-06-25 18:16:15 +01:00
Addy Osmani 90f527ff5d Merge branch 'master' of https://github.com/google/material-design-lite
* 'master' of https://github.com/google/material-design-lite:
  Adding the concept of a demo file to snippets.
  Fixing menu z-index
  Update android.com screenshots Fixes #468
  Turn card actions into buttons on android template (fixes #463)
  Handle raised buttons appropriately
  Revamping card demos based on new mocks.
  Further card styling fixes.
  Add vertical align to snippets demo cells.
  Fix primary/accent colored flat buttons (fixes #466)
  Fix dashboard card (fixes #464)
  Lint gulpfile.js & fix linting errors
2015-06-25 17:42:00 +01:00
Addy Osmani 165a9811d8 Experiments 2015-06-25 14:16:41 +01:00
Addy Osmani da4fba7f95 Lint gulpfile.js & fix linting errors 2015-06-25 11:34:00 +01:00
Marc Cohen 3c8be4e374 Add ability to publish runtime elements into separate code.getmdl.io bucket. (Closes #465) 2015-06-25 09:45:02 +01:00
Nicolas Garnier bcf169e42c Merge pull request #457 from google/getting-started-update
Templating the URL prefix of the Hosted libs...
2015-06-24 18:12:59 +01:00
Nicolas Garnier 6577c697a7 Templating the URL prefix of the Hosted libs
Add MD font to getting tarted guide snippets
2015-06-24 18:07:42 +01:00
Nicolas Garnier 310c6c89a9 Generate demo widget based on snippets. 2015-06-24 15:55:07 +01:00
Marc Cohen f79861f0c6 Merge pull request #417 from google/staging
add support for staging publish and related changes
2015-06-24 13:51:58 +01:00
Marc Cohen ba634bf192 clean up obsolete gulp tasks 2015-06-24 13:47:45 +01:00
Marc Cohen 55ece01ce2 refactor publish tasks to support promote from staging 2015-06-24 13:40:47 +01:00
alex bb6a7ca6cf Make mocha-phantom use tap reporter 2015-06-24 11:42:59 +01:00
Sérgio Gomes 821cd4bfcf Ensure the autoprefixer runs on demos and components pages.
Fixes #432
2015-06-23 16:30:52 +01:00
Alexander Surma 9e93570d5b Fix emberrassing typo in customizer 2015-06-22 19:46:15 +01:00
Marc Cohen f130c8dd84 add publish:gcs gulp task to push microsite to gcs bucket
added publish dep on default task (per Surma comments)

add support for cache control tuning

remove redundant comma

use {read:false} on gulp.src to avoid wasting time reading file contents

remove publish dep on default and rename two publish tasks per Alex' comment
2015-06-19 21:47:29 +01:00
Alexander Surma 49d0ebc71d Implement microsite review (closes #372)
commit 0989b81b4e0b9a6e01e8d601182d827da0c3ec2b
Author: Alexander Surma <surma@surmair.de>
Date:   Wed Jun 17 17:28:34 2015 +0100

    Fix header images

commit 01b9dcd54e9ad385f4d03840bede88eec4b6d094
Author: Alexander Surma <surma@surmair.de>
Date:   Wed Jun 17 17:14:06 2015 +0100

    Fix microsite from visual diffing

commit bfdda8a8e7fad9e2d9541d72d77acefdfb0122a5
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Jun 15 18:50:48 2015 +0100

    Minify javascript on microsite as well

commit 03f3730c097a50f585d7cf8a3dd82e8bc12eeceb
Author: Alexander Surma <surma@surmair.de>
Date:   Mon Jun 15 18:47:49 2015 +0100

    Add scrolling buttons to mobile navbar on microsite

commit 63bd2c58f1fe773767b1035947e708cc95ddfcc9
Author: Alexander Surma <surma@surmair.de>
Date:   Tue Jun 9 13:06:05 2015 -0700

    Implement review for microsite
2015-06-17 17:49:23 +01:00
Nicolas Garnier fc9310d712 Merge pull request #398 from google/getting-started
Getting Started guide UX/UI review
2015-06-16 17:57:22 +02:00
Sérgio Gomes 603842934e Adding android.com template.
Also fixing templates:fonts task.
2015-06-16 15:41:51 +01:00
Nicolas Garnier 32f85b3871 Adding version number to the header 2015-06-16 15:33:52 +02:00
Sérgio Gomes 5a360b7f2e Style fixes to gulpfile 2015-06-15 17:36:58 +01:00
Addy Osmani 57fa9c7d8f Add support for grid-specific builds 2015-06-15 17:24:52 +01:00
Addy Osmani feb1cab7ef gulpfile: add jscs task & integrate
This change added a `gulp jscs` task and integrates it into both the
`default` and `tests` pipelines. This means if code does not pass, it
will fail the build.
2015-06-15 14:32:06 +01:00
Marc Cohen 277756c5f3 gulpfile.js task to push js & css to Google Cloud Storage (will add fonts and other files in next PR)
add versioning support to publish:cdn action

fine tune gsutil cmd, add more comments
2015-06-15 11:39:25 +01:00
Nicolas Garnier 75ee780aa9 Add header w/ licence + MDL version to minified CSS 2015-06-13 00:55:41 +02:00
Sérgio Gomes 93b26d8933 Adding generation for individual demos.
This enables much easier per-component testing.
2015-06-11 16:02:19 +01:00
Nicolas Garnier d55a161018 Adds Syntax highlighting for code blocks. Closes #375
- Using the Prism lib
 - Moved Prism from the Component page only to the common layout
 - Transalte prism "markup" annotation to "html"
 - Translate markdown code blocks class names to Prism code block class names
2015-06-11 15:43:36 +02:00
Nicolas Garnier 14a4c5c20c Adding ability to inject the version number into the mini site using `$$version$$` 2015-06-10 12:39:38 +02:00
Alexander Surma 420a070502 Use gulp-open in serve task 2015-06-05 12:41:36 -07:00
Alexander Surma 869e968a3b Introduce separate serve:browsersync task (fixes #299) 2015-06-05 12:41:36 -07:00
Surma 6f244cdcd9 Merge pull request #290 from google/microsite-ui-review
Microsite ui review
2015-06-05 09:23:06 -07:00
Alexander Surma e772174330 Make publish take partially synchronous (lands #342) 2015-06-05 16:11:13 +01:00
Alexander Surma e4cef5ded6 Add .publish to clean task 2015-06-05 16:10:50 +01:00
Sérgio Gomes e550304d4b Squashing all of @marcacohen 's work on partial component pages so far.
The commit history was a bit too complicated, which made it hard to rebase.
2015-06-03 15:51:38 +01:00
Alexander Surma f5b63ba5ce Fix template previews 2015-06-02 16:09:44 -07:00
Alexander Surma 31ef34a7bb Add CSS prefixing to microsite assets (fixes #321) 2015-06-02 16:01:15 -07:00
Sérgio Gomes 171e72ba51 All demos now use static CSS. 2015-06-02 14:44:15 +01:00
Sérgio Gomes 9f61b972eb Switching to official MD icon font ("Material Icons")
- Removed all icon font files
- Removed icon font tasks and dependencies in the gulpfile
- Updated all sources, demos and templates to the official font
2015-06-02 11:05:24 +01:00
Sérgio Gomes 4df49777d5 Add basic data table, with more functionality to come later. 2015-06-01 16:10:18 +01:00
Sérgio Gomes fd56adac2c More gulpfile style fixes 2015-06-01 15:20:14 +01:00
Jonathan Garbee aa4d1b081a Remove animation js from compiled output. Style fixes from jscs. 2015-06-01 08:30:17 -04:00
Alexander Surma 4b1c65ac90 Run prefixer on custom template CSS 2015-05-13 15:59:31 +01:00
Alexander Surma 8745871f14 Replace broken base64 plugin 2015-05-08 03:01:05 +01:00
Addy Osmani 11e55288a9 Merge pull request #284 from google/path-fixing
Fix more paths
2015-05-07 19:08:19 +01:00