-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Reorganize other doeckerfiles * add linux-headers-azure-6.2 deb file Signed-off-by: Gonçalo Negrier Duarte <[email protected]>
- Loading branch information
1 parent
37c7091
commit 8a2f0ce
Showing
15 changed files
with
125 additions
and
110 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
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
This file was deleted.
Oops, something went wrong.
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,11 @@ | ||
#!/bin/bash | ||
set -ex | ||
sudo apt-get update | ||
sudo apt-get install -y make gcc linux-headers-generic build-essential git lm-sensors wget python3-yaml python3-venv python3-pip python3-wheel python3-argcomplete policykit-1 | ||
sudo apt-get install -y dkms openssl mokutil | ||
|
||
cd /tmp/ | ||
wget http://archive.ubuntu.com/ubuntu/pool/main/l/linux-azure-6.2/linux-headers-6.2.0-1019-azure_6.2.0-1019.19~22.04.1_amd64.deb | ||
sudo apt install -f ./linux-headers-6.2.0-1019-azure_6.2.0-1019.19~22.04.1_amd64.deb | ||
|
||
sudo pip install --break-system-packages PyQt6 |
18 changes: 18 additions & 0 deletions
18
deploy/dependencies/install_development_dependencies_ubuntu-23.04.sh
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,18 @@ | ||
#!/bin/bash | ||
set -ex | ||
DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
|
||
# Needed in CI | ||
sudo apt-get update | ||
|
||
# Linter | ||
# Tools for running GUI tests headless | ||
sudo apt-get -y -qq install \ | ||
wget \ | ||
pylint python3-venv python3-pip \ | ||
xwayland weston meson | ||
|
||
sudo pip install --break-system-packages pyqt6-tools PyQt6 | ||
|
||
${DIR}/install_dependencies_ubuntu-23.04.sh | ||
${DIR}/linux_kernel/install_checkpath.sh |
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 |
---|---|---|
@@ -1,28 +1,6 @@ | ||
version: "3.9" | ||
services: | ||
legion-arch: | ||
build: | ||
context: .. | ||
dockerfile: deploy/Dockerfile.arch | ||
legion-manjaro: | ||
build: | ||
context: .. | ||
dockerfile: deploy/Dockerfile.arch | ||
args: | ||
- "BASE_IMAGE=manjarolinux/base" | ||
legion-fedora: | ||
build: | ||
context: .. | ||
dockerfile: deploy/Dockerfile.fedora | ||
# legion-suse: | ||
# build: | ||
# context: .. | ||
# dockerfile: deploy/Dockerfile.suse | ||
legion-ubuntu: | ||
testing-legion-ubuntu: | ||
build: | ||
context: .. | ||
dockerfile: deploy/Dockerfile.ubuntu | ||
ubuntu: | ||
image: ubuntu:latest | ||
volumes: | ||
- "../:/app/LenovoLegionLinux" |
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,40 @@ | ||
FROM ubuntu:23.04 | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
# Install sudo (used in scripts that are tested) | ||
RUN apt-get update && \ | ||
apt-get -y install sudo | ||
|
||
# Set timezone (used by pylint) and locale | ||
ENV LANG=en_US.UTF-8 | ||
ENV LANGUAGE=en_US:en | ||
ENV LC_ALL=en_US.UTF-8 | ||
RUN ln -snf /usr/share/zoneinfo/US/Central /etc/localtime && echo US/Central > /etc/timezone && \ | ||
apt-get -y install locales tzdata && \ | ||
sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \ | ||
locale-gen | ||
|
||
|
||
RUN apt-get install -y gcc-12 | ||
|
||
RUN mkdir /opt/LinuxLegionLaptop | ||
WORKDIR /opt/LinuxLegionLaptop | ||
|
||
COPY ./deploy/dependencies/install_dependencies_ubuntu-23.04.sh ./deploy/dependencies/install_dependencies_ubuntu-23.04.sh | ||
RUN deploy/dependencies/install_dependencies_ubuntu-23.04.sh | ||
|
||
COPY ./deploy/dependencies ./deploy/dependencies | ||
RUN deploy/dependencies/install_development_dependencies_ubuntu-23.04.sh | ||
RUN deploy/dependencies/build_xwayland-ubuntu.sh | ||
RUN deploy/dependencies/install_xwayland-run.sh | ||
|
||
COPY . /opt/LinuxLegionLaptop | ||
|
||
RUN tests/test_kernel_build.sh \ | ||
&& tests/test_kernel_install.sh | ||
RUN tests/test_python_cli.sh \ | ||
&& tests/test_python_gui.sh | ||
RUN deploy/python_install_pip_pkg.sh \ | ||
&& tests/test_python_cli_installed.sh \ | ||
&& tests/test_python_gui_installed.sh | ||
#RUN tests/test_python_run_gui_root.sh |
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,5 @@ | ||
#!/bin/bash | ||
set -ex | ||
DIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd ) | ||
cd ${DIR}/../dependencies | ||
sudo docker compose build --no-cache |
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,28 @@ | ||
version: "3.9" | ||
services: | ||
legion-arch: | ||
build: | ||
context: .. | ||
dockerfile: deploy/docker_testing/Dockerfile.arch | ||
legion-manjaro: | ||
build: | ||
context: .. | ||
dockerfile: deploy/docker_testing/Dockerfile.arch | ||
args: | ||
- "BASE_IMAGE=manjarolinux/base" | ||
legion-fedora: | ||
build: | ||
context: .. | ||
dockerfile: deploy/docker_testing/Dockerfile.fedora | ||
# legion-suse: | ||
# build: | ||
# context: .. | ||
# dockerfile: deploy/Dockerfile.suse | ||
legion-ubuntu: | ||
build: | ||
context: .. | ||
dockerfile: deploy/docker_testing/Dockerfile.ubuntu | ||
ubuntu: | ||
image: ubuntu:latest | ||
volumes: | ||
- "../../:/app/LenovoLegionLinux" |
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