Skip to content

Commit 2c2b595

Browse files
coreycaverlykaosx5szejunintuitzliu3
authored andcommitted
Updating workflow for python publish pipeline (argoproj-labs#58)
* Allow path define on get files (argoproj-labs#42) * Add support for setting a path on get_files Signed-off-by: kaosx5s <jeremy.xfives@gmail.com> * fix repo test after target change in 3.6.0 Signed-off-by: kaosx5s <> --------- Signed-off-by: kaosx5s <jeremy.xfives@gmail.com> Signed-off-by: kaosx5s <> Co-authored-by: kaosx5s <> Signed-off-by: Corey Caverly <corey.caverly@autodesk.com> * Removed transient line (argoproj-labs#50) Signed-off-by: Corey Caverly <corey.caverly@autodesk.com> * Revving version for release (argoproj-labs#51) Signed-off-by: Corey Caverly <corey.caverly@autodesk.com> Co-authored-by: Corey Caverly <corey.caverly@autodesk.com> Signed-off-by: Corey Caverly <corey.caverly@autodesk.com> * Update docker-publish.yml (argoproj-labs#52) * Update docker-publish.yml Removing Dockerhub and just doing ghcr Signed-off-by: Corey Caverly <corey.caverly@autodesk.com> * Revving for release Signed-off-by: Corey Caverly <corey.caverly@autodesk.com> * Decided to remove and not just comment out Signed-off-by: Corey Caverly <corey.caverly@autodesk.com> --------- Signed-off-by: Corey Caverly <corey.caverly@autodesk.com> * retry on timeout (argoproj-labs#54) * retry on timeout Signed-off-by: zliu3 <zejun_liu@intuit.com> * add unit test and throw exception on timeout Signed-off-by: zliu3 <zejun_liu@intuit.com> * update README.md Signed-off-by: zliu3 <zejun_liu@intuit.com> * add test to make sure retry on exception, add a good case Signed-off-by: zliu3 <zejun_liu@intuit.com> --------- Signed-off-by: zliu3 <zejun_liu@intuit.com> Co-authored-by: zliu3 <zejun_liu@intuit.com> Signed-off-by: Corey Caverly <corey.caverly@autodesk.com> * feat: drop support for older python versions, support up to 2.6.1 for pygithub (argoproj-labs#56) * fix: drop support for outdated python * fix: update pygithub to support 2.2.0 or higher * fix: update tests for newer pytest * fix: check pygithub 2.4.0 support * fix: check pygithub 2.6.1 support * fix: set lazy to be false by default for backwards compatibility * fix: remove completed param for pygithub 2.6.0 support * fix: add required requester for pygithub 2.6.0 support * fix: fix param typo * fix: make requester a magicmock * fix: update tests for new lazy param * fix: update lazy from str to bool Signed-off-by: Corey Caverly <corey.caverly@autodesk.com> * revving for release Signed-off-by: Corey Caverly <corey.caverly@autodesk.com> * Revving python version for publish Signed-off-by: Corey Caverly <corey.caverly@autodesk.com> * Updating readme to reflect new location of docker images Signed-off-by: Corey Caverly <corey.caverly@autodesk.com> * Revving for new release Signed-off-by: Corey Caverly <corey.caverly@autodesk.com> --------- Signed-off-by: kaosx5s <jeremy.xfives@gmail.com> Signed-off-by: kaosx5s <> Signed-off-by: Corey Caverly <corey.caverly@autodesk.com> Signed-off-by: zliu3 <zejun_liu@intuit.com> Co-authored-by: Jeremy <1028480+kaosx5s@users.noreply.github.com> Co-authored-by: zejunintuit <zejunliuajk@gmail.com> Co-authored-by: zliu3 <zejun_liu@intuit.com>
1 parent 5440069 commit 2c2b595

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Python ${{ matrix.python-version }}
1414
uses: actions/setup-python@v1
1515
with:
16-
python-version: 3.7
16+
python-version: 3.11
1717
- name: Install dependencies
1818
run: |
1919
python3 -m pip install --user --upgrade setuptools wheel

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Gordian
1010
[![Latest PyPi Version](https://badge.fury.io/py/gordian.svg)](https://pypi.python.org/pypi/gordian/)
1111
[![codecov](https://codecov.io/gh/argoproj-labs/gordian/branch/master/graph/badge.svg)](https://codecov.io/gh/argoproj-labs/gordian/)
1212
[![Python Build Status](https://github.com/argoproj-labs/gordian/workflows/Python%20package/badge.svg)](https://github.com/argoproj-labs/gordian/actions?query=workflow%3A%22Python+package%22)
13-
[![Docker Build Status](https://img.shields.io/docker/cloud/build/argoprojlabs/gordian.svg)](https://hub.docker.com/repository/docker/argoprojlabs/gordian)
13+
[![Publish Docker image](https://github.com/argoproj-labs/gordian/actions/workflows/docker-publish.yml/badge.svg)](https://github.com/argoproj-labs/gordian/actions/workflows/docker-publish.yml)
1414

1515
Gordian applies transformations to files in github repositories and create PRs for the owners of the repositories to review and merge them.
1616

@@ -77,7 +77,7 @@ using a new origin branch `update_k8s_apiversion` by updating all files that con
7777
The new PR will have the labels `k8s.1.16` and `support` assigned to it and the `minor` version will be bumped.
7878

7979
```bash
80-
docker run --rm -it argoprojlabs/gordian:latest -b "update_k8s_apiversion" --pr "update_k8s_apiversion" -s "apiVersion: apps/v1beta2" -r "apiVersion: apps/v1" -l k8s.1.16 -v -m
80+
docker run --rm -it ghcr.io/argoproj-labs/gordian:latest -b "update_k8s_apiversion" --pr "update_k8s_apiversion" -s "apiVersion: apps/v1beta2" -r "apiVersion: apps/v1" -l k8s.1.16 -v -m
8181
```
8282

8383
## Complex transformations

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
setup_reqs = ["pytest", "pytest-cov", "pytest-runner", "flake8"]
77
setuptools.setup(
88
name="gordian",
9-
version="3.8.0",
9+
version="3.8.1",
1010
author="Intuit",
1111
author_email="cg-sre@intuit.com",
1212
description="A tool to search and replace files in a Git repo",

0 commit comments

Comments
 (0)