-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #412 from usagov/stage
Prod Push for Aug 11 2022
- Loading branch information
Showing
74 changed files
with
1,848 additions
and
101 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
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,31 @@ | ||
#!/bin/bash | ||
|
||
COMMIT_A=${1:-stage} | ||
COMMIT_B=${2:-prod} | ||
|
||
if ! git cat-file -t $COMMIT_A > /dev/null; then | ||
echo "Commit '$COMMIT_A' not found in this repo" | ||
exit 1 | ||
fi | ||
if ! git cat-file -t $COMMIT_B > /dev/null; then | ||
echo "Commit '$COMMIT_B' not found in this repo" | ||
exit 1 | ||
fi | ||
|
||
# reorder the inputs by commit time | ||
COMMIT_SORT=$(git show -s --format="%ct %S" $COMMIT_B $COMMIT_A | sort -n | awk '{print $2}') | ||
NEWEST=$(echo "$COMMIT_SORT" | head -n 1) | ||
OLDEST=$(echo "$COMMIT_SORT" | tail -n 1) | ||
|
||
if [ "$NEWEST" == "$OLDEST" ]; then | ||
echo "Commits are the same $NEWEST..$OLDEST" | ||
exit 0 | ||
fi | ||
|
||
echo "Tickets between $NEWEST <-> $OLDEST" | ||
echo | ||
|
||
# the name of the repo shows up as a ticket so we have to explicitly ignore it | ||
# branch names have been sloppy so accept anything from "Usa 123" to "usa_123" to "USAGOV-123" | ||
# be careful because [-_ ] has a space and a tab inside of the brackets | ||
git log ${NEWEST}..${OLDEST} | grep -Eio 'usa(gov)?[-_ ]([0-9]+)' | sed -E 's/usa(gov)?[-_ ]([0-9]+)/USAGOV-\2/ig' | grep -iv usagov-2021 | sort -u |
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 |
---|---|---|
@@ -1,11 +1,9 @@ | ||
*.google.com | ||
*.drupal.org | ||
*.npmjs.com | ||
*.newrelic.com | ||
*.packagist.org | ||
*.github.com | ||
*.amazonaws.com | ||
*.s3.amazonaws.com | ||
secureauth.gsa.gov | ||
*.docker.io | ||
*.docker.com | ||
docker.io | ||
docker.com | ||
*.newrelic.com | ||
newrelic.com | ||
*.app.cloud.gov | ||
*.apps.internal |
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
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
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
22 changes: 22 additions & 0 deletions
22
config/sync/core.base_field_override.node.state_directory_record.promote.yml
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 @@ | ||
uuid: fec2315e-00a5-475b-98a7-f112199f2abe | ||
langcode: en | ||
status: true | ||
dependencies: | ||
config: | ||
- node.type.state_directory_record | ||
id: node.state_directory_record.promote | ||
field_name: promote | ||
entity_type: node | ||
bundle: state_directory_record | ||
label: 'Promoted to front page' | ||
description: '' | ||
required: false | ||
translatable: true | ||
default_value: | ||
- | ||
value: 0 | ||
default_value_callback: '' | ||
settings: | ||
on_label: 'On' | ||
off_label: 'Off' | ||
field_type: boolean |
Oops, something went wrong.