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 anddocker-image
resource type v1.5.0- Both resource types now use a
HEAD
request rather thanGET
during thecheck
operation so that they don't count towards the rate limit. This was shipped in v6.6.0, but registries which do not supportHEAD
broke - now they'll fall back onGET
.
- Both resource types now use a
- ๐ง 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 theregistry-image
resource type and thedocker-image
resource type. (Note that their configuration is slightly different.)
- The
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 theweb
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 mirror192.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.
- ๐