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
44a14d0b
Commit
44a14d0b
authored
8 years ago
by
Antoine Legrand
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #586 from bogdando/fix_upload_logs
[WIP] Fix upload logs
parents
6b7b8a23
39b8336f
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.travis.yml
+2
-1
2 additions, 1 deletion
.travis.yml
tests/cloud_playbooks/upload-logs-gcs.yml
+15
-0
15 additions, 0 deletions
tests/cloud_playbooks/upload-logs-gcs.yml
with
17 additions
and
1 deletion
.travis.yml
+
2
−
1
View file @
44a14d0b
...
...
@@ -154,7 +154,8 @@ after_failure:
$HOME/.local/bin/ansible-playbook tests/cloud_playbooks/upload-logs-gcs.yml -i "localhost," -c local
-e test_id=${TEST_ID}
-e kube_network_plugin=${KUBE_NETWORK_PLUGIN}
>/dev/null
-e gs_key=${GS_ACCESS_KEY_ID}
-e gs_skey=${GS_SECRET_ACCESS_KEY}
after_script
:
-
>
...
...
This diff is collapsed.
Click to expand it.
tests/cloud_playbooks/upload-logs-gcs.yml
+
15
−
0
View file @
44a14d0b
...
...
@@ -17,6 +17,8 @@
mode
:
create
expiration
:
"
{{
expire
}}"
permission
:
private
gs_access_key
:
gs_key
gs_secret_key
:
gs_skey
-
name
:
Upload collected diagnostic info
gc_storage
:
...
...
@@ -26,3 +28,16 @@
expiration
:
"
{{
expire
}}"
object
:
"
build-{{
test_name
}}-{{
kube_network_plugin
}}-logs.tar.gz"
src
:
logs.tar.gz
gs_access_key
:
gs_key
gs_secret_key
:
gs_skey
-
name
:
Get a link
gc_storage
:
bucket
:
"
{{
test_name
}}"
object
:
"
build-{{
test_name
}}-{{
kube_network_plugin
}}-logs.tar.gz"
mode
:
get_url
register
:
url
gs_access_key
:
gs_key
gs_secret_key
:
gs_skey
-
debug
:
msg="Download URL {{get_url}}"
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