Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
bobgroup-go-utils
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Bob Public Utils
bobgroup-go-utils
Commits
89c3f8b3
Commit
89c3f8b3
authored
1 year ago
by
Jano Hendriks
Browse files
Options
Downloads
Patches
Plain Diff
Constants changes
parent
dbc1ae11
Branches
Branches containing commit
Tags
v1.164.0
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
batch/batch.go
+5
-7
5 additions, 7 deletions
batch/batch.go
with
5 additions
and
7 deletions
batch/batch.go
+
5
−
7
View file @
89c3f8b3
...
...
@@ -15,12 +15,11 @@ import (
)
const
(
JobDefinition
=
"batch-job-definition"
// The job definition name on aws
binaryPath
=
"/root/home/workers"
// The worker binary path in the docker container
BatchJobMessageTypeS3
BatchJobMessageType
=
"s3"
)
type
BatchJobQueue
string
type
BatchJobMessageType
string
// Queue names are the same as the batch Job queue names in aws
const
(
BatchJobQueueLow
BatchJobQueue
=
"batch-job-queue-low"
...
...
@@ -28,9 +27,8 @@ const (
BatchJobQueueHigh
BatchJobQueue
=
"batch-job-queue-high"
)
const
(
BatchJobMessageTypeS3
BatchJobMessageType
=
"s3"
)
type
BatchJobQueue
string
type
BatchJobMessageType
string
type
BatchJob
struct
{
Name
*
string
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment