Skip to content

Commit

Permalink
ci: update python version from 3.6 to 3.8 (#5849)
Browse files Browse the repository at this point in the history
  • Loading branch information
camilamacedo86 authored Jun 9, 2022
1 parent 4b21c47 commit 782492b
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-manual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
# Build the ansible-operator-base image.
ansible-operator-base:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
environment: deploy
steps:

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
check_docs_only:
name: check_docs_only
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
outputs:
skip: ${{ steps.check_docs_only.outputs.skip }}
steps:
Expand All @@ -34,7 +34,7 @@ jobs:
needs: check_docs_only
# Run this job on a tag like 'vX.Y.Z' or on a branch or pull request with code changes.
if: startsWith(github.ref, 'refs/tags/v') || ( needs.check_docs_only.outputs.skip != 'true' && !startsWith(github.ref, 'refs/tags/') )
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
environment: deploy
steps:
- name: checkout
Expand Down Expand Up @@ -68,7 +68,7 @@ jobs:
needs: check_docs_only
# Run this job on a tag like 'vX.Y.Z' or on a branch or pull request with code changes.
if: startsWith(github.ref, 'refs/tags/v') || ( needs.check_docs_only.outputs.skip != 'true' && !startsWith(github.ref, 'refs/tags/') )
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
environment: deploy
strategy:
matrix:
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:
needs: check_docs_only
# Run this job on a tag like 'scorecard-kuttl/vX.Y.Z' or on a branch or pull request with code changes.
if: startsWith(github.ref, 'refs/tags/scorecard-kuttl/v') || ( needs.check_docs_only.outputs.skip != 'true' && !startsWith(github.ref, 'refs/tags/') )
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
environment: deploy
steps:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/freshen-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:

jobs:
git_tags:
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
outputs:
git_tags: ${{ steps.tags.outputs.git_tags }}
steps:
Expand All @@ -27,7 +27,7 @@ jobs:
build:
name: build
needs: git_tags
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
environment: deploy
strategy:
matrix:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
jobs:
check_docs_only:
name: check_docs_only
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
outputs:
skip: ${{ steps.check_docs_only.outputs.skip }}
steps:
Expand All @@ -22,7 +22,7 @@ jobs:
integration:
name: integration
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
needs: check_docs_only
if: needs.check_docs_only.outputs.skip != 'true'
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rerun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
rerun_tests:
name: rerun_pr_tests
if: ${{ github.event.issue.pull_request }}
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: estroz/[email protected]
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-ansible.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
jobs:
check_docs_only:
name: check_docs_only
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
outputs:
skip: ${{ steps.check_docs_only.outputs.skip }}
steps:
Expand All @@ -22,7 +22,7 @@ jobs:
e2e:
name: e2e
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
needs: check_docs_only
if: needs.check_docs_only.outputs.skip != 'true'
steps:
Expand All @@ -37,7 +37,7 @@ jobs:

e2e-molecule:
name: e2e-molecule
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
needs: check_docs_only
if: needs.check_docs_only.outputs.skip != 'true'
steps:
Expand All @@ -50,7 +50,7 @@ jobs:
- run: sudo rm -rf /usr/local/bin/kustomize
- run: |
env
export PATH=/opt/python/3.6.7/bin:${PATH}
export PATH=/opt/python/3.8.12/bin:${PATH}
sudo apt-get install python3 python3-pip
sudo pip3 install --upgrade setuptools pip
sudo pip3 install ansible~=2.9.13
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
jobs:
check_docs_only:
name: check_docs_only
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
outputs:
skip: ${{ steps.check_docs_only.outputs.skip }}
steps:
Expand All @@ -22,7 +22,7 @@ jobs:
e2e:
name: e2e
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
needs: check_docs_only
if: needs.check_docs_only.outputs.skip != 'true'
steps:
Expand All @@ -37,7 +37,7 @@ jobs:

unit:
name: unit
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
needs: check_docs_only
if: needs.check_docs_only.outputs.skip != 'true'
steps:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
jobs:
check_docs_only:
name: check_docs_only
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
outputs:
skip: ${{ steps.check_docs_only.outputs.skip }}
steps:
Expand All @@ -22,7 +22,7 @@ jobs:
e2e:
name: e2e
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
needs: check_docs_only
if: needs.check_docs_only.outputs.skip != 'true'
steps:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-sanity.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
jobs:
check_docs_only:
name: check_docs_only
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
outputs:
skip: ${{ steps.check_docs_only.outputs.skip }}
steps:
Expand All @@ -22,7 +22,7 @@ jobs:
sanity:
name: sanity
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
needs: check_docs_only
if: needs.check_docs_only.outputs.skip != 'true'
steps:
Expand All @@ -38,7 +38,7 @@ jobs:

docs:
name: docs
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
Expand Down

0 comments on commit 782492b

Please sign in to comment.