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

conan create remote WIP #15856

Merged
merged 39 commits into from
May 6, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
7073730
conan create remote WIP
davidsanfal Feb 28, 2024
d852ca8
runners added
davidsanfal Feb 28, 2024
acc000c
docker runner updated
davidsanfal Mar 4, 2024
284e62e
docker runner updated
davidsanfal Mar 5, 2024
9175aa6
abs path added
davidsanfal Mar 6, 2024
03d53ca
linux slashes fixed
davidsanfal Mar 6, 2024
559428b
info updated
davidsanfal Mar 6, 2024
62de035
restore only new packages
davidsanfal Mar 6, 2024
c565352
some info added
davidsanfal Mar 6, 2024
ea4f495
basic test added
davidsanfal Mar 6, 2024
b7072b9
new test added
davidsanfal Mar 7, 2024
de279ec
requiremnets fixed
davidsanfal Mar 11, 2024
f8c7cc1
new docker exec added
davidsanfal Mar 11, 2024
aa9dd9a
docker added to dev requirements
davidsanfal Mar 12, 2024
c913570
docker conan version check added
davidsanfal Mar 12, 2024
9f5b600
more info added
davidsanfal Mar 13, 2024
001014e
dockerfile interface updated
davidsanfal Mar 15, 2024
cbf0cf1
docker added as a extras_require
davidsanfal Mar 18, 2024
e169fd9
some fix
davidsanfal Mar 19, 2024
7fa7de4
ssh remote WIP
jcar87 Mar 20, 2024
be0fcb0
Run remote create command
jcar87 Mar 20, 2024
f0f7d6f
Restore remote cache
jcar87 Mar 20, 2024
700176e
Add super rough implementation of wsl runner
jcar87 Mar 26, 2024
5e9d533
docker added to dev requirements
davidsanfal Mar 12, 2024
847c663
docker conan version check added
davidsanfal Mar 12, 2024
7fda3b5
clean test added
davidsanfal Mar 19, 2024
9a9e298
profile runner bug fixed
davidsanfal Mar 20, 2024
84f6603
docker configfile added
davidsanfal Apr 10, 2024
8fecd97
conans/requirements_runner.txt added
davidsanfal Apr 22, 2024
07232cd
docker runner test skip fixed
davidsanfal Apr 23, 2024
8056359
configfile docker fixed
davidsanfal Apr 29, 2024
6a44fbf
wip
davidsanfal Apr 30, 2024
f151c3b
docker runner test added
davidsanfal May 3, 2024
a54ecca
ssh and wsl disabled
davidsanfal May 3, 2024
6e26f78
print remove
davidsanfal May 3, 2024
a6e1799
Update conan/cli/commands/create.py
davidsanfal May 6, 2024
fa8ab58
Update conan/cli/commands/create.py
davidsanfal May 6, 2024
2977c64
Update conan/internal/runner/docker.py
davidsanfal May 6, 2024
fb6bab8
docker runner tests with default profile added
davidsanfal May 6, 2024
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
Prev Previous commit
Next Next commit
requiremnets fixed
  • Loading branch information
davidsanfal committed Apr 19, 2024
commit de279ec9a010d3abb4dff0fb72d09b99d54de591
2 changes: 1 addition & 1 deletion conans/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ fasteners>=0.15
distro>=1.4.0, <=1.8.0; sys_platform == 'linux' or sys_platform == 'linux2'
Jinja2>=3.0, <4.0.0
python-dateutil>=2.8.0, <3
docker>=7.0.0
docker>=5.0.0, <=5.0.3
6 changes: 4 additions & 2 deletions conans/test/integration/command/runner_test.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import textwrap
import os
from typing import Literal
import pytest
import docker
from conans.test.utils.tools import TestClient
Expand Down Expand Up @@ -36,6 +35,7 @@ def dockerfile_path(name=None):


@pytest.mark.skipif(docker_skip(), reason="Only docker running")
@pytest.mark.xfail(reason="known docker ci issue")
def test_create_docker_runner_dockerfile_folder_path():
"""
Tests the ``conan create . ``
Expand Down Expand Up @@ -102,6 +102,7 @@ class MyTest(ConanFile):


@pytest.mark.skipif(docker_skip(), reason="Only docker running")
@pytest.mark.xfail(reason="known docker ci issue")
def test_create_docker_runner_dockerfile_file_path():
"""
Tests the ``conan create . ``
Expand Down Expand Up @@ -168,9 +169,10 @@ class MyTest(ConanFile):


@pytest.mark.skipif(docker_skip(), reason="Only docker running")
@pytest.mark.xfail(reason="known docker ci issue")
@pytest.mark.parametrize("build_type,shared", [("Release", False), ("Debug", True)])
@pytest.mark.tool("ninja")
def test_create_docker_runner_with_ninja(build_type: Literal['Release', 'Debug'], shared: bool):
def test_create_docker_runner_with_ninja(build_type, shared):
conanfile = textwrap.dedent("""
import os
from conan import ConanFile
Expand Down