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

Publishing dashboard assets to blob storage in preparation of docker image generation #1860

Merged
merged 4 commits into from
Feb 1, 2024

Conversation

joperezr
Copy link
Member

@joperezr joperezr commented Jan 25, 2024

Contributes to #1621

After chatting with @MichaelSimons, we agreed that in order for dotnet-docker repo to consume our build output, they require us to push our dashboard assets into blob storage. This PR is first ensuring that we create zips for each of the published platforms of the dashboard app, and then it adds them into the items to push to blob feed so that arcade can ensure that they get pushed.

FYI @lbussell

Microsoft Reviewers: Open in CodeFlow

@dotnet-issue-labeler dotnet-issue-labeler bot added the needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners label Jan 25, 2024
@joperezr joperezr added area-engineering-systems infrastructure helix infra engineering repo stuff and removed needs-area-label An area label is needed to ensure this gets routed to the appropriate area owners labels Jan 25, 2024
@joperezr joperezr requested a review from radical January 25, 2024 23:51
</PropertyGroup>

<ItemGroup>
<_InstallersToPublish Include="$(ArtifactsDir)**\*.wixpack.zip" Condition="'$(PostBuildSign)' == 'true'" />
<_InstallerManifestFilesToPublish Include="$(ArtifactsDir)VSSetup\$(Configuration)\Insertion\**\*.zip" />
<_DashboardFilesToPublish Include="$(DashboardPublishedArtifactsOutputPath)\**\*.zip" />
Copy link
Member

Choose a reason for hiding this comment

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

nit: this can be moved into the new target, and we can check that it is not empty.

Copy link
Member Author

Choose a reason for hiding this comment

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

Actually I had to remove this due to the fact that we currently (incorrectly) call publish more than once, and the first time we do so we haven't yet created the publish assets, so this is failing. I'll log an issue to track the work of simplifying our build (today it requires one call to build.cmd and one manual build of the workloads.proj, but ideally we would only need to call build.cmd). Once we move to that model, then we can add the check back.

@joperezr joperezr enabled auto-merge (squash) February 1, 2024 00:01
@joperezr joperezr merged commit 9a591b3 into dotnet:main Feb 1, 2024
8 checks passed
radical pushed a commit to radical/aspire that referenced this pull request Feb 2, 2024
…image generation (dotnet#1860)

* Publishing dashboard assets to blob storage in preparation of docker image generation

* Add definition of dashboard published directory to Publishing.props

* Address PR Feedback

* Remove error when empty dashboard publish assets
radical pushed a commit to radical/aspire that referenced this pull request Feb 6, 2024
…image generation (dotnet#1860)

* Publishing dashboard assets to blob storage in preparation of docker image generation

* Add definition of dashboard published directory to Publishing.props

* Address PR Feedback

* Remove error when empty dashboard publish assets
@github-actions github-actions bot locked and limited conversation to collaborators Apr 24, 2024
@joperezr joperezr deleted the PublishDashboardToBlobFeed branch May 16, 2024 20:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-engineering-systems infrastructure helix infra engineering repo stuff
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants