Skip to content

refactor: Updated 'upgrade requirements' workflow to use reusable workflows#36

Merged
Jawayria merged 2 commits intomasterfrom
jenkins/reusable-workflow-ee7f990
Dec 9, 2021
Merged

refactor: Updated 'upgrade requirements' workflow to use reusable workflows#36
Jawayria merged 2 commits intomasterfrom
jenkins/reusable-workflow-ee7f990

Conversation

@edx-requirements-bot
Copy link
Copy Markdown
Contributor

Additional information from script execution

Python code cleanup by the cleanup-python-code Jenkins job.

This pull request was generated by the cleanup-python-code Jenkins job, which ran
cd .github/workflows;  TEAM_REVIEWERS=$(grep 'team-reviewers=' upgrade-python-requirements.yml -m 1 | awk '{print $2}'); TEAM_REVIEWERS=${TEAM_REVIEWERS/--team-reviewers=/}; SCHEDULE=$(grep 'cron:' upgrade-python-requirements.yml -m 1 | sed 's/^.*: //');   EMAIL_TO=$(grep 'to:' upgrade-python-requirements.yml -m 1 | sed 's/^.*: //'); [ -z $(grep 'Send success notification' upgrade-python-requirements.yml) ] && SEND_SUCCESS_NOTIFICATION=$(echo false) || SEND_SUCCESS_NOTIFICATION=$(echo true); : > upgrade-python-requirements.yml;printf "name: Upgrade Requirements\n\non:\n  schedule:\n     - cron: ${SCHEDULE}\n  workflow_dispatch:\n     inputs:\n       branch:\n         description: 'Target branch to create requirements PR against'\n         required: true\n         default: \$default-branch\njobs:\n   call-upgrade-python-requirements-workflow:\n    with:\n       branch: \${{ github.event.inputs.branch }}\n       team_reviewers: ${TEAM_REVIEWERS}\n       email_address: ${EMAIL_TO}\n       send_success_notification: ${SEND_SUCCESS_NOTIFICATION}\n    secrets:\n       requirements_bot_github_token: \${{ secrets.REQUIREMENTS_BOT_GITHUB_TOKEN }}\n       requirements_bot_github_email: \${{ secrets.REQUIREMENTS_BOT_GITHUB_EMAIL }}\n       edx_smtp_username: \${{ secrets.EDX_SMTP_USERNAME }}\n       edx_smtp_password: \${{ secrets.EDX_SMTP_PASSWORD }}\n    uses: edx/.github/.github/workflows/upgrade-python-requirements.yml@master\n" >> upgrade-python-requirements.yml;

The following packages were installed:
``

Deleted obsolete pull_requests:
#35

@codecov
Copy link
Copy Markdown

codecov bot commented Nov 18, 2021

Codecov Report

Merging #36 (9c14b70) into master (ee7f990) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##            master       #36   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines           95        95           
  Branches        12        12           
=========================================
  Hits            95        95           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.


Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ee7f990...9c14b70. Read the comment docs.

@Jawayria Jawayria marked this pull request as ready for review December 9, 2021 13:34
@Jawayria Jawayria merged commit a5807d0 into master Dec 9, 2021
@Jawayria Jawayria deleted the jenkins/reusable-workflow-ee7f990 branch December 9, 2021 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants