<#402 Respect project state in project.yaml file> ...
# flyte-github
a
#402 Respect project state in project.yaml file Pull request opened by katrogan TL;DR Project state specified in a project.yaml file is always overridden by the default config flag currently. This change updates project.yaml parsing to respect the state defined in the project.yaml file and only read from the config value when no project.yaml is defined. Type ☑︎ Bug Fix ☐ Feature ☐ Plugin Are all requirements met? ☑︎ Code completed ☑︎ Smoke tested ☐ Unit tests added ☐ Code documentation added ☐ Any pending items have an associated Issue Complete description Testing: • Tested by setting
state: 1
and then
state: 0
in project.yaml and verified the project was archived and activated as expected (see https://github.com/flyteorg/flyteidl/blob/master/protos/flyteidl/admin/project.proto#L37,L45 for enum values) • Also used command line flags
flytectl update project -p flytetester --archiveProject
and then
flytectl update project -p flytetester --activate
to verify the project archived and activated as expected Tracking Issue flyteorg/flyte#3605 Follow-up issue NA flyteorg/flytectl GitHub Actions: Generate documentation GitHub Actions: Goreleaser GitHub Actions: Bump Version 7 other checks have passed 7/10 successful checks