Skip to content

Commit

Permalink
Merge pull request #24 from TomasTomecek/stuff2
Browse files Browse the repository at this point in the history
mdir: faster copying, preserved file modes
  • Loading branch information
jpopelka authored Jul 4, 2019
2 parents 78f2a89 + 380443c commit 2f110b4
Show file tree
Hide file tree
Showing 5 changed files with 292 additions and 130 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ m_dir = MappedDir(
o = Sandcastle(
image_reference=container_image,
k8s_namespace_name=namespace, # can be a different namespace
mapped_dirs=[m_dir],
mapped_dir=m_dir,
working_dir=sandbox_mountpoint,
)
o.run()
Expand Down
27 changes: 26 additions & 1 deletion files/install-rpm-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
- git-core
- packit
- rpmdevtools
- automake
- autoconf
- tito
- cmake
- meson
state: present
tags:
- basic-image
Expand All @@ -19,7 +24,6 @@
- python3-devel
- python3-ipdb # for easy debugging
- python3-pip
- python3-kubernetes
- python3-setuptools
- python3-setuptools_scm
- python3-setuptools_scm_git_archive
Expand All @@ -30,6 +34,27 @@
state: present
tags:
- with-sandcastle-deps
- name: Install python-kube
block:
- name: tmpdir
tempfile:
state: directory
register: tmpdir
- name: clone to tmpdir
git:
repo: https://github.com/TomasTomecek/kubernetes-python.git
recursive: true
dest: '{{ tmpdir.path }}'
- name: install
pip:
executable: /usr/bin/pip3
name: 'file://{{ tmpdir.path }}'
- name: clean tmpdir
file:
path: '{{ tmpdir.path }}'
state: absent
tags:
- with-sandcastle-deps
- name:
pip:
executable: /usr/bin/pip3
Expand Down
Loading

0 comments on commit 2f110b4

Please sign in to comment.