aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows (follow)
Commit message (Collapse)AuthorAgeLines
* Bump azure/k8s-deploy from 4 to 5 (#2965)Gravatar dependabot[bot]2024-03-21-1/+1
| | | | | | | | | | | | | | | | Bumps [azure/k8s-deploy](https://github.com/azure/k8s-deploy) from 4 to 5. - [Release notes](https://github.com/azure/k8s-deploy/releases) - [Changelog](https://github.com/Azure/k8s-deploy/blob/main/CHANGELOG.md) - [Commits](https://github.com/azure/k8s-deploy/compare/v4...v5) --- updated-dependencies: - dependency-name: azure/k8s-deploy dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump azure/setup-kubectl from 3 to 4 (#2956)Gravatar dependabot[bot]2024-03-13-1/+1
| | | | | | | | | | | | | | | | Bumps [azure/setup-kubectl](https://github.com/azure/setup-kubectl) from 3 to 4. - [Release notes](https://github.com/azure/setup-kubectl/releases) - [Changelog](https://github.com/Azure/setup-kubectl/blob/main/CHANGELOG.md) - [Commits](https://github.com/azure/setup-kubectl/compare/v3...v4) --- updated-dependencies: - dependency-name: azure/setup-kubectl dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump azure/k8s-set-context from 3 to 4 (#2952)Gravatar dependabot[bot]2024-03-11-1/+1
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* download pull request artifact with curlGravatar shtlrs2023-12-18-1/+1
|
* Bump actions/upload-artifact from 3 to 4 (#2850)Gravatar dependabot[bot]2023-12-15-1/+1
| | | | Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Change deprecated ruff output format flag (#2771)Gravatar jchristgit2023-09-27-1/+1
| | | See python-discord/infra#148.
* Update deployment CI to pull manifest from infra repo (#2763)Gravatar ChrisJL2023-09-19-2/+3
|
* Bump docker/setup-buildx-action from 2 to 3 (#2751)Gravatar dependabot[bot]2023-09-12-1/+1
| | | | | | | | | | | | | | | Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump docker/login-action from 2 to 3 (#2752)Gravatar dependabot[bot]2023-09-12-1/+1
| | | | | | | | | | | | | | | Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/v2...v3) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump docker/build-push-action from 4 to 5 (#2753)Gravatar dependabot[bot]2023-09-12-1/+1
| | | | | | | | | | | | | | | Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 5. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v4...v5) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump HassanAbouelela/actions from setup-python_v1.4.1 to 1.4.2 (#2744)Gravatar dependabot[bot]2023-09-06-1/+1
| | | | | | | | | | | | | | Bumps [HassanAbouelela/actions](https://github.com/hassanabouelela/actions) from setup-python_v1.4.1 to 1.4.2. This release includes the previously tagged commit. - [Release notes](https://github.com/hassanabouelela/actions/releases) - [Commits](https://github.com/hassanabouelela/actions/compare/setup-python_v1.4.1...setup-python_v1.4.2) --- updated-dependencies: - dependency-name: HassanAbouelela/actions dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump actions/checkout from 3 to 4Gravatar dependabot[bot]2023-09-04-4/+4
| | | | | | | | | | | | | | | Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
* Remove call to the fixup reusable workflow (#2731)Gravatar Amrou Bellalouna2023-08-24-6/+0
|
* run fixup blocker when git ref isn't mainGravatar shtlrs2023-08-12-3/+5
| | | | This also makes the lint-test workflow a dependency since as we'd want to run linting on all fixup commits still
* use the organisation's fixup commit blocker workflowGravatar shtlrs2023-08-12-0/+4
|
* Bump HassanAbouelela/actions from setup-python_v1.4.0 to 1.4.1Gravatar dependabot[bot]2023-06-26-1/+1
| | | | | | | | | | | | | Bumps [HassanAbouelela/actions](https://github.com/hassanabouelela/actions) from setup-python_v1.4.0 to 1.4.1. This release includes the previously tagged commit. - [Release notes](https://github.com/hassanabouelela/actions/releases) - [Commits](https://github.com/hassanabouelela/actions/compare/setup-python_v1.4.0...setup-python_v1.4.1) --- updated-dependencies: - dependency-name: HassanAbouelela/actions dependency-type: direct:production ... Signed-off-by: dependabot[bot] <[email protected]>
* Drop IS_MAIN_REFGravatar shtlrs2023-05-24-6/+2
|
* use main ref as predicateGravatar shtlrs2023-05-24-1/+1
|
* build docker image in all PRsGravatar shtlrs2023-05-24-2/+6
| | | | | | This will always trigger the build-deploy workflow The image will only be pushed & deployed if we're in main.
* Replace CI flake8 config with ruffGravatar Chris Lovering2023-04-11-16/+4
|
* Upgrade to Python 3.11 in CI & DockerfileGravatar shtlrs2023-03-29-1/+1
|
* Allow The Unlicense (Unlicense) in pip-licensesGravatar Chris Lovering2023-03-07-1/+2
|
* Bump SebastiaanZ/github-status-embed-for-discord from 0.2.1 to 0.3.0 (#2448)Gravatar dependabot[bot]2023-03-07-1/+1
| | | | | | | | | | | | | | | Bumps [SebastiaanZ/github-status-embed-for-discord](https://github.com/SebastiaanZ/github-status-embed-for-discord) from 0.2.1 to 0.3.0. - [Release notes](https://github.com/SebastiaanZ/github-status-embed-for-discord/releases) - [Commits](https://github.com/SebastiaanZ/github-status-embed-for-discord/compare/v0.2.1...v0.3.0) --- updated-dependencies: - dependency-name: SebastiaanZ/github-status-embed-for-discord dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump actions/upload-artifact from 2 to 3Gravatar dependabot[bot]2023-03-06-1/+1
| | | | | | | | | | | | | | Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
* Bump action versions in CI (#2433)Gravatar ChrisJL2023-03-03-9/+7
|
* Bundle workflows into a "main" CI flow (#2425)Gravatar Amrou Bellalouna2023-03-03-84/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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]>
* 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
* `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
|
* 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
* 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 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.
* master => mainGravatar Joe Banks2021-03-13-5/+5
|
* DevOps team reviews for bot deploymentsGravatar Joe Banks2021-03-09-0/+1
|
* 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
|