Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Adds the preflight release_stage [ATLAS-645] #111

Merged
merged 1 commit into from
Mar 22, 2022
Merged

Conversation

Azurelol
Copy link
Contributor

Description

Adds support for the preflight release stage.

Changes

  • ADD Support for the newer preflight release stage, as a task
  • UPDATE atlas-version to 1.1+, as it includes the newer release stage and wdk strategy.

Copy link
Member

@Larusso Larusso left a comment

Choose a reason for hiding this comment

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

Can we also set the version scheme to wdk by default? So we don't need to change this in every wdk. We need to remove the property anyways in all repos we want to integrate this but just in case,

@@ -440,6 +440,7 @@ class ReleasePluginIntegrationSpec extends IntegrationSpec {
"final" | false
"release" | false
"rc" | true
"pre" | true
Copy link
Member

Choose a reason for hiding this comment

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

I thought we call it prefligh everywhere

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I thought pre is one of the possible inputs for the preflight. I guess we should add preflight as well?
I mean back in the atlas-version wdk strategy.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I am adding it onto atlas-version.

@Azurelol Azurelol force-pushed the add/preflight_task branch from eeeb199 to 459ffcf Compare March 21, 2022 14:47
@Azurelol Azurelol requested a review from Larusso March 21, 2022 14:54
Comment on lines 131 to 147
// TODO: Do we need to map this here if the version plugin itself already watches this property (version.scheme)?
// TODO: Set only the convention to 'wdk' here?
//def versionScheme = project.properties.getOrDefault("version.scheme", VERSION_SCHEME_DEFAULT)
// versionExtension.with {
// switch (versionScheme) {
// case VERSION_SCHEME_SEMVER_2:
// versionExtension.versionScheme(VersionScheme.semver2)
// break
// case VERSION_SCHEME_SEMVER_1:
// versionExtension.versionScheme(VersionScheme.semver)
// break
// case VERSION_SCHEME_WDK:
// versionExtension.versionScheme(VersionScheme.wdk)
// break
// }
// }
versionExtension.versionScheme.convention(VersionScheme.wdk)
Copy link
Member

Choose a reason for hiding this comment

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

No I mean adjusting the VERSION_SCHEME_DEFAULT to point to wdk

Copy link
Member

Choose a reason for hiding this comment

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

Or wait. Scrap this. Leave the old way for now and we deal with this in the WDKs for now.

@Azurelol Azurelol force-pushed the add/preflight_task branch from 151401e to 279bf5b Compare March 22, 2022 10:27
@Azurelol Azurelol changed the title Adds the preflight release_stage as a task Adds the preflight release_stage Mar 22, 2022
@Azurelol Azurelol requested a review from Larusso March 22, 2022 10:56
@Azurelol Azurelol merged commit 7673085 into master Mar 22, 2022
@Azurelol Azurelol deleted the add/preflight_task branch March 22, 2022 11:11
@Azurelol Azurelol changed the title Adds the preflight release_stage Adds the preflight release_stage [ATLAS-645] Mar 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants