Skip to content

Commit

Permalink
squash! adds gitlab get feature
Browse files Browse the repository at this point in the history
  • Loading branch information
wvandeun committed Apr 25, 2019
1 parent 9003db4 commit a21baae
Showing 1 changed file with 8 additions and 22 deletions.
30 changes: 8 additions & 22 deletions docs/plugins/tasks/version_control/gitlab.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
},
{
"cell_type": "code",
"execution_count": 16,
"execution_count": 1,
"metadata": {
"autoscroll": false,
"collapsed": false,
Expand All @@ -31,8 +31,8 @@
"output_type": "stream",
"text": [
"\n",
" Writes contents to a new file or update contents of an existing file in a\n",
" gitlab repository.\n",
" Exposes some of the Gitlab API functionality for operations on files\n",
" in a Gitlab repository.\n",
"\n",
" Example:\n",
"\n",
Expand All @@ -42,18 +42,18 @@
" token=\"ABCD1234\",\n",
" repository=\"test\",\n",
" filename=\"config\",\n",
" branch=\"master\")\n",
" ref=\"master\")\n",
"\n",
" Arguments:\n",
" dry_run: Whether to apply changes or not\n",
" url: Gitlab instance URL\n",
" token: Personal access token\n",
" repository: destination repository\n",
" filename: destination file name\n",
" repository: source/destination repository\n",
" filename: source/destination file name\n",
" content: content to write\n",
" action: ``create``, ``update``, ``get``\n",
" branch: destination branch\n",
" destination: destination filename (only used in get action)\n",
" destination: local destination filename (only used in get action)\n",
" ref: branch, commit hash or tag (only used in get action)\n",
" commit_message: commit message\n",
"\n",
Expand All @@ -62,21 +62,7 @@
" * changed (``bool``):\n",
" * diff (``str``): unified diff\n",
"\n",
" "
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[0m\n"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"\u001b[0m"
" \n"
]
}
],
Expand Down

0 comments on commit a21baae

Please sign in to comment.