Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add python venv #85

Merged
merged 2 commits into from
Nov 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions custom/testing/golden-state-tree/os/ubuntu/pkgs/init.sls
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ include:
- pkgs.patch
- pkgs.python3
- pkgs.python3-pip
- pkgs.python3-venv
- pkgs.rng-tools
- pkgs.rsync
- pkgs.sed
Expand Down
5 changes: 5 additions & 0 deletions custom/testing/golden-state-tree/pkgs/python3-venv.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{%- set pkg_name = 'python3-venv' %}

python3-venv:
pkg.installed:
- name: {{ pkg_name }}
3 changes: 3 additions & 0 deletions custom/testing/golden-state-tree/python/init.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@



30 changes: 30 additions & 0 deletions custom/testing/golden-state-tree/python/map.sls
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{% set python = salt['grains.filter_by']({
'Arch': {
'pkgs': [
],
},
'Debian': {
'pkgs': [
],
},
'OpenBSD': {
'pkgs': [
],
},
'RedHat': {
'pkgs': [
],
},
'Suse': {
'pkgs': [
],
},
'FreeBSD': {
'pkgs': [
],
},
'Gentoo': {
'pkgs': [
],
},
}, merge=salt['pillar.get']('python:lookup')) %}
2 changes: 1 addition & 1 deletion custom/testing/systemd-ubuntu-22.04.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apt update -y \
&& echo 'tzdata tzdata/Areas select America' | debconf-set-selections \
&& echo 'tzdata tzdata/Zones/America select Phoenix' | debconf-set-selections \
&& DEBIAN_FRONTEND="noninteractive" apt install -y \
tree tar wget xz-utils apt-utils systemd python3 python3-pip git
tree tar wget xz-utils apt-utils systemd python3 python3-pip python3-venv git

COPY 01_nodoc /etc/dpkg/dpkg.cfg.d/01_nodoc
COPY entrypoint.py entrypoint.py
Expand Down
Loading