Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
netbox
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
prp
netbox
Commits
7246fc43
Commit
7246fc43
authored
4 years ago
by
Dima Mishin
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Don't need our own image anymore"
This reverts commit
8074b5fa
parent
8074b5fa
No related branches found
No related tags found
No related merge requests found
Pipeline
#13629
passed
4 years ago
Stage: build-and-push
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+10
-0
10 additions, 0 deletions
.gitlab-ci.yml
Dockerfile
+4
-0
4 additions, 0 deletions
Dockerfile
values.yaml
+3
-3
3 additions, 3 deletions
values.yaml
with
17 additions
and
3 deletions
.gitlab-ci.yml
0 → 100644
+
10
−
0
View file @
7246fc43
image
:
gcr.io/kaniko-project/executor:debug
stages
:
-
build-and-push
build-and-push-job
:
stage
:
build-and-push
script
:
-
echo "{\"auths\":{\"$CI_REGISTRY\":{\"username\":\"$CI_REGISTRY_USER\",\"password\":\"$CI_REGISTRY_PASSWORD\"}}}" > /kaniko/.docker/config.json
-
/kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination $CI_REGISTRY_IMAGE:${CI_COMMIT_SHA:0:8} --destination $CI_REGISTRY_IMAGE:latest
This diff is collapsed.
Click to expand it.
Dockerfile
0 → 100644
+
4
−
0
View file @
7246fc43
FROM
netboxcommunity/netbox:v2.8.8
ENV
NAPALM_USERNAME netbox-napalm
RUN
apk add git
&&
pip3
install
napalm
This diff is collapsed.
Click to expand it.
values.yaml
+
3
−
3
View file @
7246fc43
image
:
repository
:
netboxcommunity
/netbox
tag
:
v2.8.8
repository
:
gitlab-registry.nautilus.optiputer.net/prp
/netbox
tag
:
latest
resources
:
limits
:
...
...
@@ -20,4 +20,4 @@ nginx:
memory
:
128Mi
persistence
:
storageClass
:
"
rook-block"
storageClass
:
"
rook-block"
\ No newline at end of file
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