<@UB89GSWCF> all is resolved here ready to merge <...
# atmos-dev
v
@Andriy Knysh (Cloud Posse) all is resolved here ready to merge https://github.com/cloudposse/atmos/pull/737
a
@Vinny please review this issue https://github.com/cloudposse/atmos/issues/780
it broke after we merged the PR
note that Atmos supports
vendor.yaml
and
component.yaml
(in the component directory)
looks like the
component.yaml
functionality is broken
v
a
@Vinny did it address the issue described in https://github.com/cloudposse/atmos/issues/780 ? both
vendor.yaml
and
component.yaml
(from the component's folder) must work. Note that 80% of the Atmos users still use
component.yaml
to vendor components, we need to maintain this functionality and fix any issues
we have the test for
component.yaml
in
Copy code
pkg/vender/component_vendor_test.go
examples/tests/components/terraform/infra/vpc-flow-logs-bucket/component.yaml
the logic of the
atmos vendor pull
command was as the following (and we need to maintain it): • Check if
vendor.yaml
file exists (after your changes, check it in multiple places defined in
atmos.yaml
• If
vendor.yaml
exists and a component is not passed in
atmos vendor pull
, use
vendor.yaml
to pull all components • If
vendor.yaml
does not exist and a component is not passed in, show an error • If component is passed in, and
vendor.yaml
exists, use it to vendor the component • Otherwise, search for
component.yaml
in the component's dir • If
component.yaml
exists, vendor the component • Otherwise, show an error
v
ok this has to be reworked then
this exactly logic has been applied now
a
thanks @Vinny, will review