Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Backend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Arkindex
Backend
Merge requests
!2523
Add agent token field
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add agent token field
agent-token
into
release-1.7.3
Overview
0
Commits
3
Pipelines
0
Changes
2
Merged
Erwan Rouchet
requested to merge
agent-token
into
release-1.7.3
1 month ago
Overview
0
Commits
3
Pipelines
0
Changes
2
Expand
Closes
#1897 (closed)
0
0
Merge request reports
Viewing commit
366c1ac5
Show latest version
2 files
+
43
−
9
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
366c1ac5
Add agent token
· 366c1ac5
Erwan Rouchet
authored
1 month ago
arkindex/ponos/migrations/0015_agent_token.py
0 → 100644
+
24
−
0
Options
# Generated by Django 5.0.8 on 2025-02-17 13:50
from
django.db
import
migrations
,
models
import
arkindex.ponos.models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
"
ponos
"
,
"
0014_task_task_finished_requires_final_state
"
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
"
agent
"
,
name
=
"
token
"
,
field
=
models
.
CharField
(
default
=
arkindex
.
ponos
.
models
.
token_default
,
max_length
=
52
),
),
migrations
.
AddConstraint
(
model_name
=
"
agent
"
,
constraint
=
models
.
UniqueConstraint
(
models
.
F
(
"
token
"
),
name
=
"
unique_agent_token
"
),
),
]
Loading