File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 strategy :
1919 matrix :
2020 # all available versions are in https://github.com/actions/python-versions/blob/main/versions-manifest.json
21- python-version : ['3.10.14 ', '3.11.9 ', '3.12.3 ']
21+ python-version : ['3.10.18 ', '3.11.13 ', '3.12.11', '3.13.7 ']
2222
2323 steps :
2424 - name : Checkout
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ FROM opensuse/tumbleweed:latest
55# # AZURE
66# way suggested on https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=zypper
77RUN zypper ref && zypper up -y && \
8- zypper install -y tar gzip unzip curl python311 -pip openssh && \
8+ zypper install -y tar gzip unzip curl python312 -pip openssh && \
99 rpm --import https://packages.microsoft.com/keys/microsoft.asc && \
1010 zypper addrepo --name 'Azure CLI' --check https://packages.microsoft.com/yumrepos/azure-cli azure-cli && \
1111 zypper install --from azure-cli -y azure-cli && \
@@ -32,7 +32,7 @@ RUN curl https://releases.hashicorp.com/terraform/1.5.7/terraform_1.5.7_linux_am
3232 rm terraform.zip
3333
3434ENV VIRTUAL_ENV=/opt/venv
35- RUN python3.11 -m venv $VIRTUAL_ENV
35+ RUN python3.12 -m venv $VIRTUAL_ENV
3636ENV PATH="$VIRTUAL_ENV/bin:$PATH"
3737COPY requirements.txt .
3838COPY requirements.yml .
Original file line number Diff line number Diff line change 1+ # syntax=docker/dockerfile:experimental
2+
3+ FROM opensuse/leap:15.
4+
5+ ## AZURE
6+ # way suggested on https://docs.microsoft.com/en-us/cli/azure/install-azure-cli-linux?pivots=zypper
7+ RUN zypper ref && zypper up -y && \
8+ zypper install -y tar gzip unzip curl python312-pip openssh && \
9+ rpm --import https://packages.microsoft.com/keys/microsoft.asc && \
10+ zypper addrepo --name 'Azure CLI' --check https://packages.microsoft.com/yumrepos/azure-cli azure-cli && \
11+ zypper install --from azure-cli -y azure-cli && \
12+ zypper clean --all
13+
14+ WORKDIR /root
15+
16+ ## GCP
17+ RUN curl https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-cli-387.0.0-linux-x86_64.tar.gz | \
18+ tar zpxf - && \
19+ google-cloud-sdk/install.sh --quiet --usage-reporting false --command-completion true && \
20+ echo 'source /root/google-cloud-sdk/completion.bash.inc' >> ~/.bashrc && \
21+ echo 'source ~/google-cloud-sdk/path.bash.inc' >> ~/.bashrc
22+
23+ ## Terraform
24+ RUN curl https://releases.hashicorp.com/terraform/1.5.7/terraform_1.5.7_linux_amd64.zip -o terraform.zip && \
25+ unzip terraform.zip -d /usr/local/bin && \
26+ terraform -install-autocomplete && \
27+ rm terraform.zip
28+
29+ ENV VIRTUAL_ENV=/opt/venv
30+ RUN python3.12 -m venv $VIRTUAL_ENV
31+ ENV PATH="$VIRTUAL_ENV/bin:$PATH"
32+ COPY requirements.txt .
33+ RUN pip install --upgrade pip && \
34+ pip install -r requirements.txt
35+
36+ COPY requirements.yml .
37+ RUN ansible-galaxy install -r requirements.yml
38+
39+ RUN mkdir /src
40+ WORKDIR /src
You can’t perform that action at this time.
0 commit comments