@@ -20,11 +20,16 @@ jobs:
2020 with :
2121 ref : ${{ github.event.pull_request.head.sha || github.sha }}
2222
23- - name : Set up PDM
24- uses : pdm-project /setup-pdm@94a823180e06fcde4ad29308721954a521c96ed0 # v4.4
23+ - name : Setup Python
24+ uses : actions /setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
2525 with :
2626 python-version : " 3.13"
2727
28+ - name : Set up poetry
29+ uses : Gr1N/setup-poetry@48b0f77c8c1b1b19cb962f0f00dff7b4be8f81ec # v9
30+ with :
31+ poetry-version : " 2.3.1"
32+
2833 - name : Install non-python dependencies
2934 run : |
3035 sudo apt-get update && sudo apt-get install -y libkrb5-dev
@@ -35,14 +40,14 @@ jobs:
3540 /home/linuxbrew/.linuxbrew/bin/brew install hadolint
3641 sudo ln -s /home/linuxbrew/.linuxbrew/bin/hadolint /usr/bin/
3742
38- - name : Install Python dependencies
43+ - name : Install dependencies
3944 run : |
40- pdm sync -dG tox
41- pipx install ansible-lint
45+ poetry config virtualenvs.in-project true
46+ poetry install --no-interaction
4247
4348 - name : Run Tests
4449 run : |
45- pdm run -v tox
50+ poetry run tox
4651
4752 build :
4853 name : Build and push image
6974 image : operator-pipelines-images
7075 tags : ${{ steps.set-vars.outputs.tags }}
7176 dockerfiles : |
72- ./operator-pipeline-images/ Dockerfile
77+ ./Dockerfile
7378
7479 - name : Push To quay.io
7580 id : push-to-quay
@@ -114,7 +119,7 @@ jobs:
114119 pipx inject ansible-core jmespath openshift pygithub
115120
116121 # Add certificates to trusted list
117- sudo cp operator-pipeline-images/ certs/* /usr/local/share/ca-certificates
122+ sudo cp certs/* /usr/local/share/ca-certificates
118123 # Rename all .pem files to .crt to allow update-ca-certificates
119124 for file in /usr/local/share/ca-certificates/*.pem
120125 do
0 commit comments