-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto-Deployment (without Static Delivery Changes) (#152)
- fixes #135 * Refactor: create GitUtils utility class * added --circleci-auth option for hlx deploy --auto #135 # Conflicts: # src/deploy.js * follow project on CircleCI #135 * Set build environment variables #135 * hlx deploy now requires fastly, wsk, and circleci settings * check for existence of config.yml before starting auto-deployment * Actually pass fastly parameters into command executor * Added default CircleCI configs * fix test # Conflicts: # test/testDeployCli.js * bring up test coverage # Conflicts: # test/testDeployCmd.js * Don't log fastly auth * added integration test (with fixtures) for auto-deploy # Conflicts: # test/testDeployCmd.js * lint * restore state after testing * lint * fix tests * Resolve conflicts * fix lint * fix failing test * fix another failing test * Fix for deploy command test failure * increase timeouts * fix linting errors # Conflicts: # test/testUpCmd.js * revert partial refactor
- Loading branch information
Showing
17 changed files
with
618 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
# specify the version you desire here | ||
- image: circleci/node:8-stretch | ||
steps: | ||
- checkout | ||
|
||
# Download and cache dependencies | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package.json" }} | ||
|
||
- run: | ||
name: Installing Dependencies | ||
command: npm install | ||
|
||
- run: | ||
name: Installing Helix CLI | ||
command: npm install @adobe/helix-cli | ||
|
||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "package.json" }} | ||
|
||
- run: | ||
name: Building Templates | ||
command: npx hlx build | ||
|
||
- run: git diff | ||
|
||
- run: | ||
name: Deploying to Adobe I/O Runtime | ||
command: npx hlx deploy --no-auto | ||
|
||
- run: | ||
name: Activate CDN | ||
command: npx hlx strain | ||
|
||
- run: | ||
name: Test Performance | ||
command: npx hlx perf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
version: 2 | ||
jobs: | ||
build: | ||
docker: | ||
# specify the version you desire here | ||
- image: circleci/node:8-stretch | ||
steps: | ||
- checkout | ||
|
||
# Download and cache dependencies | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package.json" }} | ||
|
||
- run: | ||
name: Installing Dependencies | ||
command: npm install | ||
|
||
- run: | ||
name: Installing Helix CLI | ||
command: npm install @adobe/helix-cli | ||
|
||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "package.json" }} | ||
|
||
- run: | ||
name: Building Templates | ||
command: npx hlx build | ||
|
||
- run: git diff | ||
|
||
- run: | ||
name: Deploying to Adobe I/O Runtime | ||
command: npx hlx deploy --no-auto | ||
|
||
- run: | ||
name: Activate CDN | ||
command: npx hlx strain | ||
|
||
- run: | ||
name: Test Performance | ||
command: npx hlx perf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.