Merge pull request #5210 from hashicorp/sethvargo/remove_people
Remove people from community section
This commit is contained in:
commit
ef274d398d
|
@ -10,15 +10,12 @@
|
||||||
"type": "docker",
|
"type": "docker",
|
||||||
"image": "hashicorp/middleman-hashicorp:0.3.28",
|
"image": "hashicorp/middleman-hashicorp:0.3.28",
|
||||||
"discard": "true",
|
"discard": "true",
|
||||||
"run_command": ["-d", "-i", "-t", "{{ .Image }}", "/bin/sh"]
|
"volumes": {
|
||||||
|
"{{ pwd }}": "/website"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"provisioners": [
|
"provisioners": [
|
||||||
{
|
|
||||||
"type": "file",
|
|
||||||
"source": ".",
|
|
||||||
"destination": "/website"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"environment_vars": [
|
"environment_vars": [
|
||||||
|
@ -30,7 +27,7 @@
|
||||||
"inline": [
|
"inline": [
|
||||||
"bundle check || bundle install",
|
"bundle check || bundle install",
|
||||||
"bundle exec middleman build",
|
"bundle exec middleman build",
|
||||||
"/bin/sh ./scripts/deploy.sh"
|
"/bin/bash ./scripts/deploy.sh"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
|
@ -0,0 +1,55 @@
|
||||||
|
#
|
||||||
|
# REDIRECTS FILE
|
||||||
|
#
|
||||||
|
# This is a sample redirect file. Redirects allow individual projects to add
|
||||||
|
# their own redirect rules in a declarative manner using Fastly edge
|
||||||
|
# dictionaries.
|
||||||
|
#
|
||||||
|
# FORMAT
|
||||||
|
#
|
||||||
|
# Redirects are in the format. There must be at least one space between the
|
||||||
|
# original path and the new path, and there must be exactly two entries per
|
||||||
|
# line.
|
||||||
|
#
|
||||||
|
# /original-path /new-path
|
||||||
|
#
|
||||||
|
# GLOB MATCHING
|
||||||
|
#
|
||||||
|
# Because of the way lookup tables work, there is no support for glob matching.
|
||||||
|
# Fastly does not provide a way to iterate through the lookup table, so it is
|
||||||
|
# not possible to run through the table and find anything that matches. As such
|
||||||
|
# URLs must match directly.
|
||||||
|
#
|
||||||
|
# More complex redirects are possible, but must be added directly to the
|
||||||
|
# configuration. Please contact the release engineering team for assistance.
|
||||||
|
#
|
||||||
|
# DELETING
|
||||||
|
#
|
||||||
|
# Deleting items is not supported at this time. To delete an item, contact the
|
||||||
|
# release engineering team and they will delete the dictionary item.
|
||||||
|
#
|
||||||
|
# MISC
|
||||||
|
#
|
||||||
|
# - Blank lines are ignored
|
||||||
|
# - Comments are hash-style
|
||||||
|
# - URLs are limited to 256 characters
|
||||||
|
# - Items are case-sensitive (please use all lowercase)
|
||||||
|
#
|
||||||
|
|
||||||
|
/docs/installation.html /docs/install/index.html
|
||||||
|
/docs/command-line/machine-readable.html /docs/commands/index.html
|
||||||
|
/docs/command-line/introduction.html /docs/commands/index.html
|
||||||
|
/docs/templates/introduction.html /docs/templates/index.html
|
||||||
|
/docs/builders/azure-arm.html /docs/builders/azure.html
|
||||||
|
/docs/templates/veewee-to-packer.html /guides/veewee-to-packer.html
|
||||||
|
/docs/extend/developing-plugins.html /docs/extending/plugins.html
|
||||||
|
/docs/extending/developing-plugins.html /docs/extending/plugins.html
|
||||||
|
/docs/extend/builder.html /docs/extending/custom-builders.html
|
||||||
|
/docs/getting-started/setup.html /docs/getting-started/install.html
|
||||||
|
/docs/other/community.html /downloads-community.html
|
||||||
|
/community /community.html
|
||||||
|
/community/index.html /community.html
|
||||||
|
/docs/other/environmental-variables.html /docs/other/environment-variables.html
|
||||||
|
/docs/platforms.html /docs/builders/index.html
|
||||||
|
/intro/platforms.html /docs/builders/index.html
|
||||||
|
/docs/templates/configuration-templates.html /docs/templates/engine.html
|
|
@ -1,9 +1,10 @@
|
||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
PROJECT="packer"
|
PROJECT="packer"
|
||||||
PROJECT_URL="www.packer.io"
|
PROJECT_URL="www.packer.io"
|
||||||
FASTLY_SERVICE_ID="7GrxRJP3PVBuqQbyxYQ0MV"
|
FASTLY_SERVICE_ID="7GrxRJP3PVBuqQbyxYQ0MV"
|
||||||
|
FASTLY_DICTIONARY_ID="7CE9Ko06dSFrv8XqDgMZvo"
|
||||||
|
|
||||||
# Ensure the proper AWS environment variables are set
|
# Ensure the proper AWS environment variables are set
|
||||||
if [ -z "$AWS_ACCESS_KEY_ID" ]; then
|
if [ -z "$AWS_ACCESS_KEY_ID" ]; then
|
||||||
|
@ -93,7 +94,76 @@ if [ -z "$NO_UPLOAD" ]; then
|
||||||
modify "s3://hc-sites/$PROJECT/latest/"
|
modify "s3://hc-sites/$PROJECT/latest/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Perform a soft-purge of the surrogate key.
|
# Add redirects if they exist
|
||||||
|
if [ -z "$NO_REDIRECTS" ] || [ ! test -f "./redirects.txt" ]; then
|
||||||
|
echo "Adding redirects..."
|
||||||
|
fields=()
|
||||||
|
while read -r line; do
|
||||||
|
[[ "$line" =~ ^#.* ]] && continue
|
||||||
|
[[ -z "$line" ]] && continue
|
||||||
|
|
||||||
|
# Read fields
|
||||||
|
IFS=" " read -ra parts <<<"$line"
|
||||||
|
fields+=("${parts[@]}")
|
||||||
|
done < "./redirects.txt"
|
||||||
|
|
||||||
|
# Check we have pairs
|
||||||
|
if [ $((${#fields[@]} % 2)) -ne 0 ]; then
|
||||||
|
echo "Bad redirects (not an even number)!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Check we don't have more than 1000 entries (yes, it says 2000 below, but that
|
||||||
|
# is because we've split into multiple lines).
|
||||||
|
if [ "${#fields}" -gt 2000 ]; then
|
||||||
|
echo "More than 1000 entries!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Validations
|
||||||
|
for field in "${fields[@]}"; do
|
||||||
|
if [ "${#field}" -gt 256 ]; then
|
||||||
|
echo "'$field' is > 256 characters!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [ "${field:0:1}" != "/" ]; then
|
||||||
|
echo "'$field' does not start with /!"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
# Build the payload for single-request updates.
|
||||||
|
jq_args=()
|
||||||
|
jq_query="."
|
||||||
|
for (( i=0; i<${#fields[@]}; i+=2 )); do
|
||||||
|
original="${fields[i]}"
|
||||||
|
redirect="${fields[i+1]}"
|
||||||
|
echo "Redirecting ${original} -> ${redirect}"
|
||||||
|
jq_args+=(--arg "key$((i/2))" "${original}")
|
||||||
|
jq_args+=(--arg "value$((i/2))" "${redirect}")
|
||||||
|
jq_query+="| .items |= (. + [{op: \"upsert\", item_key: \$key$((i/2)), item_value: \$value$((i/2))}])"
|
||||||
|
done
|
||||||
|
|
||||||
|
# Do not post empty items (the API gets sad)
|
||||||
|
if [ "${#jq_args[@]}" -ne 0 ]; then
|
||||||
|
json="$(jq "${jq_args[@]}" "${jq_query}" <<<'{"items": []}')"
|
||||||
|
|
||||||
|
# Post the JSON body
|
||||||
|
curl \
|
||||||
|
--fail \
|
||||||
|
--silent \
|
||||||
|
--output /dev/null \
|
||||||
|
--request "PATCH" \
|
||||||
|
--header "Fastly-Key: $FASTLY_API_KEY" \
|
||||||
|
--header "Content-type: application/json" \
|
||||||
|
--header "Accept: application/json" \
|
||||||
|
--data "$json"\
|
||||||
|
"https://api.fastly.com/service/$FASTLY_SERVICE_ID/dictionary/$FASTLY_DICTIONARY_ID/items"
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Perform a purge of the surrogate key.
|
||||||
if [ -z "$NO_PURGE" ]; then
|
if [ -z "$NO_PURGE" ]; then
|
||||||
echo "Purging Fastly cache..."
|
echo "Purging Fastly cache..."
|
||||||
curl \
|
curl \
|
||||||
|
@ -118,8 +188,13 @@ if [ -z "$NO_WARM" ]; then
|
||||||
echo "wget --recursive --delete-after https://$PROJECT_URL/"
|
echo "wget --recursive --delete-after https://$PROJECT_URL/"
|
||||||
echo ""
|
echo ""
|
||||||
wget \
|
wget \
|
||||||
--recursive \
|
|
||||||
--delete-after \
|
--delete-after \
|
||||||
--quiet \
|
--level inf \
|
||||||
|
--no-directories \
|
||||||
|
--no-host-directories \
|
||||||
|
--no-verbose \
|
||||||
|
--page-requisites \
|
||||||
|
--recursive \
|
||||||
|
--spider \
|
||||||
"https://$PROJECT_URL/"
|
"https://$PROJECT_URL/"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -32,96 +32,3 @@ description: |-
|
||||||
Paid <a href="https://www.hashicorp.com/training.html">HashiCorp training courses</a>
|
Paid <a href="https://www.hashicorp.com/training.html">HashiCorp training courses</a>
|
||||||
are also available in a city near you. Private training courses are also available.
|
are also available in a city near you. Private training courses are also available.
|
||||||
</p>
|
</p>
|
||||||
<h1>People</h1>
|
|
||||||
<p>
|
|
||||||
The following people are some of the faces behind Packer. They each
|
|
||||||
contribute to Packer in some core way. Over time, faces may appear and
|
|
||||||
disappear from this list as contributors come and go. In addition to
|
|
||||||
the faces below, Packer is a project by
|
|
||||||
<a href="https://www.hashicorp.com">HashiCorp</a>, so many HashiCorp
|
|
||||||
employees actively contribute to Packer.
|
|
||||||
</p>
|
|
||||||
<div class="people">
|
|
||||||
<div class="person">
|
|
||||||
<img class="pull-left" src="https://www.gravatar.com/avatar/54079122b67de9677c1f93933ce8b63a.png?s=125">
|
|
||||||
<div class="bio">
|
|
||||||
<h3>Mitchell Hashimoto (<a href="https://github.com/mitchellh">@mitchellh</a>)</h3>
|
|
||||||
<p>
|
|
||||||
Mitchell Hashimoto is the creator of Packer. He developed the
|
|
||||||
core of Packer as well as the Amazon, VirtualBox, and VMware
|
|
||||||
builders. In addition to Packer, Mitchell is the creator of
|
|
||||||
<a href="https://www.vagrantup.com">Vagrant</a>. He is self
|
|
||||||
described as "automation obsessed."
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="person">
|
|
||||||
<img class="pull-left" src="https://www.gravatar.com/avatar/2acc31dd6370a54b18f6755cd0710ce6.png?s=125">
|
|
||||||
<div class="bio">
|
|
||||||
<h3>Jack Pearkes (<a href="https://github.com/pearkes">@pearkes</a>)</h3>
|
|
||||||
<p>
|
|
||||||
<a href="http://jack.ly/">Jack Pearkes</a> created and maintains the DigitalOcean builder
|
|
||||||
for Packer. Outside of Packer, Jack is an avid open source
|
|
||||||
contributor and software consultant.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="person">
|
|
||||||
<img class="pull-left" src="https://www.gravatar.com/avatar/2f7fc9cb7558e3ea48f5a86fa90a78da.png?s=125">
|
|
||||||
<div class="bio">
|
|
||||||
<h3>Mark Peek (<a href="https://github.com/markpeek">@markpeek</a>)</h3>
|
|
||||||
<p>
|
|
||||||
In addition to Packer, Mark Peek helps maintain
|
|
||||||
various open source projects such as
|
|
||||||
<a href="https://github.com/cloudtools">cloudtools</a> and
|
|
||||||
<a href="https://github.com/ironport">IronPort Python libraries</a>.
|
|
||||||
Mark is also a <a href="https://FreeBSD.org">FreeBSD committer</a>.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="person">
|
|
||||||
<img class="pull-left" src="https://www.gravatar.com/avatar/1fca64df3d7db1e2f258a8956d2b0aff.png?s=125">
|
|
||||||
<div class="bio">
|
|
||||||
<h3>Ross Smith II (<a href="https://github.com/rasa" target="_blank" rel="nofollow noopener noreferrer">@rasa</a>)</h3>
|
|
||||||
<p>
|
|
||||||
<a href="http://smithii.com/" target="_blank" rel="nofollow noopener noreferrer">Ross Smith</a> maintains our
|
|
||||||
VMware builder on Windows, and provides other valuable assistance. Ross is an
|
|
||||||
open source enthusiast, published author, and freelance consultant.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="person">
|
|
||||||
<img class="pull-left" src="https://www.gravatar.com/avatar/c9f6bf7b5b865012be5eded656ebed7d.png?s=125">
|
|
||||||
<div class="bio">
|
|
||||||
<h3>Rickard von Essen<br/>(<a href="https://github.com/rickard-von-essen" target="_blank" rel="nofollow noopener noreferrer">@rickard-von-essen</a>)</h3>
|
|
||||||
<p>
|
|
||||||
Rickard von Essen maintains our Parallels Desktop builder. Rickard is an
|
|
||||||
polyglot programmer and consults on Continuous Delivery.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="person">
|
|
||||||
<img class="pull-left" src="https://secure.gravatar.com/avatar/f1695dcf6a21f90f5db84b2eee2cbdbe?s=125">
|
|
||||||
<div class="bio">
|
|
||||||
<h3>Matt Hooker (<a href="https://github.com/mwhooker" target="_blank" rel="nofollow noopener noreferrer">@mwhooker</a>)</h3>
|
|
||||||
<p><a href="https://twitter.com/mwhooker" target="_blank" rel="nofollow
|
|
||||||
noopener noreferrer">Matt</a> maintains Packer for HashiCorp. After
|
|
||||||
picking up Chef for a job, he decided that continually provisioning the
|
|
||||||
same machine was bound for trouble. Luckily Packer had just been created,
|
|
||||||
and was the answer to his prayers. Now he works on it professionally, and
|
|
||||||
couldn't be happier.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="person">
|
|
||||||
<img class="pull-left" src="https://secure.gravatar.com/avatar/858a1ad10ef732e5e309460fb643cc23?s=125">
|
|
||||||
<div class="bio">
|
|
||||||
<h3>Megan Marsh (<a href="https://github.com/swampdragons" target="_blank" rel="nofollow noopener noreferrer">@swampdragons</a>)</h3>
|
|
||||||
<p><a href="https://twitter.com/swampdragons" target="_blank" rel="nofollow
|
|
||||||
noopener noreferrer">Megan</a> maintains Packer for HashiCorp; in her past life she used Packer and Vagrant in her work as a cloud infrastructure developer.
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="clearfix">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
2782
website/wgetlog
2782
website/wgetlog
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue