Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
952191db
Commit
952191db
authored
8 years ago
by
Bogdan Dobrelya
Browse files
Options
Downloads
Patches
Plain Diff
Fix collect/upload logs for CoreOS
Signed-off-by:
Bogdan Dobrelya
<
bdobrelia@mirantis.com
>
parent
af3823bc
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.travis.yml
+0
-1
0 additions, 1 deletion
.travis.yml
scripts/collect-info.yaml
+1
-1
1 addition, 1 deletion
scripts/collect-info.yaml
tests/cloud_playbooks/upload-logs-gcs.yml
+2
-2
2 additions, 2 deletions
tests/cloud_playbooks/upload-logs-gcs.yml
with
3 additions
and
4 deletions
.travis.yml
+
0
−
1
View file @
952191db
...
@@ -176,7 +176,6 @@ after_failure:
...
@@ -176,7 +176,6 @@ after_failure:
-e ostype=${CLOUD_IMAGE}
-e ostype=${CLOUD_IMAGE}
-e commit=${TRAVIS_COMMIT}
-e commit=${TRAVIS_COMMIT}
-e dir=${HOME}
-e dir=${HOME}
-e ansible_python_interpreter=${PYPATH}
after_script
:
after_script
:
-
>
-
>
...
...
This diff is collapsed.
Click to expand it.
scripts/collect-info.yaml
+
1
−
1
View file @
952191db
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
with_items
:
"
{{logs}}"
with_items
:
"
{{logs}}"
-
name
:
Pack results and logs
-
name
:
Pack results and logs
local_action
:
shell
GZIP=-9 tar --remove-files -cvzf {{dir|default(".")}}/logs.tar.gz -C /tmp collect-info
local_action
:
raw
GZIP=-9 tar --remove-files -cvzf {{dir|default(".")}}/logs.tar.gz -C /tmp collect-info
run_once
:
true
run_once
:
true
-
name
:
Clean up collected command outputs
-
name
:
Clean up collected command outputs
...
...
This diff is collapsed.
Click to expand it.
tests/cloud_playbooks/upload-logs-gcs.yml
+
2
−
2
View file @
952191db
...
@@ -8,12 +8,12 @@
...
@@ -8,12 +8,12 @@
tasks
:
tasks
:
-
name
:
Generate uniq bucket name prefix
-
name
:
Generate uniq bucket name prefix
shell
:
date +%Y%m%d
raw
:
date +%Y%m%d
register
:
out
register
:
out
-
name
:
replace_test_id
-
name
:
replace_test_id
set_fact
:
set_fact
:
test_name
:
"
kargo-ci-{{
out.stdout
}}"
test_name
:
"
kargo-ci-{{
out.stdout
_lines[0]
}}"
-
set_fact
:
-
set_fact
:
file_name
:
"
{{ostype}}-{{kube_network_plugin}}-{{commit}}-logs.tar.gz"
file_name
:
"
{{ostype}}-{{kube_network_plugin}}-{{commit}}-logs.tar.gz"
...
...
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