diff options
author | eswolinsky3241 <58117461+eswolinsky3241@users.noreply.github.com> | 2022-11-25 22:37:27 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-26 10:37:27 +0700 |
commit | 511971691166b6ba9be476cd872416901ad480c3 (patch) | |
tree | e7085f971effdfe792350d677c589396fb52b68c /.github | |
parent | f39554dbe4a43120c2eb3617486061e2223e83ec (diff) | |
download | rq-511971691166b6ba9be476cd872416901ad480c3.tar.gz |
Persist worker_name after job is finished (#1730)
* Persist worker_name after job is finished
Persisting the worker_name on the job object in Redis would allow for debugging and
analyzing logs from the worker
* Remove redundent job.save() method call
* Remove check for null worker
Now that worker name is persisted after job finishes or fails,
no need to assert that worker name is None
* Change github runner to Ubuntu 20.04
* Change github runner to Ubuntu 20.04
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/codeql.yaml | 2 | ||||
-rw-r--r-- | .github/workflows/dependencies.yml | 2 | ||||
-rw-r--r-- | .github/workflows/docker.yml | 2 | ||||
-rw-r--r-- | .github/workflows/lint.yml | 2 | ||||
-rw-r--r-- | .github/workflows/workflow.yml | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/.github/workflows/codeql.yaml b/.github/workflows/codeql.yaml index 4e33500..07b94a0 100644 --- a/.github/workflows/codeql.yaml +++ b/.github/workflows/codeql.yaml @@ -7,7 +7,7 @@ on: jobs: CodeQL-Build: # CodeQL runs on ubuntu-latest, windows-latest, and macos-latest - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 permissions: # required for all workflows diff --git a/.github/workflows/dependencies.yml b/.github/workflows/dependencies.yml index 5720916..42b0389 100644 --- a/.github/workflows/dependencies.yml +++ b/.github/workflows/dependencies.yml @@ -10,7 +10,7 @@ jobs: build: if: github.repository == 'rq/rq' name: Python${{ matrix.python-version }}/Redis${{ matrix.redis-version }}/redis-py${{ matrix.redis-py-version }} - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: python-version: ["3.6", "3.7", "3.8.3", "3.9", "3.10"] diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index b9123a1..7a9dda6 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -14,7 +14,7 @@ permissions: jobs: push: if: github.repository == 'rq/rq' - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index d236d60..b8721e3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ permissions: jobs: lint: name: Lint - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 7d03da1..7b0a28d 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -12,7 +12,7 @@ permissions: jobs: build: name: Python${{ matrix.python-version }}/Redis${{ matrix.redis-version }}/redis-py${{ matrix.redis-py-version }} - runs-on: ubuntu-latest + runs-on: ubuntu-20.04 strategy: matrix: python-version: ["3.6", "3.7", "3.8.3", "3.9", "3.10"] |