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

Fetch apps from publish run #379

Merged
merged 2 commits into from
Feb 29, 2024
Merged

Fetch apps from publish run #379

merged 2 commits into from
Feb 29, 2024

Conversation

mike-sul
Copy link
Contributor

  • Fetch apps from the publish run if the download uri is specified in the target custom data.
  • If not, then fallback to fetching apps from the assemble run. It requires fetching of the corresponding CI target json if the specified target is a prod or a wave target.

@mike-sul
Copy link
Contributor Author

This is the corresponding changes in ci-scripts foundriesio/ci-scripts#324.

- Use the custom data of the CI/wave/prod target by default
- Fetch the corresponding CI target and use its custom data only if apps
  download is required and this is a prod or a wave target.

Signed-off-by: Mike Sul <mike.sul@foundries.io>
- Fetch apps from the publish run if the download uri is specified in
  the target custom data.
- If not, then fallback to fetching apps from the assemble run. It
  requires fetching of the corresponding CI target json if the
  specified target is prod or wave target.

Signed-off-by: Mike Sul <mike.sul@foundries.io>
Copy link
Member

@vkhoroz vkhoroz left a comment

Choose a reason for hiding this comment

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

LGTM

@mike-sul lets merge it.
Do you mind to include this into today's Fioctl release?

@mike-sul
Copy link
Contributor Author

LGTM

@mike-sul lets merge it. Do you mind to include this into today's Fioctl release?

ok.

@mike-sul mike-sul merged commit 3796280 into main Feb 29, 2024
8 checks passed
@mike-sul mike-sul deleted the fetch-apps-from-publish-run branch February 29, 2024 15:53
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.

2 participants