EOX GitLab Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
VS
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor 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
Show more breadcrumbs
ESA
PRISM
VS
Commits
13423f36
Commit
13423f36
authored
4 years ago
by
Bernhard Mallinger
Browse files
Options
Downloads
Patches
Plain Diff
Fix building fluentd images
parent
d8081c82
No related branches found
No related tags found
1 merge request
!17
Resolve "Integrate ELK stack with Fluentd"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+3
-2
3 additions, 2 deletions
.gitlab-ci.yml
with
3 additions
and
2 deletions
.gitlab-ci.yml
+
3
−
2
View file @
13423f36
...
...
@@ -32,7 +32,7 @@ build-master:
-
VERSION_5=`grep 'version="*"' fluentd/Dockerfile | cut -d '"' -f2`
-
IMAGE_5="$CI_REGISTRY_IMAGE/fluentd"
-
docker pull "$IMAGE_5":latest ||
true
-
docker build --cache-from "$IMAGE_5":latest -t "$IMAGE_5":latest -t "$IMAGE_5":$VERSION_5
cache
/
-
docker build --cache-from "$IMAGE_5":latest -t "$IMAGE_5":latest -t "$IMAGE_5":$VERSION_5
fluentd
/
-
chmod +x gitlab_test.sh
-
./gitlab_test.sh
-
docker push "$IMAGE_1":$VERSION_1
...
...
@@ -74,7 +74,8 @@ build:
-
docker tag "$IMAGE:$CI_COMMIT_REF_NAME" "$IMAGE:latest"
-
IMAGE="$CI_REGISTRY_IMAGE/fluentd"
-
docker pull "$IMAGE":latest ||
true
-
docker build --cache-from "$IMAGE":latest -t "$IMAGE":$CI_COMMIT_REF_SLUG -t "$IMAGE":$CI_COMMIT_REF_NAME cache/
-
docker build --cache-from "$IMAGE":latest -t "$IMAGE":$CI_COMMIT_REF_SLUG -t "$IMAGE":$CI_COMMIT_REF_NAME fluentd/
-
docker tag "$IMAGE:$CI_COMMIT_REF_NAME" "$IMAGE:latest"
-
chmod +x gitlab_test.sh
-
./gitlab_test.sh
except
:
...
...
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