Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix nightly-sdk-generation #1983

Merged
merged 6 commits into from Sep 21, 2022
Merged

Fix nightly-sdk-generation #1983

merged 6 commits into from Sep 21, 2022

Conversation

thomas11
Copy link
Contributor

@thomas11 thomas11 commented Sep 21, 2022

This nightly job started failing a few days ago, probably due to the merge of #1975.

The commits so far fix

  • The "clean" step of the workflow needs to remove more than make clean does.
  • find bin ... fails on a fresh clone with no bin.
  • pulumictl get version fails because the Git clone has no tags

    Error: error calculating version: getting language versions: error determining base versionComponents: mostRecentTag: object not found

Still failing at this point: local_generate, with many errors like this:

duplicate resource Network:CustomIPPrefix from 2021-08-01 and 2022-05-01

Unfortunately, adding the fetch_depth: 0 option to the git checkout step adds about six minutes. But it's currently the only way to get tags, until the GH maintainers stop ignoring this.

@thomas11 thomas11 changed the title Fix nightly-sdk-generation [WIP] Fix nightly-sdk-generation Sep 21, 2022
@github-actions
Copy link

Does the PR have any schema changes?

Looking good! No breaking changes found.
No new resources/functions.
Looking good! No API changes found.

Copy link
Member

@danielrbradley danielrbradley left a comment

Choose a reason for hiding this comment

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

Spot on!

@thomas11
Copy link
Contributor Author

Spot on!

but not enough @danielrbradley :) It's still failing, see the PR description. Latest run.

@thomas11 thomas11 linked an issue Sep 21, 2022 that may be closed by this pull request
@thomas11 thomas11 changed the title [WIP] Fix nightly-sdk-generation Fix nightly-sdk-generation Sep 21, 2022
@thomas11 thomas11 added the impact/no-changelog-required This issue doesn't require a CHANGELOG update label Sep 21, 2022
@thomas11 thomas11 merged commit b4f4636 into master Sep 21, 2022
@pulumi-bot pulumi-bot deleted the tkappler/nightly-sdk-clean branch September 21, 2022 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact/no-changelog-required This issue doesn't require a CHANGELOG update
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Nightly SDK generation fails in "Cleanup SDK Folder"
2 participants