Skip to content

Commit 2f110b4

Browse files
authored
Merge pull request #24 from TomasTomecek/stuff2
mdir: faster copying, preserved file modes
2 parents 78f2a89 + 380443c commit 2f110b4

File tree

5 files changed

+292
-130
lines changed

5 files changed

+292
-130
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ m_dir = MappedDir(
8888
o = Sandcastle(
8989
image_reference=container_image,
9090
k8s_namespace_name=namespace, # can be a different namespace
91-
mapped_dirs=[m_dir],
91+
mapped_dir=m_dir,
9292
working_dir=sandbox_mountpoint,
9393
)
9494
o.run()

files/install-rpm-packages.yaml

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@
99
- git-core
1010
- packit
1111
- rpmdevtools
12+
- automake
13+
- autoconf
14+
- tito
15+
- cmake
16+
- meson
1217
state: present
1318
tags:
1419
- basic-image
@@ -19,7 +24,6 @@
1924
- python3-devel
2025
- python3-ipdb # for easy debugging
2126
- python3-pip
22-
- python3-kubernetes
2327
- python3-setuptools
2428
- python3-setuptools_scm
2529
- python3-setuptools_scm_git_archive
@@ -30,6 +34,27 @@
3034
state: present
3135
tags:
3236
- with-sandcastle-deps
37+
- name: Install python-kube
38+
block:
39+
- name: tmpdir
40+
tempfile:
41+
state: directory
42+
register: tmpdir
43+
- name: clone to tmpdir
44+
git:
45+
repo: https://github.com/TomasTomecek/kubernetes-python.git
46+
recursive: true
47+
dest: '{{ tmpdir.path }}'
48+
- name: install
49+
pip:
50+
executable: /usr/bin/pip3
51+
name: 'file://{{ tmpdir.path }}'
52+
- name: clean tmpdir
53+
file:
54+
path: '{{ tmpdir.path }}'
55+
state: absent
56+
tags:
57+
- with-sandcastle-deps
3358
- name:
3459
pip:
3560
executable: /usr/bin/pip3

0 commit comments

Comments
 (0)