Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🎉 Update grow to v1.0.0 #5292

Merged
merged 32 commits into from
Feb 9, 2021
Merged
Changes from 3 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
98b7489
:construction: Update imports
lluerich Feb 2, 2021
9b80e67
:construction: Python3 specific changes
lluerich Feb 2, 2021
15d2e27
:package: Update extension due to grow update
lluerich Feb 2, 2021
277c77a
Merge branch 'future' into grow-1-update
lluerich Feb 2, 2021
40cf73d
:mute: Remove additional logs
lluerich Feb 2, 2021
12e3caa
:recycle: Join conditions
lluerich Feb 2, 2021
a163240
:recycle: Remove unneeded import
lluerich Feb 2, 2021
5131d0b
🚧 Tentatively enable CI build
matthiasrohmer Feb 2, 2021
c2c2d03
🔧 Enable build stage on Travis CI
matthiasrohmer Feb 2, 2021
fd4f1a0
Merge branch 'grow-1-update' of github.com:ampproject/amp.dev into gr…
lluerich Feb 2, 2021
e7b2f63
📦 Add python3 to apt packages for Travis
matthiasrohmer Feb 2, 2021
7523632
Merge branch 'grow-1-update' of github.com:ampproject/amp.dev into gr…
lluerich Feb 3, 2021
769c242
🐛 Also install python3-pip as apt package
matthiasrohmer Feb 3, 2021
ac3842b
Merge branch 'grow-1-update' of github.com:ampproject/amp.dev into gr…
matthiasrohmer Feb 3, 2021
9ca94a2
🚧 Install python3.5-complete instead of just python3
matthiasrohmer Feb 3, 2021
5615d25
🚧 Try utilizing pyenv to update Python version
matthiasrohmer Feb 3, 2021
b28a169
🚧 Try to set CLOUDSDK_PYTHON for gsutil
matthiasrohmer Feb 3, 2021
4470618
🎉 Use Grow 1 and Python 3 to build pages
matthiasrohmer Feb 3, 2021
de4d047
:construction: Adapt to python3 open()
lluerich Feb 4, 2021
0e70139
Merge branch 'future' into grow-1-update
lluerich Feb 4, 2021
bf65697
:wrench: Enable full build on Travis CI
lluerich Feb 4, 2021
31f2f05
Merge branch 'grow-1-update' of github.com:ampproject/amp.dev into gr…
lluerich Feb 4, 2021
86ef68b
:wrench: Fix indentation
lluerich Feb 4, 2021
4c70db1
🐛 Unquote $order key in document frontmatter
matthiasrohmer Feb 8, 2021
935bc9e
🐛 Correct path for amp-animation reference documentation
matthiasrohmer Feb 8, 2021
4439d58
🐛 Unquote remaining $order keys in documents
matthiasrohmer Feb 8, 2021
de085ad
👽 Gracefully handle encoding when rewriting TOC
matthiasrohmer Feb 8, 2021
5a420a6
📝 Update instructions to use Grow 1 and Python 3
matthiasrohmer Feb 8, 2021
0915e53
🔧 Update minimum required Grow version to 1
matthiasrohmer Feb 8, 2021
c03bce3
:alien: Fix style of code snippets
lluerich Feb 8, 2021
3c896e4
Merge branch 'future' into grow-1-update
lluerich Feb 8, 2021
d0c78ff
⏪ Disable full builds for PRs again
matthiasrohmer Feb 9, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
207 changes: 101 additions & 106 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,121 +1,116 @@
language: node_js
node_js:
- lts/*
- lts/*
git:
depth: 3
addons:
apt:
packages:
- expect-dev
- expect-dev
cache:
- pip
- npm
- pip
- npm
install:
- npm ci
- npm ci
before_install:
- |
if [ $TRAVIS_BRANCH == "future" ] && [ $TRAVIS_PULL_REQUEST == "false" ]; then
- |
openssl aes-256-cbc -K $encrypted_d4a09416a845_key -iv $encrypted_d4a09416a845_iv -in .staging.key.json.enc -out .staging.key.json -d
gcloud auth activate-service-account --key-file=.staging.key.json
fi
stages:
- preparation
- name: build
if: branch = future AND type != pull_request
- name: deploy
if: branch = future AND type != pull_request
- preparation
- build
jobs:
include:
- stage: preparation
env: APP_ENV=staging
name: Check code, import documents, build samples, playground & boilerplate
before_script:
- scripts/unbuffer.sh gulp buildSamples
- scripts/unbuffer.sh gulp buildComponentVersions
- scripts/unbuffer.sh npm test
script:
- if [ $TRAVIS_BRANCH == "future" ] && [ $TRAVIS_PULL_REQUEST == "false" ]; then scripts/unbuffer.sh gulp buildPrepare; fi
- stage: build
env: APP_ENV=staging
install: &1
- npm ci
- pip install grow==0.7.4 --user
name: Build Pages (EN)
script: scripts/unbuffer.sh gulp buildPages --locales en
- stage: build
env: APP_ENV=staging
install: *1
name: Build Pages (DE)
script: scripts/unbuffer.sh gulp buildPages --locales de
- stage: build
env: APP_ENV=staging
install: *1
name: Build Pages (FR)
script: scripts/unbuffer.sh gulp buildPages --locales fr
- stage: build
env: APP_ENV=staging
install: *1
name: Build Pages (AR)
script: scripts/unbuffer.sh gulp buildPages --locales ar
- stage: build
env: APP_ENV=staging
install: *1
name: Build Pages (ES)
script: scripts/unbuffer.sh gulp buildPages --locales es
- stage: build
env: APP_ENV=staging
install: *1
name: Build Pages (IT)
script: scripts/unbuffer.sh gulp buildPages --locales it
- stage: build
env: APP_ENV=staging
install: *1
name: Build Pages (ID)
script: scripts/unbuffer.sh gulp buildPages --locales id
- stage: build
env: APP_ENV=staging
install: *1
name: Build Pages (JA)
script: scripts/unbuffer.sh gulp buildPages --locales ja
- stage: build
env: APP_ENV=staging
install: *1
name: Build Pages (KO)
script: scripts/unbuffer.sh gulp buildPages --locales ko
- stage: build
env: APP_ENV=staging
install: *1
name: Build Pages (BR)
script: scripts/unbuffer.sh gulp buildPages --locales pt_BR
- stage: build
env: APP_ENV=staging
install: *1
name: Build Pages (RU)
script: scripts/unbuffer.sh gulp buildPages --locales ru
- stage: build
env: APP_ENV=staging
install: *1
name: Build Pages (TR)
script: scripts/unbuffer.sh gulp buildPages --locales tr
- stage: build
env: APP_ENV=staging
install: *1
name: Build Pages (CN)
script: scripts/unbuffer.sh gulp buildPages --locales zh_CN
- stage: build
env: APP_ENV=staging
install: *1
name: Build Pages (PL)
script: scripts/unbuffer.sh gulp buildPages --locales pl
- stage: build
env: APP_ENV=staging
install: *1
name: Build Pages (VN)
script: scripts/unbuffer.sh gulp buildPages --locales vi
- stage: deploy
env: APP_ENV=staging
before_script:
- scripts/unbuffer.sh gulp buildFinalize
- scripts/unbuffer.sh npm run smoke-test
script:
- gcloud app deploy --project=amp-dev-staging --quiet --version=1
- stage: preparation
env: APP_ENV=staging
name: Check code, import documents, build samples, playground & boilerplate
before_script:
- scripts/unbuffer.sh gulp buildSamples
- scripts/unbuffer.sh gulp buildComponentVersions
- scripts/unbuffer.sh npm test
script:
- scripts/unbuffer.sh gulp buildPrepare
- stage: build
env: APP_ENV=staging
install: &1
- npm ci
- pip3 install grow==1.0.0 --user
name: Build Pages (EN)
script: scripts/unbuffer.sh gulp buildPages --locales en
# - stage: build
# env: APP_ENV=staging
# install: *1
# name: Build Pages (DE)
# script: scripts/unbuffer.sh gulp buildPages --locales de
# - stage: build
# env: APP_ENV=staging
# install: *1
# name: Build Pages (FR)
# script: scripts/unbuffer.sh gulp buildPages --locales fr
# - stage: build
# env: APP_ENV=staging
# install: *1
# name: Build Pages (AR)
# script: scripts/unbuffer.sh gulp buildPages --locales ar
# - stage: build
# env: APP_ENV=staging
# install: *1
# name: Build Pages (ES)
# script: scripts/unbuffer.sh gulp buildPages --locales es
# - stage: build
# env: APP_ENV=staging
# install: *1
# name: Build Pages (IT)
# script: scripts/unbuffer.sh gulp buildPages --locales it
# - stage: build
# env: APP_ENV=staging
# install: *1
# name: Build Pages (ID)
# script: scripts/unbuffer.sh gulp buildPages --locales id
# - stage: build
# env: APP_ENV=staging
# install: *1
# name: Build Pages (JA)
# script: scripts/unbuffer.sh gulp buildPages --locales ja
# - stage: build
# env: APP_ENV=staging
# install: *1
# name: Build Pages (KO)
# script: scripts/unbuffer.sh gulp buildPages --locales ko
# - stage: build
# env: APP_ENV=staging
# install: *1
# name: Build Pages (BR)
# script: scripts/unbuffer.sh gulp buildPages --locales pt_BR
# - stage: build
# env: APP_ENV=staging
# install: *1
# name: Build Pages (RU)
# script: scripts/unbuffer.sh gulp buildPages --locales ru
# - stage: build
# env: APP_ENV=staging
# install: *1
# name: Build Pages (TR)
# script: scripts/unbuffer.sh gulp buildPages --locales tr
# - stage: build
# env: APP_ENV=staging
# install: *1
# name: Build Pages (CN)
# script: scripts/unbuffer.sh gulp buildPages --locales zh_CN
# - stage: build
# env: APP_ENV=staging
# install: *1
# name: Build Pages (PL)
# script: scripts/unbuffer.sh gulp buildPages --locales pl
# - stage: build
# env: APP_ENV=staging
# install: *1
# name: Build Pages (VN)
# script: scripts/unbuffer.sh gulp buildPages --locales vi
# - stage: deploy
# env: APP_ENV=staging
# before_script:
# - scripts/unbuffer.sh gulp buildFinalize
# - scripts/unbuffer.sh npm run smoke-test
# script:
# - gcloud app deploy --project=amp-dev-staging --quiet --version=1