Skip to content

Describe new platform:... sections - #31

Merged
lcarva merged 1 commit into
masterfrom
platform-description
Jul 28, 2017
Merged

lcarva merged 1 commit into
masterfrom
platform-description

Conversation

@twaugh

@twaugh twaugh commented Jul 28, 2017

Copy link
Copy Markdown
Member

These sections perform two functions:

  • set the GOARCH architecture name for each platform, if different from
    the platform name

  • allow publishing v1 images on a per-platform basis

Signed-off-by: Tim Waugh twaugh@redhat.com

@twaugh
twaugh requested a review from lcarva July 28, 2017 11:22
Comment thread docs/multiarch.rst Outdated
Platform description
~~~~~~~~~~~~~~~~~~~~

When a section name begins "platform:" it is interpreted not as an

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"begins with" ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed.

Comment thread docs/multiarch.rst Outdated

architecture (optional)
the GOARCH for the platform -- the platform name is assumed to be
the same as the GOARCH is this is not specified

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"if this" ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Fixed.

Comment thread docs/multiarch.rst
is required for. If no platform is specified, no node selector will be
used.

Platform description

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Instead of using a prefix to identify platform specific configurations, what if we introduced a new configuration file? osbs_platforms.yaml ?

Not sure if this makes the system more complicated overall. Just mentioning it now because we are unlikely to change it later on.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Ideally, the osbs configuration file would already be YAML and we'd add a new key alongside 'instances'.

I think it makes sense to have a single configuration file for this. After all, platform names are used elsewhere in this configuration file, so it's useful to have a nearby reference for what each platform is.

@twaugh
twaugh force-pushed the platform-description branch from ea7c585 to d013100 Compare July 28, 2017 12:53
These sections perform two functions:

* set the GOARCH architecture name for each platform, if different from
  the platform name

* allow publishing v1 images on a per-platform basis

Signed-off-by: Tim Waugh <twaugh@redhat.com>
@twaugh
twaugh force-pushed the platform-description branch from d013100 to 6ee078b Compare July 28, 2017 12:58
@twaugh

twaugh commented Jul 28, 2017

Copy link
Copy Markdown
Member Author

Updated, along with the new condition that only one platform is allowed to enable v1.

@lcarva
lcarva merged commit 1f1577d into master Jul 28, 2017
@twaugh
twaugh deleted the platform-description branch July 28, 2017 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants