-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[noissue]
- Loading branch information
Showing
6 changed files
with
11 additions
and
56 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 +1 @@ | ||
2021.08.26-259-ge0f38f0 | ||
2021.08.26-265-g9f471b4 |
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
21 changes: 4 additions & 17 deletions
21
.github/workflows/scripts/push_branch_and_tag_to_github.sh
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,21 +1,8 @@ | ||
#!/bin/sh | ||
set -e | ||
set -eu | ||
|
||
BRANCH_NAME=$(echo $GITHUB_REF | sed -rn 's/refs\/heads\/(.*)/\1/p') | ||
BRANCH_NAME="$(echo "$GITHUB_REF" | sed -rn 's/refs\/heads\/(.*)/\1/p')" | ||
|
||
ref_string=$(git show-ref --tags | grep refs/tags/$1) | ||
remote_repo="https://{{ release_user }}:${RELEASE_TOKEN}@github.com/${GITHUB_REPOSITORY}.git" | ||
|
||
SHA=${ref_string:0:40} | ||
|
||
remote_repo=https://pulpbot:${RELEASE_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | ||
|
||
git push "${remote_repo}" $BRANCH_NAME | ||
|
||
curl -s -X POST https://api.github.com/repos/$GITHUB_REPOSITORY/git/refs \ | ||
-H "Authorization: token $RELEASE_TOKEN" \ | ||
-d @- << EOF | ||
{ | ||
"ref": "refs/tags/$1", | ||
"sha": "$SHA" | ||
} | ||
EOF | ||
git push "${remote_repo}" "$BRANCH_NAME" "$1" |
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
# This config represents the latest values used when running the plugin-template. Any settings that | ||
# were not present before running plugin-template have been added with their default values. | ||
|
||
# generated with [email protected]249-gca8f021 | ||
# generated with [email protected]265-g9f471b4 | ||
|
||
additional_repos: [] | ||
api_root: /pulp/ | ||
|
@@ -37,15 +37,8 @@ lint_requirements: true | |
noissue_marker: '[noissue]' | ||
parallel_test_workers: 8 | ||
plugin_app_label: gem | ||
plugin_camel: PulpGem | ||
plugin_camel_short: Gem | ||
plugin_caps: PULP_GEM | ||
plugin_caps_short: GEM | ||
plugin_dash: pulp-gem | ||
plugin_dash_short: gem | ||
plugin_default_branch: main | ||
plugin_name: pulp_gem | ||
plugin_snake: pulp_gem | ||
post_job_template: null | ||
pre_job_template: null | ||
publish_docs_to_pulpprojectdotorg: true | ||
|
@@ -71,7 +64,6 @@ pypi_username: None | |
python_version: '3.8' | ||
release_email: [email protected] | ||
release_user: pulpbot | ||
run_pulpcore_tests_for_plugins: false | ||
single_commit_check: true | ||
stalebot: true | ||
stalebot_days_until_close: 30 | ||
|
@@ -86,6 +78,5 @@ test_lowerbounds: true | |
test_performance: false | ||
test_reroute: true | ||
test_s3: true | ||
update_github: true | ||
use_issue_template: true | ||
|