Skip to content

Commit 211c856

Browse files
Try to fix the deployment 24
Signed-off-by: Łukasz Gryglicki <[email protected]>
1 parent 2c8c761 commit 211c856

File tree

3 files changed

+23
-18
lines changed

3 files changed

+23
-18
lines changed

.github/workflows/deploy-dev.yml

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ jobs:
2727
- name: Setup go
2828
uses: actions/setup-go@v5
2929
with:
30-
go-version: '1.23.5'
30+
## go-version: '1.23.5'
31+
go-version: '1.22'
3132

3233
- name: Go Version
3334
run: go version
@@ -40,7 +41,7 @@ jobs:
4041
- name: Setup python
4142
uses: actions/setup-python@v5
4243
with:
43-
python-version: '3.12'
44+
python-version: '3.11'
4445
cache: 'pip'
4546

4647
- name: Configure AWS Credentials
@@ -70,30 +71,32 @@ jobs:
7071
- name: Python Setup
7172
working-directory: cla-backend
7273
run: |
73-
sudo apt install libxml2-dev libxslt-dev
74+
## sudo apt install libxml2-dev libxslt-dev
7475
python -m venv .venv
7576
source .venv/bin/activate
7677
pip install --upgrade pip
77-
pip install lxml --prefer-binary
78-
pip install python-jose
78+
## pip install lxml --prefer-binary
79+
## pip install python-jose
7980
pip install -r requirements.txt
8081
8182
- name: Python Lint
8283
working-directory: cla-backend
8384
run: |
84-
python -m venv .venv
85-
source .venv/bin/activate
86-
pip install pylint
87-
pip install --upgrade wrapt
85+
## python -m venv .venv
86+
## source .venv/bin/activate
87+
## pip install pylint
88+
## pip install --upgrade wrapt
8889
pylint cla/*.py || true
8990
9091
- name: Python Test
9192
working-directory: cla-backend
9293
run: |
9394
python -m venv .venv
9495
source .venv/bin/activate
95-
pip install --upgrade pytest py pytest_clarity six
96-
pytest "cla/tests" -p no:warnings || true
96+
pip install pytest
97+
pytest "cla/tests" -p no:warnings
98+
## pip install --upgrade pytest py pytest_clarity six
99+
## pytest "cla/tests" -p no:warnings || true
97100
env:
98101
PLATFORM_GATEWAY_URL: https://api-gw.dev.platform.linuxfoundation.org
99102
AUTH0_PLATFORM_URL: https://linuxfoundation-dev.auth0.com/oauth/token
@@ -128,9 +131,8 @@ jobs:
128131
- name: Go Lint
129132
working-directory: cla-backend-go
130133
run: |
131-
# LG: commented out as it timeouts
132-
# make lint
133-
echo 'ok'
134+
## make lint
135+
make lint
134136
135137
- name: Setup Deployment
136138
working-directory: cla-backend

cla-backend/requirements.txt

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ Jinja2==3.1.4
2525
jmespath==0.9.4
2626
lazy-object-proxy==1.4.3
2727
Logbook==1.5.3
28-
# lxml==4.9.2
28+
## lxml==4.9.2
29+
lxml==4.9.2
2930
more-itertools==8.0.2
3031
nose2==0.9.1
3132
oauthlib==3.1.0
@@ -43,7 +44,8 @@ pytest==5.0.1
4344
pytest-clarity==0.3.0a0
4445
pytest-cov==2.8.1
4546
python-dateutil==2.8.1
46-
# python-jose==3.0.1
47+
## python-jose==3.0.1
48+
python-jose==3.0.1
4749
requests==2.31.0
4850
requests-oauthlib==1.2.0
4951
rsa==4.7
@@ -52,7 +54,8 @@ sentinels==1.0.0
5254
six==1.13.0
5355
soupsieve==1.9.5
5456
termcolor==1.1.0
55-
# typed-ast==1.4.1
57+
## typed-ast==1.4.1
58+
typed-ast==1.4.1
5659
urllib3==1.26.18
5760
vintage==0.4.1
5861
wcwidth==0.1.7

cla-backend/serverless.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ custom:
101101

102102
provider:
103103
name: aws
104-
runtime: python3.12
104+
runtime: python3.11
105105
stage: ${env:STAGE}
106106
region: us-east-1
107107
timeout: 60 # optional, in seconds, default is 6

0 commit comments

Comments
 (0)