<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Integrate Qlik Cli with Gitlab CI in Management &amp; Governance</title>
    <link>https://community.qlik.com/t5/Management-Governance/Integrate-Qlik-Cli-with-Gitlab-CI/m-p/1868020#M20880</link>
    <description>&lt;P&gt;Workaround&lt;/P&gt;
&lt;P&gt;do this&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;cat ./app.qvf&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;qlik&amp;nbsp;app&amp;nbsp;import&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
    <pubDate>Wed, 08 Dec 2021 10:35:08 GMT</pubDate>
    <dc:creator>linnakry</dc:creator>
    <dc:date>2021-12-08T10:35:08Z</dc:date>
    <item>
      <title>Integrate Qlik Cli with Gitlab CI</title>
      <link>https://community.qlik.com/t5/Management-Governance/Integrate-Qlik-Cli-with-Gitlab-CI/m-p/1864800#M20810</link>
      <description>&lt;P&gt;Hi Qlik Community,&amp;nbsp; #QlikCli&lt;/P&gt;
&lt;P&gt;I was wondering if anyone has integrated Qlik Cli with Gitlab CI.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have integrated Qlik CLI with Gitlab CI and have met with several problems. One is that I am unable to import app using&amp;nbsp;&lt;/P&gt;
&lt;P&gt;qlik app import -f app.qvf&lt;/P&gt;
&lt;P&gt;The error seem to be that in gitlab ci, the content-length is not being updated.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They both runs on the same network with same file system rights. As you can see below, the difference between the request in Gitlab and local is the content-length.&lt;/P&gt;
&lt;H3 dir="auto"&gt;Result from GitLab Ci&lt;/H3&gt;
&lt;P&gt;qlik app import -f ./testapp.qvf --verbose&lt;BR /&gt;Server-type not set, guessing "cloud"&lt;BR /&gt;POST&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://hostname.qlikcloud.com/api/v1/temp-contents?filename=app_upload_%20%20%20%20%20%20999316" rel="nofollow" target="_blank"&gt;https://hostname.qlikcloud.com/api/v1/temp-contents?filename=app_upload_%20%20%20%20%20%20999316&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Authorization: Bearer&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;omitted&lt;/STRONG&gt;&lt;BR /&gt;Content-Type: application/octet-stream&lt;BR /&gt;Referer:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://hostname.qlikcloud.com/" rel="nofollow" target="_blank"&gt;https://hostname.qlikcloud.com&lt;/A&gt;&lt;BR /&gt;User-Agent: qlik/2.6.0 (linux)&lt;BR /&gt;&amp;lt; Cache-Control: no-store&lt;BR /&gt;&amp;lt; Connection: keep-alive&lt;BR /&gt;&amp;lt; Content-Length: 0&lt;BR /&gt;&amp;lt; Date: Fri, 26 Nov 2021 13:40:09 GMT&lt;BR /&gt;&amp;lt; Location: /v1/temp-contents/61a0e3b924cb4200018dd773&lt;BR /&gt;&amp;lt; Pragma: no-cache&lt;BR /&gt;&amp;lt; Strict-Transport-Security: max-age=15724800; includeSubDomains&lt;BR /&gt;Response time: 10s&lt;BR /&gt;Status: 201 Created&lt;BR /&gt;Empty response body&lt;BR /&gt;POST&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://hostname.qlikcloud.com/api/v1/apps/import?fileId=61a0e3b924cb4200018dd773" rel="nofollow" target="_blank"&gt;https://hostname.qlikcloud.com/api/v1/apps/import?fileId=61a0e3b924cb4200018dd773&lt;/A&gt;&lt;BR /&gt;Authorization: Bearer&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;omitted&lt;/STRONG&gt;&lt;BR /&gt;Content-Type: application/octet-stream&lt;BR /&gt;Referer:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://hostname.qlikcloud.com/" rel="nofollow" target="_blank"&gt;https://hostname.qlikcloud.com&lt;/A&gt;&lt;BR /&gt;User-Agent: qlik/2.6.0 (linux)&lt;BR /&gt;&amp;lt; Cache-Control: no-store&lt;BR /&gt;&amp;lt; Connection: keep-alive&lt;BR /&gt;&amp;lt; Content-Length: 0&lt;BR /&gt;&amp;lt; Date: Fri, 26 Nov 2021 13:40:09 GMT&lt;BR /&gt;&amp;lt; Pragma: no-cache&lt;BR /&gt;&amp;lt; Strict-Transport-Security: max-age=15724800; includeSubDomains&lt;BR /&gt;Response time: 345ms&lt;BR /&gt;Status: 404 Not Found&lt;BR /&gt;Error: 404 - Not Found (empty response)&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;
&lt;H3 dir="auto"&gt;Result from Local Executable&lt;/H3&gt;
&lt;P&gt;qlik app import -f ./testapp.qvf --verbose&lt;BR /&gt;Server-type not set, guessing "cloud"&lt;BR /&gt;POST&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://hostname.qlikcloud.com/api/v1/temp-contents?filename=app_upload_%20%20%20%20%20%20685844" rel="nofollow" target="_blank"&gt;https://hostname.qlikcloud.com/api/v1/temp-contents?filename=app_upload_%20%20%20%20%20%20685844&lt;/A&gt;&lt;/P&gt;
&lt;BLOCKQUOTE&gt;
&lt;P&gt;Authorization: Bearer&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;omitted&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;&amp;gt; Content-Length: 720896&lt;/STRONG&gt;&lt;BR /&gt;Content-Type: application/octet-stream&lt;BR /&gt;Referer:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://hostname.qlikcloud.com/" rel="nofollow" target="_blank"&gt;https://hostname.qlikcloud.com&lt;/A&gt;&lt;BR /&gt;User-Agent: qlik/2.6.0 (linux)&lt;BR /&gt;&amp;lt; Cache-Control: no-store&lt;BR /&gt;&amp;lt; Connection: keep-alive&lt;BR /&gt;&amp;lt; Content-Length: 0&lt;BR /&gt;&amp;lt; Date: Fri, 26 Nov 2021 13:38:08 GMT&lt;BR /&gt;&amp;lt; Location: /v1/temp-contents/61a0e3403a254b00018081df&lt;BR /&gt;&amp;lt; Pragma: no-cache&lt;BR /&gt;&amp;lt; Strict-Transport-Security: max-age=15724800; includeSubDomains&lt;BR /&gt;Response time: 10s&lt;BR /&gt;Status: 201 Created&lt;BR /&gt;Empty response body&lt;BR /&gt;POST&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://hostname.qlikcloud.com/api/v1/apps/import?fileId=61a0e3403a254b00018081df" rel="nofollow" target="_blank"&gt;https://hostname.qlikcloud.com/api/v1/apps/import?fileId=61a0e3403a254b00018081df&lt;/A&gt;&lt;BR /&gt;Authorization: Bearer&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;omitted&lt;/STRONG&gt;&lt;BR /&gt;Content-Type: application/octet-stream&lt;BR /&gt;Referer:&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://hostname.qlikcloud.com/" rel="nofollow" target="_blank"&gt;https://hostname.qlikcloud.com&lt;/A&gt;&lt;BR /&gt;User-Agent: qlik/2.6.0 (linux)&lt;BR /&gt;&amp;lt; Cache-Control: no-store&lt;BR /&gt;&amp;lt; Connection: keep-alive&lt;BR /&gt;&amp;lt; Content-Length: 1061&lt;BR /&gt;&amp;lt; Content-Type: application/json; charset=UTF-8&lt;BR /&gt;&amp;lt; Date: Fri, 26 Nov 2021 13:38:09 GMT&lt;BR /&gt;&amp;lt; Pragma: no-cache&lt;BR /&gt;&amp;lt; Strict-Transport-Security: max-age=15724800; includeSubDomains&lt;BR /&gt;Response time: 1070ms&lt;BR /&gt;Status: 200 OK&lt;BR /&gt;{&lt;BR /&gt;"attributes": {&lt;BR /&gt;"_resourcetype": "app",&lt;BR /&gt;...}&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 30 Nov 2021 09:55:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Integrate-Qlik-Cli-with-Gitlab-CI/m-p/1864800#M20810</guid>
      <dc:creator>linnakry</dc:creator>
      <dc:date>2021-11-30T09:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: Integrate Qlik Cli with Gitlab CI</title>
      <link>https://community.qlik.com/t5/Management-Governance/Integrate-Qlik-Cli-with-Gitlab-CI/m-p/1868020#M20880</link>
      <description>&lt;P&gt;Workaround&lt;/P&gt;
&lt;P&gt;do this&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;cat ./app.qvf&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;|&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;qlik&amp;nbsp;app&amp;nbsp;import&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 Dec 2021 10:35:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Management-Governance/Integrate-Qlik-Cli-with-Gitlab-CI/m-p/1868020#M20880</guid>
      <dc:creator>linnakry</dc:creator>
      <dc:date>2021-12-08T10:35:08Z</dc:date>
    </item>
  </channel>
</rss>

