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

feat: user-scheduled tasks #120

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Merge branch 'main' into feat/user-prio
snadrus committed Aug 15, 2024
commit ee3d2a3dd843363622c39177c845e06e2dbe3cad
25 changes: 25 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -84,6 +84,31 @@ userschedule:
$(GOCC) build $(GOFLAGS) -o userschedule ./cmd/userschedule
.PHONY: userschedule

ifeq ($(shell uname),Linux)

batchdep: build/.supraseal-install
batchdep: $(BUILD_DEPS)
,PHONY: batchdep

batch: GOFLAGS+=-tags=supraseal
batch: CGO_LDFLAGS_ALLOW='.*'
batch: batchdep build
.PHONY: batch

batch-calibnet: GOFLAGS+=-tags=calibnet,supraseal
batch-calibnet: CGO_LDFLAGS_ALLOW='.*'
batch-calibnet: batchdep build
.PHONY: batch-calibnet

else
batch:
@echo "Batch target is only available on Linux systems"
@exit 1

batch-calibnet:
@echo "Batch-calibnet target is only available on Linux systems"
@exit 1
endif

calibnet: GOFLAGS+=-tags=calibnet
calibnet: build
5 changes: 5 additions & 0 deletions deps/config/doc_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions deps/config/types.go
Original file line number Diff line number Diff line change
@@ -278,6 +278,9 @@ type CurioSubsystemsConfig struct {
// }
// Timeout in seconds until it will be rescheduled.
UserScheduler []UserSchedule

// Batch Seal
EnableBatchSeal bool
}

// UserSchedule allows for the user to schedule a task on specific machines of their choice.
You are viewing a condensed version of this merge commit. You can view the full changes here.