-
Notifications
You must be signed in to change notification settings - Fork 38
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 #70 from open-craft/agrendalath/maintenance
refactor: repo maintenance
- Loading branch information
Showing
20 changed files
with
408 additions
and
279 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 |
---|---|---|
@@ -1,33 +1,30 @@ | ||
name: pypi-publish | ||
name: Publish package to PyPI | ||
|
||
on: | ||
release: | ||
types: [published] | ||
|
||
jobs: | ||
publish-package: | ||
push: | ||
runs-on: ubuntu-20.04 | ||
|
||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
- name: setup python | ||
uses: actions/setup-python@v3 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.8 | ||
|
||
- name: Install pip | ||
run: pip install pip | ||
|
||
- name: Install Dependencies | ||
run: pip install setuptools wheel | ||
run: pip install -r requirements/pip.txt | ||
|
||
- name: Build package | ||
run: python setup.py sdist bdist_wheel | ||
|
||
- name: Publish to PyPi | ||
uses: pypa/gh-action-pypi-publish@master | ||
uses: pypa/gh-action-pypi-publish@release/v1 | ||
with: | ||
user: __token__ | ||
password: ${{ secrets.PYPI_UPLOAD_TOKEN }} |
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,29 @@ | ||
name: Upgrade Python Requirements | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * 1" | ||
workflow_dispatch: | ||
inputs: | ||
branch: | ||
description: Target branch against which to create requirements PR | ||
required: true | ||
default: master | ||
|
||
jobs: | ||
call-upgrade-python-requirements-workflow: | ||
uses: openedx/.github/.github/workflows/upgrade-python-requirements.yml@master | ||
# Do not run on forks | ||
if: github.repository_owner == 'openedx' | ||
with: | ||
branch: ${{ github.event.inputs.branch || 'master' }} | ||
# optional parameters below; fill in if you'd like github or email notifications | ||
# user_reviewers: "" | ||
# team_reviewers: "" | ||
# email_address: "" | ||
# send_success_notification: false | ||
secrets: | ||
requirements_bot_github_token: ${{ secrets.REQUIREMENTS_BOT_GITHUB_TOKEN }} | ||
requirements_bot_github_email: ${{ secrets.REQUIREMENTS_BOT_GITHUB_EMAIL }} | ||
edx_smtp_username: ${{ secrets.EDX_SMTP_USERNAME }} | ||
edx_smtp_password: ${{ secrets.EDX_SMTP_PASSWORD }} |
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,4 @@ | ||
include LICENSE | ||
include README.rst | ||
include requirements/base.in | ||
include requirements/constraints.txt |
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,30 @@ | ||
# This file records information about this repo. Its use is described in OEP-55: | ||
# https://open-edx-proposals.readthedocs.io/en/latest/processes/oep-0055-proc-project-maintainers.html | ||
|
||
apiVersion: backstage.io/v1alpha1 | ||
# (Required) Acceptable Values: Component, Resource, System | ||
# A repo will almost certainly be a Component. | ||
kind: Component | ||
metadata: | ||
name: xblock-google-drive | ||
description: This XBlock allows embedding documents and calendar. | ||
annotations: | ||
# (Optional) Annotation keys and values can be whatever you want. | ||
# We use it in Open edX repos to have a comma-separated list of GitHub user | ||
# names that might be interested in changes to the architecture of this | ||
# component. | ||
openedx.org/component-type: XBlock | ||
openedx.org/arch-interest-groups: '' | ||
spec: | ||
|
||
# (Required) This can be a group (`group:<github_group_name>`) or a user (`user:<github_username>`). | ||
# Don't forget the "user:" or "group:" prefix. Groups must be GitHub team | ||
# names in the openedx GitHub organization: https://github.com/orgs/openedx/teams | ||
|
||
owner: user:Agrendalath | ||
|
||
# (Required) Acceptable Type Values: service, website, library | ||
type: library | ||
|
||
# (Required) Acceptable Lifecycle Values: experimental, production, deprecated | ||
lifecycle: production |
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
Oops, something went wrong.