Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Kubernetes
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
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SmartDataLab
public
CI-CD components
Kubernetes
Commits
178892e7
Commit
178892e7
authored
Apr 29, 2024
by
Michael Kebe
Browse files
Options
Downloads
Patches
Plain Diff
fix: improved logging kubectl apply even on cleanup job
parent
70b69ecd
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/gitlab-ci-k8s.yml
+2
-2
2 additions, 2 deletions
templates/gitlab-ci-k8s.yml
with
2 additions
and
2 deletions
templates/gitlab-ci-k8s.yml
+
2
−
2
View file @
178892e7
...
...
@@ -513,7 +513,7 @@ stages:
log_info "--- \\e[32mkustomize\\e[0m"
# shellcheck disable=SC2086
kubectl kustomize "$deploymentdir" ${K8S_KUSTOMIZE_ARGS} > ./generated-deployment.yml
log_info "--- \\e[32mkubectl
apply
\\e[0m"
log_info "--- \\e[32mkubectl
$action
\\e[0m"
kubectl ${TRACE+-v=5} "$action" -f ./generated-deployment.yml
else
# find deployment file
...
...
@@ -527,7 +527,7 @@ stages:
# replace variables (alternative for envsubst which is not present in image)
awkenvsubst < "$deploymentfile" > generated-deployment.yml
log_info "--- \\e[32mkubectl
apply
\\e[0m"
log_info "--- \\e[32mkubectl
$action
\\e[0m"
kubectl ${TRACE+-v=5} "$action" -f ./generated-deployment.yml
fi
}
...
...
This diff is collapsed.
Click to expand it.
Benguria Elguezabal, Gorka
@gorka.benguria
mentioned in commit
467ab821
·
Jun 4, 2024
mentioned in commit
467ab821
mentioned in commit 467ab82198c52c4575548861bece02eb2b0bf8f0
Toggle commit list
Ghost User
@ghost
mentioned in commit
7083e03b
·
Jun 5, 2024
mentioned in commit
7083e03b
mentioned in commit 7083e03b07ebfa883f30baae515913286b69e8e1
Toggle commit list
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