Skip to content
This repository has been archived by the owner on Jul 11, 2023. It is now read-only.

Explore ytt for our Concourse pipelines #209

Closed
gcapizzi opened this issue Apr 22, 2021 · 1 comment
Closed

Explore ytt for our Concourse pipelines #209

gcapizzi opened this issue Apr 22, 2021 · 1 comment
Labels

Comments

@gcapizzi
Copy link
Contributor

gcapizzi commented Apr 22, 2021

At the moment our Concourse pipelines are built on top of Aviator which in turn is based on Spruce.

The current solution features a lot of indirection, with aviator.yml files glueing lots of small files together and no place showing the structure of the pipeline. We load config values by merging a config section to the YAML (which is ignored by Concourse) and then grab them.

I propose we try to use ytt to simplify our pipelines without losing the possibility to reuse jobs and resources. Interesting features to look at:

  • data.read() to inject the content of a text file (could be used instead of file e.g. here).
  • @data/values to load config values (instead of having a config block and grab like here).
  • Functions to abstract YAML fragments with parameters. I suspect this could replace many config values.
@gcapizzi gcapizzi added the chore label Apr 22, 2021
@gcapizzi gcapizzi self-assigned this Apr 22, 2021
gcapizzi added a commit to cloudfoundry/eirini-ci that referenced this issue Apr 27, 2021
gcapizzi added a commit to cloudfoundry/eirini-ci that referenced this issue Apr 27, 2021
gcapizzi added a commit to cloudfoundry/eirini-ci that referenced this issue Apr 27, 2021
gcapizzi added a commit to cloudfoundry/eirini-ci that referenced this issue Apr 27, 2021
kieron-dev pushed a commit to cloudfoundry/eirini-ci that referenced this issue Apr 27, 2021
gcapizzi added a commit to eirini-forks/cf-for-k8s that referenced this issue Apr 28, 2021
[cloudfoundry/eirini-release#209]

Co-authored-by: Kieron Browne <kbrowne@vmware.com>
gcapizzi added a commit that referenced this issue Apr 28, 2021
instance_index_env_injector and resource_validator

[#206]

Co-authored-by: Giuseppe Capizzi <gcapizzi@pivotal.io>
Issue: #206
Issue: #209
kieron-dev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 6, 2021
[cloudfoundry/eirini-release#209]
wip

Co-authored-by: Kieron Browne <kbrowne@vmware.com>
kieron-dev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 6, 2021
[cloudfoundry/eirini-release#209]
wip

Co-authored-by: Giuseppe Capizzi <gcapizzi@pivotal.io>
gcapizzi added a commit to cloudfoundry/eirini-ci that referenced this issue May 10, 2021
[cloudfoundry/eirini-release#209]
wip

Co-authored-by: Kieron Browne <kbrowne@vmware.com>
Issue: cloudfoundry/eirini-release#209
gcapizzi added a commit to cloudfoundry/eirini-ci that referenced this issue May 10, 2021
[cloudfoundry/eirini-release#209]
wip

Co-authored-by: Giuseppe Capizzi <gcapizzi@pivotal.io>
Issue: cloudfoundry/eirini-release#209
gcapizzi added a commit to cloudfoundry/eirini-ci that referenced this issue May 10, 2021
Co-authored-by: Kieron Browne <kbrowne@vmware.com>
Issue: cloudfoundry/eirini-release#209
gcapizzi added a commit to cloudfoundry/eirini-ci that referenced this issue May 10, 2021
Co-authored-by: Giuseppe Capizzi <gcapizzi@pivotal.io>
Issue: cloudfoundry/eirini-release#209
gcapizzi added a commit to cloudfoundry/eirini-ci that referenced this issue May 10, 2021
Co-authored-by: Kieron Browne <kbrowne@vmware.com>
Issue: cloudfoundry/eirini-release#209
gcapizzi added a commit to cloudfoundry/eirini-ci that referenced this issue May 10, 2021
Co-authored-by: Giuseppe Capizzi <gcapizzi@pivotal.io>
Issue: cloudfoundry/eirini-release#209
gcapizzi added a commit to cloudfoundry/eirini-ci that referenced this issue May 10, 2021
Co-authored-by: Kieron Browne <kbrowne@vmware.com>
Issue: cloudfoundry/eirini-release#209
gcapizzi added a commit to cloudfoundry/eirini-ci that referenced this issue May 10, 2021
Co-authored-by: Mario Nitchev <marionitchev@gmail.com>
Issue: cloudfoundry/eirini-release#209
gcapizzi added a commit to cloudfoundry/eirini-ci that referenced this issue May 10, 2021
Co-authored-by: Giuseppe Capizzi <gcapizzi@pivotal.io>
Issue: cloudfoundry/eirini-release#209
Co-authored-by: Mario Nitchev <marionitchev@gmail.com>
Issue: cloudfoundry/eirini-release#209
gcapizzi added a commit to cloudfoundry/eirini-ci that referenced this issue May 10, 2021
Co-authored-by: Giuseppe Capizzi <gcapizzi@pivotal.io>
Issue: cloudfoundry/eirini-release#209
@gcapizzi gcapizzi removed their assignment May 11, 2021
mnitchev added a commit to cloudfoundry/eirini-ci that referenced this issue May 11, 2021
Co-authored-by: Giuseppe Capizzi <gcapizzi@pivotal.io>
Issue: cloudfoundry/eirini-release#209
mnitchev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 11, 2021
Co-authored-by: Kieron Browne <kbrowne@vmware.com>
Co-authored-by: Giuseppe Capizzi <gcapizzi@pivotal.io>
Issue: cloudfoundry/eirini-release#209
mnitchev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 11, 2021
Co-authored-by: Kieron Browne <kbrowne@vmware.com>
Issue: cloudfoundry/eirini-release#209
mnitchev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 11, 2021
Co-authored-by: Giuseppe Capizzi <gcapizzi@pivotal.io>
Issue: cloudfoundry/eirini-release#209
mnitchev added a commit to cloudfoundry/eirini-ci that referenced this issue May 11, 2021
Co-authored-by: Kieron Browne <kbrowne@vmware.com>
Co-authored-by: Mario Nitchev <marionitchev@gmail.com>
Issue: cloudfoundry/eirini-release#209
mnitchev added a commit to cloudfoundry/eirini-ci that referenced this issue May 11, 2021
Co-authored-by: Giuseppe Capizzi <gcapizzi@pivotal.io>
Issue: cloudfoundry/eirini-release#209
Co-authored-by: Mario Nitchev <marionitchev@gmail.com>
Issue: cloudfoundry/eirini-release#209
mnitchev added a commit to cloudfoundry/eirini-ci that referenced this issue May 11, 2021
Co-authored-by: Giuseppe Capizzi <gcapizzi@pivotal.io>
Issue: cloudfoundry/eirini-release#209
mnitchev added a commit to cloudfoundry/eirini-ci that referenced this issue May 11, 2021
mnitchev added a commit to cloudfoundry/eirini-ci that referenced this issue May 11, 2021
mnitchev added a commit to cloudfoundry/eirini-ci that referenced this issue May 12, 2021
@kieron-dev kieron-dev assigned kieron-dev and unassigned mnitchev May 12, 2021
kieron-dev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 12, 2021
kieron-dev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 12, 2021
kieron-dev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 12, 2021
kieron-dev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 12, 2021
kieron-dev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 13, 2021
kieron-dev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 13, 2021
kieron-dev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 13, 2021
kieron-dev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 14, 2021
kieron-dev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 14, 2021
And export those libs in structs to make loading require a single
resource id.

Issue: cloudfoundry/eirini-release#209
kieron-dev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 14, 2021
kieron-dev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 14, 2021
This controls whether CF is automatically deleted and redeployed on a
timer.

Issue: cloudfoundry/eirini-release#209
kieron-dev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 14, 2021
kieron-dev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 14, 2021
kieron-dev pushed a commit to cloudfoundry/eirini-ci that referenced this issue May 14, 2021
@kieron-dev
Copy link
Contributor

All pipelines migrated to use YTT templating. Old aviator config removed.

@kieron-dev kieron-dev removed their assignment May 17, 2021
kieron-dev pushed a commit to eirini-forks/cf-for-k8s that referenced this issue Sep 1, 2021
[cloudfoundry/eirini-release#209]

Co-authored-by: Kieron Browne <kbrowne@vmware.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants