Uploaded image for project: 'Infrastructure'
  1. Infrastructure
  2. INFRA-1180

Deploy repo.azure.jenkins.io on Kubernetes

    Details

    • Similar Issues:

      Description

      Needed for INFRA-1176

      In order to complete this task, following https request must work

      Request to be cached like:

      ```

      curl -I https://repo.azure.jenkins.io/releases/cf/pgmann/plugins/url-auth-sso/1.0/url-auth-sso-1.0-javadoc.jar

      should return

      HTTP/2 200
      server: nginx/1.11.10
      date: Tue, 16 May 2017 11:10:47 GMT
      content-type: application/java-archive
      content-length: 43712
      x-artifactory-id: aoljenkinsci1b-jenkinsci
      x-artifactory-node-id: jenkinsci-m
      last-modified: Fri, 10 Jun 2016 14:49:15 GMT
      etag: 71ee3a01fc143d211e017c11d634fe2f5c6c798f
      x-checksum-sha1: 71ee3a01fc143d211e017c11d634fe2f5c6c798f
      x-checksum-md5: 450fe2a73797231f6a5fbac9f71b212a
      x-artifactory-filename: url-auth-sso-1.0-javadoc.jar
      content-disposition: attachment; filename="url-auth-sso-1.0-javadoc.jar"; filename*=UTF-8''url-auth-sso-1.0-javadoc.jar
      x-node: nginx-shared3b.gcoss-use1
      via: 1.1 google
      alt-svc: clear
      x-cache-status: HIT
      accept-ranges: bytes
      strict-transport-security: max-age=15724800; preload

      ```

      Non caching request like:

      ```

      curl -I https://repo.azure.jenkins.io/snapshots/jenkins/repository/1.1-SNAPSHOT/repository-1.1-20140112.102452-1-javadoc.jar

      should return

      HTTP/2 200
      server: nginx/1.11.10
      date: Tue, 16 May 2017 11:10:54 GMT
      content-type: application/java-archive
      content-length: 529034
      x-artifactory-id: aoljenkinsci1b-jenkinsci
      x-artifactory-node-id: jenkinsci-m
      last-modified: Sun, 12 Jan 2014 10:25:37 GMT
      etag: 96c6586ed8212223c1face2e9e3cccfe335bcd02
      x-checksum-sha1: 96c6586ed8212223c1face2e9e3cccfe335bcd02
      accept-ranges: bytes
      x-checksum-md5: e1f7797f12083185bf776c0f6f14f9cd
      x-artifactory-filename: repository-1.1-20140112.102452-1-javadoc.jar
      content-disposition: attachment; filename="repository-1.1-20140112.102452-1-javadoc.jar"; filename*=UTF-8''repository-1.1-20140112.102452-1-javadoc.jar
      x-node: nginx-shared3c.gcoss-use1
      via: 1.1 google
      alt-svc: clear
      strict-transport-security: max-age=15724800; preload

       

      ! Without header x-cache-status

      ```

        Attachments

          Issue Links

            Activity

            Hide
            olblak Olivier Vernin added a comment -

            This ticket rely on this PR

            Show
            olblak Olivier Vernin added a comment - This ticket rely on this PR
            Hide
            olblak Olivier Vernin added a comment - - edited

            The only missing part is azure file storage configuration in this PR

            ```

            profile::kubernetes::resources::repo_proxy::storage_account_name

            profile::kubernetes::resources::repo_proxy::storage_account_key

            ```

            Show
            olblak Olivier Vernin added a comment - - edited The only missing part is azure file storage configuration in this PR ``` profile::kubernetes::resources::repo_proxy::storage_account_name profile::kubernetes::resources::repo_proxy::storage_account_key ```
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: R. Tyler Croy
            Path:
            hieradata/env/production.yaml
            http://jenkins-ci.org/commit/jenkins-infra/631ba6d38ce3088759d11708f78df8ec80cde70b
            Log:
            Provide production credentials for the repo-proxy

            Related INFRA-1180

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: R. Tyler Croy Path: hieradata/env/production.yaml http://jenkins-ci.org/commit/jenkins-infra/631ba6d38ce3088759d11708f78df8ec80cde70b Log: Provide production credentials for the repo-proxy Related INFRA-1180
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: R. Tyler Croy
            Path:
            dist/profile/files/bind/jenkins.io.zone
            dist/profile/manifests/kubernetes/resources/repo_proxy.pp
            dist/profile/templates/kubernetes/resources/repo_proxy/deployment.yaml.erb
            dist/profile/templates/kubernetes/resources/repo_proxy/ingress-tls.yaml.erb
            dist/profile/templates/kubernetes/resources/repo_proxy/secret.yaml.erb
            dist/profile/templates/kubernetes/resources/repo_proxy/service.yaml.erb
            dist/role/manifests/kubernetes.pp
            hieradata/common.yaml
            hieradata/env/production.yaml
            spec/classes/profile/kubernetes/repo_proxy_spec.rb
            spec/classes/role/kubernetes.rb
            spec/server/kubernetes/repo_proxy_spec.rb
            http://jenkins-ci.org/commit/jenkins-infra/401e51a45296566d8b061a8e0d05ce0cac2f78d0
            Log:
            Merge pull request #749 from olblak/kubernetes/repo-proxy

            INFRA-1180 Caching proxy for repo.jenkins-ci.org

            Compare: https://github.com/jenkins-infra/jenkins-infra/compare/c9f151c3219a...401e51a45296

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: R. Tyler Croy Path: dist/profile/files/bind/jenkins.io.zone dist/profile/manifests/kubernetes/resources/repo_proxy.pp dist/profile/templates/kubernetes/resources/repo_proxy/deployment.yaml.erb dist/profile/templates/kubernetes/resources/repo_proxy/ingress-tls.yaml.erb dist/profile/templates/kubernetes/resources/repo_proxy/secret.yaml.erb dist/profile/templates/kubernetes/resources/repo_proxy/service.yaml.erb dist/role/manifests/kubernetes.pp hieradata/common.yaml hieradata/env/production.yaml spec/classes/profile/kubernetes/repo_proxy_spec.rb spec/classes/role/kubernetes.rb spec/server/kubernetes/repo_proxy_spec.rb http://jenkins-ci.org/commit/jenkins-infra/401e51a45296566d8b061a8e0d05ce0cac2f78d0 Log: Merge pull request #749 from olblak/kubernetes/repo-proxy INFRA-1180 Caching proxy for repo.jenkins-ci.org Compare: https://github.com/jenkins-infra/jenkins-infra/compare/c9f151c3219a...401e51a45296
            Hide
            olblak Olivier Vernin added a comment -

            Dns record 'repo.azure.jenkins.io' is not yet correctly propagated but if we use one of jenkins dns server to query repo.azure.jenkins.io.

            It work as expected, so let's wait that everything works correctly before closing this ticket.


            '* 10:01 olblak@oros ~% curl -I https://repo.azure.jenkins.io/releases/cf/pgmann/plugins/url-auth-sso/1.0/url-auth-sso-1.0-javadoc.jar
            HTTP/2 200
            server: nginx/1.11.10
            date: Thu, 18 May 2017 08:01:54 GMT
            content-type: application/java-archive
            content-length: 43712
            x-artifactory-id: aoljenkinsci1b-jenkinsci
            x-artifactory-node-id: jenkinsci-m
            last-modified: Fri, 10 Jun 2016 14:49:15 GMT
            etag: 71ee3a01fc143d211e017c11d634fe2f5c6c798f
            x-checksum-sha1: 71ee3a01fc143d211e017c11d634fe2f5c6c798f
            x-checksum-md5: 450fe2a73797231f6a5fbac9f71b212a
            x-artifactory-filename: url-auth-sso-1.0-javadoc.jar
            content-disposition: attachment; filename="url-auth-sso-1.0-javadoc.jar"; filename*=UTF-8''url-auth-sso-1.0-javadoc.jar
            x-node: nginx-shared4c.gcoss-use1
            via: 1.1 google
            alt-svc: clear
            x-cache-status: HIT
            accept-ranges: bytes
            strict-transport-security: max-age=15724800; preload


            Show
            olblak Olivier Vernin added a comment - Dns record 'repo.azure.jenkins.io' is not yet correctly propagated but if we use one of jenkins dns server to query repo.azure.jenkins.io. It work as expected, so let's wait that everything works correctly before closing this ticket. '* 10:01 olblak@oros ~% curl -I https://repo.azure.jenkins.io/releases/cf/pgmann/plugins/url-auth-sso/1.0/url-auth-sso-1.0-javadoc.jar HTTP/2 200 server: nginx/1.11.10 date: Thu, 18 May 2017 08:01:54 GMT content-type: application/java-archive content-length: 43712 x-artifactory-id: aoljenkinsci1b-jenkinsci x-artifactory-node-id: jenkinsci-m last-modified: Fri, 10 Jun 2016 14:49:15 GMT etag: 71ee3a01fc143d211e017c11d634fe2f5c6c798f x-checksum-sha1: 71ee3a01fc143d211e017c11d634fe2f5c6c798f x-checksum-md5: 450fe2a73797231f6a5fbac9f71b212a x-artifactory-filename: url-auth-sso-1.0-javadoc.jar content-disposition: attachment; filename="url-auth-sso-1.0-javadoc.jar"; filename*=UTF-8''url-auth-sso-1.0-javadoc.jar x-node: nginx-shared4c.gcoss-use1 via: 1.1 google alt-svc: clear x-cache-status: HIT accept-ranges: bytes strict-transport-security: max-age=15724800; preload
            Hide
            olblak Olivier Vernin added a comment -

            Cached and non cached queries work as expected

            Show
            olblak Olivier Vernin added a comment - Cached and non cached queries work as expected

              People

              • Assignee:
                rtyler R. Tyler Croy
                Reporter:
                olblak Olivier Vernin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: