FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix(ci): stop caching stale doc builds by redallen · Pull Request #3582 · patternfly/patternfly-react · GitHub

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .sh  (1) .yml  (1) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
15 changes: 2 additions & 13 deletions .circleci/config.yml
This file contains hidden or 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
Expand Up @@ -49,8 +49,6 @@ references:
cypress-v{{.Environment.CACHE_VERSION}}-{{checksum "yarn.lock"}}
build_cache_key: &build_cache_key
build-cache-v{{.Environment.CACHE_VERSION}}-{{checksum "yarn.lock"}}
doc_build_cache_key: &doc_build_cache_key
doc-build-v{{.Environment.CACHE_VERSION}}-{{checksum "yarn.lock"}}
doc_build_cache_paths: &doc_build_cache_paths
- packages/patternfly-4/react-docs/.cache
- packages/patternfly-4/react-docs/public
Expand Down Expand Up @@ -262,17 +260,14 @@ jobs:
- restore_cache:
keys:
- *js_deps_cache_key
- restore_cache:
keys:
- *doc_build_cache_key
- *install_node
- *install_yarn
- run:
name: Build patternfly-react docs
command: ~/.yarn/bin/yarn build:docs
- save_cache:
- persist_to_workspace:
root: ~/project
paths: *doc_build_cache_paths
key: *doc_build_cache_key
test_a11y_pf4:
docker:
- image: circleci/node:10-browsers
Expand All @@ -281,9 +276,6 @@ jobs:
- restore_cache:
keys:
- *js_deps_cache_key
- restore_cache:
keys:
- *doc_build_cache_key
- run:
name: PF4 a11y tests
command: yarn test:a11y || true
Expand All @@ -294,9 +286,6 @@ jobs:
- image: circleci/node:10
steps:
- *attach_workspace
- restore_cache:
keys:
- *doc_build_cache_key
- run:
name: Copy to docs folder
command: .circleci/copy-docs.sh
Expand Down
1 change: 0 additions & 1 deletion .circleci/copy-docs.sh
This file contains hidden or 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
Expand Up @@ -4,7 +4,6 @@ mkdir -p docs
cp -r .out docs/patternfly-3
cp -r packages/patternfly-4/react-docs/public docs/patternfly-4
cp .circleci/index.html docs/index.html
cp -r packages/patternfly-4/react-integration/results/test-html-report.html docs/patternfly-4
# These need to be at the root for CSS variables
cp -r docs/patternfly-4/assets docs/assets
# Use newer favicon
Expand Down

Back | FazBrowse Home | New Git URL