Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
steering
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
Container Registry
Model registry
Operate
Environments
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
AURA
steering
Commits
a0d3f77a
Verified
Commit
a0d3f77a
authored
1 year ago
by
Ernesto Rico Schmidt
Browse files
Options
Downloads
Patches
Plain Diff
feat: add make targets loaddata.{custom,sample}
parent
88541559
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Makefile
+8
-6
8 additions, 6 deletions
Makefile
with
8 additions
and
6 deletions
Makefile
+
8
−
6
View file @
a0d3f77a
...
...
@@ -18,7 +18,7 @@ create_oidc_client.dashboard:
create_oidc_client.tank
:
$(
POETRY_RUN_MANAGE
)
create_oidc_client tank confidential
--client-id
${
TANK_OIDC_CLIENT_ID
}
--client-secret
${
TANK_OIDC_CLIENT_SECRET
}
-r
"code"
-u
${
TANK_CALLBACK_BASE_URL
}
/tank/auth/oidc/callback
initialize
:
migrate load
fixtures
create_oidc_client.dashboard create_oidc_client.tank
initialize
:
migrate load
data.program
create_oidc_client.dashboard create_oidc_client.tank
$(
POETRY_RUN_MANAGE
)
collectstatic
--clear
--no-input
$(
POETRY_RUN_MANAGE
)
createsuperuser
--no-input
$(
POETRY_RUN_MANAGE
)
creatersakey
...
...
@@ -32,12 +32,14 @@ migrate:
collectstatic
:
$(
POETRY_RUN_MANAGE
)
collectstatic
--no-input
loadfixtures
:
# TODO: reduce the fixtures loaded to the very minimum
$(
POETRY_RUN_MANAGE
)
loaddata fixtures/
*
/
*
.json
loaddata.program
:
$(
POETRY_RUN_MANAGE
)
loaddata fixtures/program/
*
.json
loaddata
:
$(
POETRY_RUN_MANAGE
)
loaddata
${
DATA
}
loaddata.sample
:
$(
POETRY_RUN_MANAGE
)
loaddata fixtures/sample/
*
.json
loaddata.custom
:
$(
POETRY_RUN_MANAGE
)
loaddata fixtures/custom/
*
.json
removestaleimages
:
$(
POETRY_RUN_MANAGE
)
removestaleimages
...
...
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