aboutsummaryrefslogtreecommitdiffstats
path: root/.github (follow)
Commit message (Collapse)AuthorAgeLines
...
| * Bundle workflows into a "main" CI flow (#2425)Gravatar Amrou Bellalouna2023-03-03-84/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bundle build & deploy into a single workflow * delete separate build & deploy wokrflows * trigger status embed on the new bundled "Build & Deploy" workflow * Call linting & build-deployment workflows from main * keep one empty line in workflow files * use v4 of k8s deploy * yeet kubectl version * use v3 of k8s-set-context * setup kubectl config using the setup-kubectl v3 action * use v2 of the checkout action * add dependabot config * add new line for dependabot.yml * update path of the sentry_release workflow * update path of the lint-test workflow * specify push branch * update the sentry_release workflow path, again * update sentry_release's trigger to workflow_call * update lint-test's trigger to workflow_call * remove extra line at the end * unify usage of quotes * update concurrency groups of reusable local workflows * appease our dear linter with a blank line * always run status embed * Revert "always run status embed" This reverts commit 2f69fd77b212337ff45bf7815783030bc6099452. * remove colons after workflow_call * remove empty line at the end * Revert "remove empty line at the end" This reverts commit 223bef4159c76f1968878fe312b5fbc16544549b. * echo event name in status embed * try running status embed on bot ci/cd wf * run ci/cd on push to main * reinstate the Lint & Test trigger for status embed * rename main wf name to "CI" This also triggers status embed on that name * add group-workflows to the list of branches * remove test step * trigger status embed on ci only * trigger main on main branch only * remove concurrency groups in lint-test & sentry-release workflows
| * Add CI to the list of trigger workflow runs (#2426)Gravatar Amrou Bellalouna2023-03-03-0/+1
| | | | | | Co-authored-by: ChrisJL <[email protected]>
* | Merge branch 'main' into new-filtersGravatar mbaruh2023-02-28-1/+0
|\|
| * Revert "Merge PR #2400: Reusable status embed workflow"Gravatar Amrou Bellalouna2023-02-14-59/+63
| | | | | | | | This reverts commit 2f8efdc646492707f6a9647fcbc4d71678181b90.
| * Merge PR #2400: Reusable status embed workflowGravatar Amrou Bellalouna2023-02-14-63/+59
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * make status embed reusable * invoke status embed from lint-test * trigger status embed from within deploy workflow * trigger status embed from build wf * update extension of referenced reusable workflow * add github.sha to construct the concurrency group * always call the status_embed from build & deploy
| * Update CODEOWNERSGravatar Chris Lovering2022-11-26-1/+0
| |
* | Change CODEOWNERSGravatar mbaruh2023-01-20-5/+1
|/
* `REPO_TOKEN` is no more. (#2289)Gravatar Xithrius2022-10-13-1/+0
|
* Use HassanAbouelela/setup-python for CIGravatar Chris Lovering2022-09-11-57/+5
|
* Bump to Python 3.10Gravatar Chris Lovering2022-08-14-1/+1
|
* Update CODEOWNERSGravatar Chris Lovering2022-04-21-2/+0
|
* setuptools use stdlib distutils over embeddedGravatar Chris Lovering2022-01-26-0/+4
| | | | | | This is caused by an upstream issue with setuptools 60.* (via virtualenv) changeing the default to using the setuptools-embedded distutils rather than the stdlib distutils, which breaks within pip's isolated builds. This is explained quite well here https://github.com/pre-commit/pre-commit/issues/2178#issuecomment-1002163763
* Remove myself from the code ownershipGravatar Matteo Bertucci2021-12-10-13/+7
|
* Actions: do not check licenses of dev packagesGravatar Matteo Bertucci2021-10-15-2/+4
|
* Remove coveralls from lint-testGravatar Izan2021-09-20-7/+0
|
* Merge branch 'main' into Add-concurrency-to-all-workflowsGravatar ChrisJL2021-09-04-1/+19
|\
| * Update in accordance with python-discord/kubernetes#95Gravatar Joe Banks2021-09-04-1/+1
| |
| * CI: add ISC License (ISCL) to allowed licensesGravatar Matteo Bertucci2021-08-28-0/+1
| |
| * CI: check for dependency licensesGravatar Matteo Bertucci2021-08-25-0/+17
| | | | | | | | Since our project is licensed under the MIT License, we can't be using any dependencies in our project. This commit adds a step to the CI lint phase that will use pip-licenses to verify that all the installed packages are part of an ALLOWED_LICENSE variable. This variable is currently set to be every license we currently use. We opted to use an allowlist instead of a denylist to make sure that new licenses are reviewed by hand and added to that variable.
* | Add concurrency rules to all GitHub workflowsGravatar Chris Lovering2021-08-30-0/+19
|/ | | | | | | | | | This concurrency rule means that workflow actions will be cancelled if a new set of actions are triggered on the same ref. A ref is either a PR or a branch itself. Doing this means that if someone pushes to a PR multiple times in quick succession, workflows won't get queued up. Instead, only the workflows from the most recent changes will run, as this is all we really care about anyway. I see the benefits of this as twofold. 1. The author gets faster feedback about the most recent change pushed, rather than have to wait for all previous runs to completed 2. Other contributors don't need to wait for a queue of redundant workflows to finish.
* Removes Redundant Line BreakGravatar Hassan Abouelela2021-06-12-2/+1
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Uses .coveragerc FileGravatar Hassan Abouelela2021-06-12-1/+1
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Adds Tests To Coverage SourceGravatar Hassan Abouelela2021-06-07-1/+1
| | | | Signed-off-by: Hassan Abouelela <[email protected]>
* Switches To Pytest As Test RunnerGravatar Hassan Abouelela2021-06-07-4/+1
| | | | | | | | Switches the test runner from unittest to pytest, to allow the usage of plugins such as xdist. This commit also adds pytest-cov purely as a generator for .coverage files. Signed-off-by: Hassan Abouelela <[email protected]>
* Updates Dependency Manager Files In CODEOWNERSGravatar Hassan Abouelela2021-05-11-1/+2
| | | | | | | Updates Pipfile and pipenv lock file to poetry equivalents in CODEOWNERS. Signed-off-by: Hassan Abouelela <[email protected]>
* Updates Usages Of Pipenv To PoetryGravatar Hassan Abouelela2021-05-11-11/+8
| | | | | | | Updates the Dockerfile, pre-commit, CI, and documentation to reflect the new dependency manager. Dockerfile is also updated to 3.9. Signed-off-by: Hassan Abouelela <[email protected]>
* Migrate GHCR_TOKEN -> GITHUB_TOKEN in Docker build actionGravatar ks1292021-04-05-1/+1
| | | GITHUB_TOKEN has now enough permissions to be used for pushing to GHCR, so we don't need PAT anymore.
* Add myself to CODEOWNERS (#1489)Gravatar Joe Banks2021-03-28-9/+9
|
* Added myself to CODEOWNERSGravatar wookie1842021-03-20-0/+1
|
* master => mainGravatar Joe Banks2021-03-13-5/+5
|
* Delete repo specific FUNDING.yml file in favour of org one in ↵Gravatar Joe Banks2021-03-09-2/+0
| | | | python-discord/.github
* DevOps team reviews for bot deploymentsGravatar Joe Banks2021-03-09-0/+1
|
* Update CODEOWNERSGravatar Boris Muratov2021-02-20-1/+5
|
* Fix wrong way for getting Git SHAGravatar ks1292020-12-20-1/+1
|
* Use bot prefix instead pydis-bot for Sentry release workflowGravatar ks1292020-12-20-1/+1
|
* Inject Git SHA in container build workflowGravatar ks1292020-12-20-0/+2
|
* Create workflow for creating Sentry releaseGravatar ks1292020-12-19-0/+24
|
* Add codeowner entries for ks129Gravatar ks1292020-12-16-1/+3
|
* Make sure PR build artifact is always uploadedGravatar Sebastiaan Zeeff2020-12-11-1/+1
| | | | | | | | | | GitHub Actions has an implicit status condition, `success()`, that is added whenever an `if` condition lacks a status function check of its own. In this case, while the upload step did check for the outcome of the previous "always" step, it did not have an actual status check and, thus, only ran on success. Since we always want to upload the artifact, even if other steps failed, I've added the "always" status function now.
* Send a custom workflow status embed to DiscordGravatar Sebastiaan Zeeff2020-12-10-0/+100
| | | | | | | | | | | | | | | | This commit introduces the same custom status embed as is already being used for Sir Lancebot. The default embeds GitHub sends are disabled, as they were causing slight issues with rate limits from time to time. It works like this: - The Lint & Test workflow stores an artifact with PR information, if we are linting/testing a PR. - Whenever we reach the end of a workflow run sequence, a status embed is send with the conclusion status. Signed-off-by: Sebastiaan Zeeff <[email protected]>
* Update CODEOWNERS for @Den4200Gravatar Dennis Pham2020-12-06-8/+5
|
* Create review-policy.ymlGravatar Joe Banks2020-12-06-0/+3
|
* Add myself to CODEOWNERSGravatar Boris Muratov2020-11-28-2/+3
|
* Add myself to CODEOWNERS for CI filesGravatar Sebastiaan Zeeff2020-11-27-1/+1
|
* Add @Akarys42 to the codeownersGravatar Matteo Bertucci2020-11-27-7/+14
|
* Merge pull request #1294 - Help Channel RefactorGravatar Mark2020-11-26-1/+1
|\
| * Update help channels directory for code ownersGravatar MarkKoz2020-11-26-1/+1
| |
* | Update CODEOWNERSGravatar Joe Banks2020-11-26-2/+6
|/
* Add Mark as a code owner of CI and Docker filesGravatar Mark2020-11-24-0/+5
|
* Specify code ownership for MarkGravatar MarkKoz2020-11-24-0/+19
|