Skip to content

Commit

Permalink
fix: Update Kubernetes (#1714)
Browse files Browse the repository at this point in the history
* fix: Update Kubernetes

* Update ubuntu version

* Downgrade importlib-metadata
  • Loading branch information
faucomte97 committed Oct 18, 2022
1 parent 67d5a1c commit 9748c02
Show file tree
Hide file tree
Showing 6 changed files with 146 additions and 217 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Expand Up @@ -6,7 +6,7 @@ on:
jobs:
test:
name: Run JS/Python/Cypress tests
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -62,7 +62,7 @@ jobs:

test-aimmo-game:
name: Test aimmo-game
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -84,7 +84,7 @@ jobs:

test-aimmo-game-creator:
name: Test aimmo-game-creator
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -106,7 +106,7 @@ jobs:

test-aimmo-game-worker:
name: Test aimmo-game-worker
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-docker-images.yml
Expand Up @@ -7,7 +7,7 @@ jobs:
publish-docker-images:
name: Publish aimmo Docker images
if: github.event.head_commit.author.email == 'action@github.com'
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:
trigger-staging-deployment:
name: Trigger staging deployment
needs: [publish-docker-images]
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
steps:
- name: Trigger staging deployment
uses: actions/github-script@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-python-package.yml
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
publish-pypi-package:
name: Publish PyPi Package
runs-on: ubuntu-18.04
runs-on: ubuntu-20.04
env:
NODE_ENV: production
steps:
Expand Down
3 changes: 2 additions & 1 deletion Pipfile
Expand Up @@ -14,11 +14,12 @@ django-test-migrations = "==1.2.0"

[packages]
aimmo = {editable = true,path = "."}
kubernetes = "==21.7.0"
kubernetes = "==24.2.0"
eventlet = "*"
docker = "<6"
wheel = "*"
oauthlib = "==3.2.0"
importlib-metadata = "<5" # Using version 5 causes an issue when trying to run pytest. Not sure why, linked to: https://stackoverflow.com/questions/73929564/entrypoints-object-has-no-attribute-get-digital-ocean

[requires]
python_version = "3.7"
Expand Down

0 comments on commit 9748c02

Please sign in to comment.