Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base_resource_type_defaults does not start concourse if you set #135

Open
dohq opened this issue Nov 18, 2020 · 0 comments
Open

base_resource_type_defaults does not start concourse if you set #135

dohq opened this issue Nov 18, 2020 · 0 comments

Comments

@dohq
Copy link

dohq commented Nov 18, 2020

Bug Report

  • Concourse version: v6.7.1
  • Deployment type (BOSH/Docker/binary): BOSH
  • Infrastructure/IaaS: AWS
  • Browser (if applicable): nop

The following can also be handy

Added the following ops-file to support the pull limit of dockerhub.

- type: replace
  path: /instance_groups/name=concourse/jobs/name=web/properties?/base_resource_type_defaults
  value:
    registry-image:
      registry_mirror:
        host: https://<<docker-proxy-url>>

The following errors are output in the concourse log

+ [[ vcap != '' ]]
+ chown vcap:vcap /var/vcap/jobs/web/config/env/CONCOURSE_TSA_HOST_KEY
+ chmod 0600 /var/vcap/jobs/web/config/env/CONCOURSE_TSA_HOST_KEY
error: invalid argument for flag `--base-resource-type-defaults' (expected flag.File): stat registry-image:/var/vcap/jobs/web/config/env/CONCOURSE_BASE_RESOURCE_TYPE_DEFAULTS_registry-image: no such file or directory

The content of bpm.yml looks like this, with a registry-image:/ prefix

CONCOURSE_BASE_RESOURCE_TYPE_DEFAULTS: "registry-image:/var/vcap/jobs/web/config/env/CONCOURSE_BASE_RESOURCE_TYPE_DEFAULTS_registry-image"

I want to see if the content of the ops-files is bad or a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant