forked from frequenz-floss/frequenz-api-weather
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to repo-config v0.7.5 with regenerated templates
Manual removal of some files. Signed-off-by: cwasicki <[email protected]>
- Loading branch information
Showing
27 changed files
with
604 additions
and
295 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
.github/containers/nox-cross-arch/arm64-ubuntu-20.04-python-3.11.Dockerfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# License: MIT | ||
# Copyright © 2023 Frequenz Energy-as-a-Service GmbH | ||
# This Dockerfile is used to run the tests in arm64, which is not supported by | ||
# GitHub Actions at the moment. | ||
|
||
FROM docker.io/library/ubuntu:20.04 | ||
|
||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install Python 3.11 and curl to install pip later | ||
RUN apt-get update -y && \ | ||
apt-get install --no-install-recommends -y \ | ||
software-properties-common && \ | ||
add-apt-repository ppa:deadsnakes/ppa && \ | ||
apt-get install --no-install-recommends -y \ | ||
ca-certificates \ | ||
curl \ | ||
git \ | ||
python3.11 \ | ||
python3.11-distutils && \ | ||
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
# Install pip | ||
RUN curl -sS https://bootstrap.pypa.io/get-pip.py | python3.11 | ||
|
||
RUN update-alternatives --install \ | ||
/usr/local/bin/python python /usr/bin/python3.11 1 && \ | ||
python -m pip install --upgrade --no-cache-dir pip | ||
|
||
COPY entrypoint.bash /usr/bin/entrypoint.bash | ||
|
||
ENTRYPOINT ["/usr/bin/entrypoint.bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
# License: MIT | ||
# Copyright © 2023 Frequenz Energy-as-a-Service GmbH | ||
set -e | ||
|
||
echo "System details:" $(uname -a) | ||
echo "Machine:" $(uname -m) | ||
|
||
exec "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# License: MIT | ||
# Copyright © 2023 Frequenz Energy-as-a-Service GmbH | ||
# This Dockerfile is used to test the installation of the python package in | ||
# multiple platforms in the CI. It is not used to build the package itself. | ||
|
||
FROM --platform=${TARGETPLATFORM} python:3.11-slim | ||
|
||
RUN python -m pip install --upgrade --no-cache-dir pip | ||
|
||
COPY dist dist | ||
RUN pip install dist/*.whl && \ | ||
rm -rf dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.