File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -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
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
39- run : |
40- pdm sync -dG tox
41- pipx install ansible-lint
42-
4343 - name : Run Tests
4444 run : |
45- pdm run -v tox
45+ poetry run tox
4646
4747 build :
4848 name : Build and push image
6969 image : operator-pipelines-images
7070 tags : ${{ steps.set-vars.outputs.tags }}
7171 dockerfiles : |
72- ./operator-pipeline-images/ Dockerfile
72+ ./Dockerfile
7373
7474 - name : Push To quay.io
7575 id : push-to-quay
@@ -114,7 +114,7 @@ jobs:
114114 pipx inject ansible-core jmespath openshift pygithub
115115
116116 # Add certificates to trusted list
117- sudo cp operator-pipeline-images/ certs/* /usr/local/share/ca-certificates
117+ sudo cp certs/* /usr/local/share/ca-certificates
118118 # Rename all .pem files to .crt to allow update-ca-certificates
119119 for file in /usr/local/share/ca-certificates/*.pem
120120 do
You can’t perform that action at this time.
0 commit comments