Skip to content

Commit

Permalink
Merge branch 'master' into dev/addsubmitreason
Browse files Browse the repository at this point in the history
  • Loading branch information
1daidai1 authored Dec 23, 2024
2 parents b0055fd + 815c797 commit 250dbe4
Show file tree
Hide file tree
Showing 26 changed files with 468 additions and 694 deletions.
9 changes: 9 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,7 @@ set(DEPENDENCIES_PRE_INSTALLED_DIR ${CMAKE_CURRENT_SOURCE_DIR}/dependencies/pre_
add_subdirectory(${DEPENDENCIES_PRE_INSTALLED_DIR})

find_package(Threads REQUIRED)
find_library(LIBUTIL_LIBRARY util)

# New in version cmake3.24:
# Set ZLIB_USE_STATIC_LIBS to ON to look for static libraries. Default is OFF.
Expand Down Expand Up @@ -408,6 +409,14 @@ install(FILES
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)

# Install configuration files
if(ENABLE_BPF)
install(FILES
${CMAKE_BINARY_DIR}/src/Misc/BPF/cgroup_dev_bpf.o
DESTINATION /usr/local/lib64/bpf/
COMPONENT cranedc
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)
endif()

install(FILES ${CMAKE_SOURCE_DIR}/etc/config.yaml
DESTINATION /etc/crane/
COMPONENT cranectldc
Expand Down
2 changes: 1 addition & 1 deletion protos/Plugin.proto
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ message EndHookReply {
message CreateCgroupHookRequest {
uint32 task_id = 1;
string cgroup = 2;
DedicatedResourceInNode request_res = 3;
DedicatedResourceInNode resource = 3;
}

message CreateCgroupHookReply {
Expand Down
1 change: 1 addition & 0 deletions protos/PublicDefs.proto
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ message InteractiveTaskAdditionalMeta {
string sh_script = 2;
string term_env = 3;
InteractiveTaskType interactive_type = 4;
bool pty = 5;
}

message TaskInfo {
Expand Down
Loading

0 comments on commit 250dbe4

Please sign in to comment.