Skip to content
This repository has been archived by the owner on Apr 20, 2022. It is now read-only.

Improve Concourse #70

Merged
merged 4 commits into from
Jul 28, 2017
Merged

Improve Concourse #70

merged 4 commits into from
Jul 28, 2017

Conversation

nebhale
Copy link
Contributor

@nebhale nebhale commented Jul 27, 2017

These changes are a step-by-step improvement on the existing Concourse scripting implementation. Some of the changes are significant some are just idiomatic formatting changes. At this point there is no change to how the pipeline itself works, just improvements to the Concourse configuration.

nebhale added 4 commits July 27, 2017 12:23
This change updates the pipeline definition to use the proper substitution
syntax for Concourse 3.2 and later.
This change updates the pipeline to make use of YAML references.  This allows
common blocks of code (like parameter groups) to be defined once and shared
between jobs.
This change modifies the format a bit to make it consistent across the entire
file.  This mostly has to do with the indention of YAML arrays.
The change improves the generate-version task. It does this by using a more
descriptive output name, using a local clone as recommended by the Concourse
team, and only configuring the local git repository.
APP_MEMORY_LIMIT: {{app-memory-limit}}
BUILD_OPTIONS: {{build-options}}
PAAS_TYPE: {{paas-type}}
common-params: &common-params
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is epic

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought you'd like that 😉

- name: repo
type: git
source:
uri: ((app-url))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it mandatory to use (( )) syntax, or does the {{ }} syntax still apply?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

{{ }} is now deprecated since curly braces are actually YAML syntax keywords (YAML flow syntax specifically source: {uri: https://...}). They never should have used it and are now in alignment with most other YAML templating systems.

@marcingrzejszczak marcingrzejszczak merged commit fcb6cad into spring-attic:master Jul 28, 2017
@marcingrzejszczak marcingrzejszczak added this to the 1.0.0.M6 milestone Jul 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

2 participants