]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove the unused docs upload preview stuff. (#26599)
authorXhmikosR <xhmikosr@gmail.com>
Sun, 27 May 2018 08:44:29 +0000 (11:44 +0300)
committerGitHub <noreply@github.com>
Sun, 27 May 2018 08:44:29 +0000 (11:44 +0300)
.github/CONTRIBUTING.md
.travis.yml
build/upload-preview.sh [deleted file]
package.json

index cbdd8108239b9b30e7213f7a527798486327fa57..f579111bd41a24a9c31ff4a121709a813d733ef9 100644 (file)
@@ -204,15 +204,6 @@ includes code changes) and under the terms of the
 [Creative Commons Attribution 3.0 Unported License](docs/LICENSE)
 (if it includes documentation changes).
 
-### Pull request bots
-
-[@twbs-rorschach](https://github.com/twbs-rorschach) is a Bootstrap bot that hangs out in our GitHub issue tracker and automatically checks all pull requests for a few simple common mistakes. It's possible that Rorschach might leave a comment on your pull request and then close it. If that happens, simply fix the problem(s) mentioned in the comment (there should be link(s) in the comment explaining the problem(s) in detail) and then either:
-
-* Push the revised version to your pull request's branch and post a comment on the pull request saying that you've fixed the problem(s). One of the Bootstrap Core Team members will then come along and reopen your pull request.
-* Or you can just open a new pull request for your revised version.
-
-[@twbs-savage](https://github.com/twbs-savage) is a Bootstrap bot that automatically runs cross-browser tests (via [Sauce](https://saucelabs.com/) and Travis CI) on JavaScript pull requests. Savage will leave a comment on pull requests stating whether cross-browser JS tests passed or failed, with a link to the full Travis build details. If your pull request fails, check the Travis log to see which browser + OS combinations failed. Each browser test in the Travis log includes a link to a Sauce page with details about the test. On those details pages, you can watch a screencast of the test run to see exactly which unit tests failed.
-
 
 ## Code guidelines
 
index ce35ec847aaaab95330de5b3d940eb3111750edc..2f858ad9ca375b165b1a01fae47d8b141f02c14c 100644 (file)
@@ -14,7 +14,6 @@ install:
   - bundle install --deployment --jobs=3 --retry=3
   - npm install
 after_success:
-  - if [ "$TRAVIS_REPO_SLUG" = twbs-savage/bootstrap ]; then npm run docs-upload-preview; fi
   - if [ "$TRAVIS_NODE_VERSION" = "8" ]; then npm run coveralls; fi
 stages:
   - test
@@ -29,7 +28,3 @@ cache:
   directories:
     - node_modules
     - vendor/bundle
-notifications:
-  slack: heybb:iz4wwosL0N0EdaX1gvgkU0NH
-  webhooks:
-    - http://savage.twbsapps.com/savage/travis
diff --git a/build/upload-preview.sh b/build/upload-preview.sh
deleted file mode 100755 (executable)
index 320a0af..0000000
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-# Upload built docs to preview.twbsapps.com
-
-# Add build metadata to version
-sed -i "/^current_version:/ s/\$/+pr.${TRAVIS_COMMIT}/" _config.yml
-bundle exec jekyll build --destination "$TRAVIS_COMMIT" --baseurl "/c/${TRAVIS_COMMIT}"
-
-openssl aes-256-cbc -K "${encrypted_2b749c8e6327_key:?}" -iv "${encrypted_2b749c8e6327_iv:?}" -in build/gcp-key.json.enc -out build/gcp-key.json -d
-gcloud auth activate-service-account "$GCP_SERVICE_ACCOUNT" --key-file build/gcp-key.json &> /dev/null || (echo 'GCP login failed!'; exit 1)
-
-echo "Uploading to http://preview.twbsapps.com/c/${TRAVIS_COMMIT} ..."
-time gsutil -q -m cp -z html,css,js,svg -r "./${TRAVIS_COMMIT}" gs://preview.twbsapps.com/c/
-echo 'Done.'
index f96d3bf248c612935f65431cf7ea7a5b3f17ad74..352ef9b6b5db7050f6ce9bcdde6d0a53556e72d5 100644 (file)
@@ -60,7 +60,6 @@
     "docs-lint-htmllint": "htmllint --rc build/.htmllintrc \"_gh_pages/**/*.html\" \"js/tests/**/*.html\"",
     "docs-lint-vnu-jar": "node build/vnu-jar.js",
     "docs-serve": "bundle exec jekyll serve",
-    "docs-upload-preview": "build/upload-preview.sh",
     "docs-workbox-precache": "node build/workbox.js",
     "maintenance-dependencies": "ncu -a -x jquery && npm update && bundle update && shx echo \"Manually update assets/js/vendor/*, js/tests/vendor/* and .travis.yml\"",
     "release-sri": "node build/generate-sri.js",