-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ce0cab5
commit 0d999a0
Showing
3,235 changed files
with
83,792 additions
and
164,548 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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,14 @@ | ||
docker: | ||
- image: node:12 | ||
steps: | ||
- checkout | ||
- run: | ||
name: Push content to Algolia Index | ||
command: | | ||
if [ "$CIRCLE_REPOSITORY_URL" != "git@github.com:hashicorp/vault.git" ]; then | ||
echo "Not Vault OSS Repo, not indexing Algolia" | ||
exit 0 | ||
fi | ||
cd website/ | ||
npm install | ||
node scripts/index_search_content.js |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,13 @@ | ||
executor: node | ||
resource_class: xlarge | ||
steps: | ||
- checkout | ||
- restore_yarn_cache | ||
- attach_workspace: | ||
at: . | ||
- run: | ||
name: Run Browserstack Tests | ||
command: | | ||
# Add ./bin to the PATH so vault binary can be found. | ||
export PATH="${PWD}"/bin:${PATH} | ||
make test-ui-browserstack |
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
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,22 @@ | ||
docker: | ||
- image: circleci/buildpack-deps | ||
shell: /usr/bin/env bash -euo pipefail -c | ||
steps: | ||
- checkout | ||
- setup_remote_docker | ||
- run: | ||
name: Build Docker Image if Necessary | ||
command: | | ||
IMAGE_TAG="$(git rev-list -n1 HEAD -- website/Dockerfile website/package-lock.json)" | ||
echo "Using $IMAGE_TAG" | ||
if [ "$CIRCLE_REPOSITORY_URL" != "git@github.com:hashicorp/vault.git" ]; then | ||
echo "Not Vault OSS Repo, not building website docker image" | ||
elif curl https://hub.docker.com/v2/repositories/hashicorp/vault-website/tags/$IMAGE_TAG -fsL > /dev/null; then | ||
echo "Dependencies have not changed, not building a new website docker image." | ||
else | ||
cd website/ | ||
docker build -t hashicorp/vault-website:$IMAGE_TAG . | ||
docker tag hashicorp/vault-website:$IMAGE_TAG hashicorp/vault-website:latest | ||
docker login -u $WEBSITE_DOCKER_USER -p $WEBSITE_DOCKER_PASS | ||
docker push hashicorp/vault-website | ||
fi |
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.