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

Fix issue 91 #94

Closed
wants to merge 3 commits into from
Closed

Fix issue 91 #94

wants to merge 3 commits into from

Conversation

jschaul
Copy link
Contributor

@jschaul jschaul commented Feb 16, 2022

Fix ordering of tasks so concourse can start up

Fixes #91

Without this, if CONCOURSE_BASE_RESOURCE_TYPE_DEFAULTS is defined, we can see the following error

cat /var/log/concourse/concourseci_web.log
    
error: invalid argument for flag `--base-resource-type-defaults' (expected flag.File): stat /mnt/concourse/resource-type-defaults.yml: no such file or directory

Due to concourse attempting to start up before that configuration file was written. This PR just changes the order.

lucendio and others added 3 commits November 27, 2020 21:53
In order to set resource type defaults, one may set the Ansible variable
'concourseci_web_resource_type_defaults'. The value of that variable will
be put into a YAML file - after the usual string interpolation happened.

The location of that file can be overridden by setting the appropriate
environment variable for the Concourse web node(s), e.g.:

  concourse_web_options:
    CONCOURSE_BASE_RESOURCE_TYPE_DEFAULTS: '/some/path/to/defaults.yml'
Fixes #91

Without this, if `CONCOURSE_BASE_RESOURCE_TYPE_DEFAULTS` is defined, we can see the following error

```
cat /var/log/concourse/concourseci_web.log

error: invalid argument for flag `--base-resource-type-defaults' (expected flag.File): stat /mnt/concourse/resource-type-defaults.yml: no such file or directory
```

Due to concourse attempting to start up before that configuration file
was written. This PR just changes the order.
@wireapp wireapp closed this by deleting the head repository Apr 2, 2024
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

Successfully merging this pull request may close these issues.

Concourse ATC checks for existence of resource-type-defaults.yuml
3 participants