Concourse v6.7.0 Release Notes

Release Date: 2020-10-29 // over 3 years ago
  • ๐Ÿš€ The primary focus of this release is to adapt to Docker Hub's upcoming rate limits for free users, which will take effect November 2.

    ๐Ÿš€ We recommend that anyone who uses images hosted on Docker Hub - either without authentication or with a free account - to upgrade to this release, which includes the following:

    • ๐Ÿš€ registry-image resource type v0.14.0 and docker-image resource type v1.5.0
      • Both resource types now use a HEAD request rather than GET during the check operation so that they don't count towards the rate limit. This was shipped in v6.6.0, but registries which do not support HEAD broke - now they'll fall back on GET.
    • ๐Ÿ”ง Ability to configure defaults for resource types (#6079).
      • The check fix is not enough in isolation - a large enough Concourse cluster might still run into rate limits when it comes time to fetch the image.
      • With resource type defaults, a cluster-wide pull-through cache may be configured by setting a default registry_mirror config for the registry-image resource type and the docker-image resource type. (Note that their configuration is slightly different.)

    More details follow!

    ๐Ÿฑ โœˆ๏ธ Features

    • ๐Ÿ‘ Allow configuring source "defaults" for resource types (#6079) @evanchaoli ๐Ÿ”—

    ๐Ÿ”ง With this feature, a cluster admin may configure default source configuration for core resource types on the web node. For example, when the following file is specified to ATC --base-resource-type-defaults=brt_default.yml:

    registry-image: registry\_mirror: host: 192.168.1.12:5000
    

    then all registry-image will pull images from the mirror 192.168.1.12:5000.

    0๏ธโƒฃ At pipeline level, defaults can be defined with resource types, for example:

    resource\_types: - name: rt-gitlabtype: registry-imagesource: repository: \<uri of a gitlab resource type\>defaults: url: \<gitlab url\>project: \<project-id\>resources: - name: gitlab-mrtype: rt-gitlabsource: kind: MergeRequest- name: gitlab-releasetype: rt-gitlabsource: kind: Release
    

    0๏ธโƒฃ In this sample, when defines the gitlab resource-type, GitLab url and project-id are defined as defaults of the resource type, so that all resources of the type will inherit those defaults.

    ๐Ÿฑ ๐Ÿž Bug Fixes

    • ๐Ÿฑ containerd does not grant access to /dev/console (#6181) @jamieklassen ๐Ÿ”—
      • If you are running concourse with the containerd backend inside a runc-managed process and your version of runc is v1.0.0-rc91 or above, creating privileged containers no longer fails with EPERM.