Skip to content

Commit efb000f

Browse files
committed
fix: docker compose alignments for the next release/build
1 parent 4ec113a commit efb000f

File tree

2 files changed

+10
-20
lines changed

2 files changed

+10
-20
lines changed

.github/workflows/python-app.yml

+3-13
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,11 @@ jobs:
3030
python-version: ${{ matrix.python-version }}
3131
- name: Install Python dependencies
3232
run: |
33-
pip install --upgrade pip
34-
pip install flake8 pipx poetry
35-
pip install --upgrade packaging
36-
poetry install
37-
source $(poetry env info | grep -m1 Path | awk -F" " {'print $2'})/bin/activate
38-
pip install "spid-sp-test>=1.2.17"
33+
pip install spid-sp-test>=1.2.17
34+
pip install flake8
3935
- name: Ispect Python dependencies
4036
run: |
41-
poetry show --tree
37+
pip list
4238
- name: Lint with flake8
4339
run: |
4440
## stop the build if there are Python syntax errors or undefined names
@@ -69,19 +65,13 @@ jobs:
6965
- name: spid-sp-test SPID metadata, requests and responses
7066
run: |
7167
cd Docker-compose/satosa-project
72-
source $(poetry env info | grep -m1 Path | awk -F" " {'print $2'})/bin/activate
73-
export PATH=$PATH:$(poetry env info | grep -m1 Path | awk -F" " {'print $2'})/bin
7468
spid_sp_test --idp-metadata > metadata/idp/spid-sp-test.xml
7569
spid_sp_test --metadata-url https://localhost/spidSaml2/metadata --authn-url "http://localhost:8000/saml2/login/?idp=https://localhost/Saml2IDP/metadata&next=/saml2/echo_attributes&idphint=https%253A%252F%252Flocalhost%253A8443" -ap spid_sp_test.plugins.authn_request.SatosaSaml2Spid --extra --debug ERROR -tr
7670
- name: spid-sp-test CIE id metadata
7771
run: |
7872
cd Docker-compose/satosa-project
79-
source $(poetry env info | grep -m1 Path | awk -F" " {'print $2'})/bin/activate
80-
export PATH=$PATH:$(poetry env info | grep -m1 Path | awk -F" " {'print $2'})/bin
8173
spid_sp_test --profile cie-sp-public --metadata-url https://localhost/cieSaml2/metadata
8274
- name: spid-sp-test eIDAS FiCEP metadata
8375
run: |
8476
cd Docker-compose/satosa-project
85-
source $(poetry env info | grep -m1 Path | awk -F" " {'print $2'})/bin/activate
86-
export PATH=$PATH:$(poetry env info | grep -m1 Path | awk -F" " {'print $2'})/bin
8777
spid_sp_test --profile ficep-eidas-sp --metadata-url https://localhost/spidSaml2/metadata

Docker-compose/docker-compose.yml

+7-7
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ services:
6161
- iam-proxy-italia
6262

6363
iam-proxy-italia:
64-
#image: ghcr.io/italia/iam-proxy-italia:latest
65-
#image: iam-proxy-italia:latest
66-
build:
67-
context: ../
68-
args:
69-
- NODE_ENV=local
70-
dockerfile: Dockerfile
64+
image: ghcr.io/italia/iam-proxy-italia:latest
65+
# image: iam-proxy-italia:latest
66+
# build:
67+
# context: ../
68+
# args:
69+
# - NODE_ENV=local
70+
# dockerfile: Dockerfile
7171
container_name: iam-proxy-italia
7272
# depends_on:
7373
# - satosa-mongo

0 commit comments

Comments
 (0)