-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding changes to make the build-testcase script print nicer output.
- Loading branch information
Showing
6 changed files
with
44 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,45 @@ | ||
|
||
# Create the testrepo | ||
set -x | ||
./create-repo-testrepo.sh | ||
./add-team-to-repo.sh | ||
./create-webhook.sh | ||
./create-commit-readme.sh | ||
./create-commit-codeowners.sh | ||
./create-commit-python-pip.sh | ||
./create-commit-test-rst.sh | ||
./create-commit-test-ipynb.sh | ||
sleep 2.5 | ||
./create-branch-newbranch.sh | ||
./create-commit-on-new-branch.sh | ||
./create-repo-issue.sh | ||
./create-pull-request.sh | ||
#./create-branch-protected.sh | ||
# set the branch protection rules for main | ||
./set-branch-protection.sh | ||
if [ -z "$1" ] | ||
printf "Creating repo: " | ||
./create-repo-testrepo.sh | jq -r '.name' | ||
./add-team-to-repo.sh | ||
printf "Creating webhook: " | ||
./create-webhook.sh | jq -r '.id' | ||
printf "Creating docs/README: " | ||
./create-commit-readme.sh | jq -r ".content.html_url" | ||
printf "Creating CODEOWNERS: " | ||
./create-commit-codeowners.sh| jq -r ".content.html_url" | ||
printf "Creating requirements.txt: " | ||
./create-commit-python-pip.sh| jq -r ".content.html_url" | ||
sleep 2.5 | ||
printf "Creating new branch: " | ||
./create-branch-newbranch.sh | jq -r '.url' | ||
printf "Creating a commit on the new branch: " | ||
./create-commit-on-new-branch.sh | jq -r ".content.html_url" | ||
printf "Creating an issue: " | ||
./create-repo-issue.sh | jq -r '.html_url' | ||
printf "Creating a pull request: " | ||
./create-pull-request.sh | jq -r '.html_url' | ||
# set the branch protection rules for main | ||
printf "Setting branch protection rules on default branch: " | ||
./set-branch-protection.sh | jq -r '.url' | ||
|
||
./create-release.sh | ||
# Now add an additional file to the pull request: | ||
./create-commit-gitattributes.sh | ||
printf "Creating a release: " | ||
./create-release.sh | jq -r '.url' | ||
printf "Adding a .gitattributes file to new branch: " | ||
./create-commit-gitattributes.sh | jq -r ".content.html_url" | ||
|
||
then | ||
>&2 echo "No optional being run" | ||
else | ||
|
||
# Renderers | ||
./create-commit-test-rst.sh | ||
./create-commit-test-ipynb.sh | ||
./create-commit-mermaid.sh | ||
|
||
# Pride labels | ||
./pride-patch-labels.sh | ||
|
||
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 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