interactions:
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-type:
      - application/json
      PRIVATE-TOKEN:
      - gySnkuzLBziyxdSBHNBy
      User-Agent:
      - python-gitlab/2.6.0
    method: GET
    uri: http://127.0.0.1:3000/api/v4/projects/test%2Ftest_from_github
  response:
    body:
      string: '{"id":25,"description":"","name":"test_from_github","name_with_namespace":"test
        / test_from_github","path":"test_from_github","path_with_namespace":"test/test_from_github","created_at":"2021-05-20T11:53:03.615Z","default_branch":null,"tag_list":[],"ssh_url_to_repo":"ssh://git@127.0.0.1:2222/test/test_from_github.git","http_url_to_repo":"http://127.0.0.1:3000/test/test_from_github.git","web_url":"http://127.0.0.1:3000/test/test_from_github","readme_url":null,"avatar_url":null,"forks_count":0,"star_count":0,"last_activity_at":"2021-05-20T11:53:03.615Z","namespace":{"id":109,"name":"test","path":"test","kind":"group","full_path":"test","parent_id":null,"avatar_url":null,"web_url":"http://127.0.0.1:3000/groups/test"},"_links":{"self":"http://127.0.0.1:3000/api/v4/projects/25","issues":"http://127.0.0.1:3000/api/v4/projects/25/issues","merge_requests":"http://127.0.0.1:3000/api/v4/projects/25/merge_requests","repo_branches":"http://127.0.0.1:3000/api/v4/projects/25/repository/branches","labels":"http://127.0.0.1:3000/api/v4/projects/25/labels","events":"http://127.0.0.1:3000/api/v4/projects/25/events","members":"http://127.0.0.1:3000/api/v4/projects/25/members"},"packages_enabled":true,"empty_repo":true,"archived":false,"visibility":"private","resolve_outdated_diff_discussions":false,"container_registry_enabled":true,"container_expiration_policy":{"cadence":"1d","enabled":false,"keep_n":10,"older_than":"90d","name_regex":".*","name_regex_keep":null,"next_run_at":"2021-05-21T11:53:03.777Z"},"issues_enabled":true,"merge_requests_enabled":true,"wiki_enabled":true,"jobs_enabled":true,"snippets_enabled":true,"service_desk_enabled":false,"service_desk_address":null,"can_create_merge_request_in":true,"issues_access_level":"enabled","repository_access_level":"enabled","merge_requests_access_level":"enabled","forking_access_level":"enabled","wiki_access_level":"enabled","builds_access_level":"enabled","snippets_access_level":"enabled","pages_access_level":"private","operations_access_level":"enabled","analytics_access_level":"enabled","emails_disabled":null,"shared_runners_enabled":true,"lfs_enabled":true,"creator_id":1,"import_status":"none","import_error":null,"open_issues_count":0,"runners_token":"i_Vyad2JK8b8skjgojHR","ci_default_git_depth":50,"ci_forward_deployment_enabled":true,"public_jobs":true,"build_git_strategy":"fetch","build_timeout":3600,"auto_cancel_pending_pipelines":"enabled","build_coverage_regex":null,"ci_config_path":null,"shared_with_groups":[],"only_allow_merge_if_pipeline_succeeds":false,"allow_merge_on_skipped_pipeline":null,"restrict_user_defined_variables":false,"request_access_enabled":true,"only_allow_merge_if_all_discussions_are_resolved":false,"remove_source_branch_after_merge":true,"printing_merge_request_link_enabled":true,"merge_method":"merge","suggestion_commit_message":null,"auto_devops_enabled":true,"auto_devops_deploy_strategy":"continuous","autoclose_referenced_issues":true,"repository_storage":"default","requirements_enabled":null,"security_and_compliance_enabled":true,"compliance_frameworks":[],"permissions":{"project_access":null,"group_access":{"access_level":50,"notification_level":3}}}'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Type:
      - application/json
      Date:
      - Thu, 20 May 2021 15:41:57 GMT
      Etag:
      - W/"4571bb51a3425746cfbc7af91745ade5"
      Transfer-Encoding:
      - chunked
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Gitlab-Feature-Category:
      - projects
      X-Request-Id:
      - 01F6571GXWXDWZQ81B67QSFE3Q
      X-Runtime:
      - '0.618265'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - PyGithub/Python
    method: GET
    uri: https://api.github.com/repos/projectcalico/calicoctl/releases/latest
  response:
    body:
      string: !!binary |
        H4sIAAAAAAAAA+2abW/iOBDHvwrKayCPDRBptdrTPuhOgtOeur3brk7IOG4w58RR7NAC4rvfOAmQ
        AGU3KrDaKq9ojedvM/b8PJl4paUJ0zxtKmUsPF1HMe0GVE7TSRfzUE9IzIUeJ3xGsMSIUcz1/ANL
        Bt8yggQRumPZPde1elpbQ0IQKcbnVNVzTRBPY8aRvyeeN4oXTLsYYPU2QiFpMzQhbA2jTWXI9sYq
        uea7TpEo0Od21+x3bRCjvuZt3AReSuWUJ5q30hgPaAQLEAaMpFFQ9DRtcKc5aGsR98lY2WrD95/d
        u39GDM8+LEezr4vh7X9vlL/nSKJk399Z48YlqSAJ5pEkkcwWNdUL+bfzNw5IBEkhko2j3HxqSyg1
        oe+me9pLu34PnDH+CLb7c63uuIq8vjWCWeV/0yioLwBGK53LKQFHwfTV4gZUfG+bVqeSGax09QEL
        oiQE+Dgh+9txL4KqIoUJTOYxgnmssgDLtNKJwAmNJeVRLQ9VDEGIJwGK6BLVFgJDAfZZxNfxcGYA
        hmQO+6uWZW6xArzQOcIL5YaEYELn4NP6anumICYXMYEN/QVWXHmYSjJGfqii7QExQdbV6MLul/BO
        3P/9cXl/+3kxXGJrNPtdRS7E8ViBAaR24QxLHxA5hnAKqaRiqiIYCZmNdNDZT9CDLEZta3FCCnBu
        m3BCkIRfjaCXZhmW2TFuOoZ9a/Y90/HM3j2oxumEwUDHeg08w/XMG9WrQKX3bXU6in8Q7Lmcbru2
        YbnGAAZQjNj8W3Xgh8Wf7A82+XQ3xdbdb9geMf/90Bou3y1Gs3c3O79szw9oylhbQCdjOziwgeLB
        MdxAsYHi1aBYpArjAp8ojiHty84TnWNJZEdIwFWokCqBWhC9eQZGfNVEl9DiGIZlGabb1nw46LKc
        DfM0ArrZjt3WnsUdgMzx7L4CWRr7x5GYw85WfSYJfwS4j7eDVBOXOsnaRmKTse2yXG3dvgRL+1WW
        9muwVOVsxRmzZWnHR8kjjToo9F31fQPWJtvUm2xz96Si//xs8xxgNd2+O+g7h2A9E1ezJPIqXK0S
        6zKQdauQhfOo/Dx9MmG1jkGW0Sh9ahhbFCqaJ/ooaBhbqga9EsY+n7wa50lenetBtkysyzBWZZul
        ogAcTT/MWOMEY5OwyWPBPQ1jG8ZWqz+vIo+13f7A7bnw1LtfIOhBkvby+oDhXh2xGbAug1hVPC0h
        9qYGYs3nERvH2HUYgQ5NsaApFjSJ7KtLZO2eZTmOcwSyJiDkDJC1rg3ZDbIug1l1faGE2V4NzKr3
        hAclWajHwukm8npBlzw1qG3yWVU6aVD7y6D2qRMKn4sOXPaBWzIn33nZvb45GBjHSrPGOWhrXrFq
        cEiu9b/qIkQyQWz/SlStG2OFROle1JLGLxUtJEqiE+4v4L3kX/n9tFbEJREtjKLWhLQe4EWk30Ky
        tbny5nMsupXbXF24C6Ot/wcMtJOsGycAAA==
    headers:
      Accept-Ranges:
      - bytes
      Access-Control-Allow-Origin:
      - '*'
      Access-Control-Expose-Headers:
      - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
        X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes,
        X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation,
        Sunset
      Cache-Control:
      - public, max-age=60, s-maxage=60
      Content-Encoding:
      - gzip
      Content-Length:
      - '1108'
      Content-Security-Policy:
      - default-src 'none'
      Content-Type:
      - application/json; charset=utf-8
      Date:
      - Thu, 20 May 2021 15:41:57 GMT
      ETag:
      - W/"9cc0bd913598b6cb41e2eaea692bf101b68637fae0dff27f7d74f1b53858fad8"
      Last-Modified:
      - Mon, 03 May 2021 19:06:15 GMT
      Referrer-Policy:
      - origin-when-cross-origin, strict-origin-when-cross-origin
      Server:
      - GitHub.com
      Strict-Transport-Security:
      - max-age=31536000; includeSubdomains; preload
      Vary:
      - Accept, Accept-Encoding, Accept, X-Requested-With
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - deny
      X-GitHub-Media-Type:
      - github.v3; format=json
      X-GitHub-Request-Id:
      - CBBE:C295:13F4BEE:1459379:60A68345
      X-RateLimit-Limit:
      - '60'
      X-RateLimit-Remaining:
      - '49'
      X-RateLimit-Reset:
      - '1621526623'
      X-RateLimit-Resource:
      - core
      X-RateLimit-Used:
      - '11'
      X-XSS-Protection:
      - '0'
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.25.1
    method: HEAD
    uri: https://api.github.com/repos/projectcalico/calicoctl/tarball/v3.18.3
  response:
    body:
      string: ''
    headers:
      Access-Control-Allow-Origin:
      - '*'
      Access-Control-Expose-Headers:
      - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
        X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes,
        X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation,
        Sunset
      Cache-Control:
      - public, must-revalidate, max-age=0
      Content-Length:
      - '0'
      Content-Security-Policy:
      - default-src 'none'
      Content-Type:
      - text/html;charset=utf-8
      Date:
      - Thu, 20 May 2021 15:41:57 GMT
      Location:
      - https://codeload.github.com/projectcalico/calicoctl/legacy.tar.gz/refs/tags/v3.18.3
      Referrer-Policy:
      - origin-when-cross-origin, strict-origin-when-cross-origin
      Server:
      - GitHub.com
      Strict-Transport-Security:
      - max-age=31536000; includeSubdomains; preload
      Vary:
      - Accept-Encoding, Accept, X-Requested-With
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - deny
      X-GitHub-Request-Id:
      - CBC0:E4BE:15E4BA2:1648FFD:60A68345
      X-RateLimit-Limit:
      - '60'
      X-RateLimit-Remaining:
      - '60'
      X-RateLimit-Reset:
      - '1621528917'
      X-RateLimit-Resource:
      - core
      X-RateLimit-Used:
      - '0'
      X-XSS-Protection:
      - '0'
      expires:
      - Thu, 20 May 2021 15:41:57 GMT
    status:
      code: 302
      message: Found
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.25.1
    method: HEAD
    uri: https://codeload.github.com/projectcalico/calicoctl/legacy.tar.gz/refs/tags/v3.18.3
  response:
    body:
      string: ''
    headers:
      Access-Control-Allow-Origin:
      - https://render.githubusercontent.com
      Content-Security-Policy:
      - default-src 'none'; style-src 'unsafe-inline'; sandbox
      Content-Type:
      - application/x-gzip
      Date:
      - Thu, 20 May 2021 15:41:58 GMT
      ETag:
      - W/"cfad3294008d65888950ec519887f2168c17f28da16082ca52a2c89eff3fa6e7"
      Strict-Transport-Security:
      - max-age=31536000
      Vary:
      - Authorization,Accept-Encoding
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - deny
      X-GitHub-Request-Id:
      - AA6E:984D:F78FF:1216DB:60A68346
      X-XSS-Protection:
      - 1; mode=block
      content-disposition:
      - attachment; filename=projectcalico-calicoctl-v3.18.3-0-g528c586.tar.gz
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Authorization:
      - Basic cGVyc29uYWwtYWNjZXNzLXRva2VuOmd5U25rdXpMQnppeXhkU0JITkJ5
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.25.1
    method: HEAD
    uri: http://127.0.0.1:3000/api/v4/projects/test%2Ftest_from_github/packages/generic/calicoctl/v3.18.3/calicoctl-v3.18.3.tar.gz
  response:
    body:
      string: ''
    headers:
      Cache-Control:
      - no-cache
      Content-Type:
      - application/json
      Date:
      - Thu, 20 May 2021 15:41:58 GMT
      Vary:
      - Origin
      X-Request-Id:
      - 01F6571JSFGFT1YBD7E5VXHW46
      X-Runtime:
      - '0.381234'
    status:
      code: 404
      message: Not Found
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.25.1
    method: GET
    uri: https://api.github.com/repos/projectcalico/calicoctl/tarball/v3.18.3
  response:
    body:
      string: ''
    headers:
      Access-Control-Allow-Origin:
      - '*'
      Access-Control-Expose-Headers:
      - ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining,
        X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes,
        X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation,
        Sunset
      Cache-Control:
      - public, must-revalidate, max-age=0
      Content-Length:
      - '0'
      Content-Security-Policy:
      - default-src 'none'
      Content-Type:
      - text/html;charset=utf-8
      Date:
      - Thu, 20 May 2021 15:41:57 GMT
      Location:
      - https://codeload.github.com/projectcalico/calicoctl/legacy.tar.gz/refs/tags/v3.18.3
      Referrer-Policy:
      - origin-when-cross-origin, strict-origin-when-cross-origin
      Server:
      - GitHub.com
      Strict-Transport-Security:
      - max-age=31536000; includeSubdomains; preload
      Vary:
      - Accept-Encoding, Accept, X-Requested-With
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - deny
      X-GitHub-Request-Id:
      - CBC0:E4BE:15E4D45:16491C0:60A68346
      X-RateLimit-Limit:
      - '60'
      X-RateLimit-Remaining:
      - '60'
      X-RateLimit-Reset:
      - '1621528917'
      X-RateLimit-Resource:
      - core
      X-RateLimit-Used:
      - '0'
      X-XSS-Protection:
      - '0'
      expires:
      - Thu, 20 May 2021 15:41:57 GMT
    status:
      code: 302
      message: Found
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.25.1
    method: GET
    uri: https://codeload.github.com/projectcalico/calicoctl/legacy.tar.gz/refs/tags/v3.18.3
  response:
    body:
      string: Tarball content
    headers:
      Access-Control-Allow-Origin:
      - https://render.githubusercontent.com
      Content-Length:
      - '189754'
      Content-Security-Policy:
      - default-src 'none'; style-src 'unsafe-inline'; sandbox
      Content-Type:
      - application/x-gzip
      Date:
      - Thu, 20 May 2021 15:41:59 GMT
      ETag:
      - W/"cfad3294008d65888950ec519887f2168c17f28da16082ca52a2c89eff3fa6e7"
      Strict-Transport-Security:
      - max-age=31536000
      Vary:
      - Authorization,Accept-Encoding
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - deny
      X-GitHub-Request-Id:
      - AA6E:984D:F7902:1216E3:60A68346
      X-XSS-Protection:
      - 1; mode=block
      content-disposition:
      - attachment; filename=projectcalico-calicoctl-v3.18.3-0-g528c586.tar.gz
    status:
      code: 200
      message: OK
- request:
    body: Tarball content
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Authorization:
      - Basic cGVyc29uYWwtYWNjZXNzLXRva2VuOmd5U25rdXpMQnppeXhkU0JITkJ5
      Connection:
      - keep-alive
      Content-Length:
      - '189754'
      User-Agent:
      - python-requests/2.25.1
    method: PUT
    uri: http://127.0.0.1:3000/api/v4/projects/test%2Ftest_from_github/packages/generic/calicoctl/v3.18.3/calicoctl-v3.18.3.tar.gz
  response:
    body:
      string: '{"message":"201 Created"}'
    headers:
      Cache-Control:
      - max-age=0, private, must-revalidate
      Content-Length:
      - '25'
      Content-Type:
      - application/json
      Date:
      - Thu, 20 May 2021 15:42:01 GMT
      Etag:
      - W/"6025f9a740871d09d0230776e3dbc7bf"
      Vary:
      - Origin
      X-Content-Type-Options:
      - nosniff
      X-Frame-Options:
      - SAMEORIGIN
      X-Gitlab-Feature-Category:
      - package_registry
      X-Request-Id:
      - 01F6571KXZAAF3AECGQD5YNRBY
      X-Runtime:
      - '0.837338'
    status:
      code: 201
      message: Created
version: 1
