[go: up one dir, main page]

Skip to content

Add devfile validation to explicitly disallow usage of mountSources and sourceMapping until we support them.

MR: Disallow usage of mountSources and sourceMappin... (!199305 - merged) • Omar Nasser • 18.4

Description

Overview

Add devfile validation to explicitly disallow usage of mountSources and sourceMapping until we support them.

See this comment on Add support for container specific postStart ev... (#553096 - closed) • Daniyal Arshad, Ashvin Sharma • 18.5 for context.

Details

We don't seem to be handling at all the devfile standards for mountSources and sourceMapping.

We should explicitly disable them in the devfile validation until we can add support for them.

Acceptance criteria

  • If mountSources or sourceMapping appears in a devfile, the validation should fail
  • User-facing documentation should be updated accordingly

Implementation plan

  • These changes will be added to ee/lib/remote_development/devfile_operations/restrictions_enforcer.rb
  • Doc updates will be made in doc/user/workspace/_index.md
Edited by Chad Woolley