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

Dashboard-as-Code actions & workflow #10

Merged
merged 33 commits into from
Dec 18, 2024
Merged

Conversation

AntoineThebaud
Copy link
Contributor

@AntoineThebaud AntoineThebaud commented Dec 6, 2024

This PR brings a 1rst version of a CICD "library" to set-up Dashboard-as-Code pipelines. More precisely, it adds:

  • a set of actions to perform the different commands of percli that are useful in the case of DaC (build, preview, deploy...)
  • a reusable DaC workflow. It is powered by the new actions. The default behavior for it is:
    • for a PR: build + validate + preview + diff
    • on default branch: build + validate + deploy

So in the end people can either use the standard DaC workflow, or import the actions to build their own one.

NB: when triggered by a PR, Preview & Diffs stages append comments that look like this:

image

Antoine THEBAUD added 12 commits December 4, 2024 11:42
Signed-off-by: Antoine THEBAUD <[email protected]>
Signed-off-by: Antoine THEBAUD <[email protected]>
Signed-off-by: Antoine THEBAUD <[email protected]>
Signed-off-by: Antoine THEBAUD <[email protected]>
Signed-off-by: Antoine THEBAUD <[email protected]>
Signed-off-by: Antoine THEBAUD <[email protected]>
Signed-off-by: Antoine THEBAUD <[email protected]>
Signed-off-by: Antoine THEBAUD <[email protected]>
@AntoineThebaud AntoineThebaud changed the title WIP WIP DaC workflow Dec 6, 2024
@AntoineThebaud AntoineThebaud force-pushed the antoinethebaud/action-dac branch 4 times, most recently from 3bf823f to d812fb8 Compare December 9, 2024 16:30
Antoine THEBAUD added 3 commits December 9, 2024 18:34
Signed-off-by: Antoine THEBAUD <[email protected]>
Signed-off-by: Antoine THEBAUD <[email protected]>
@AntoineThebaud AntoineThebaud force-pushed the antoinethebaud/action-dac branch 2 times, most recently from ea77227 to 21ebf3b Compare December 10, 2024 10:29
Signed-off-by: Antoine THEBAUD <[email protected]>
@AntoineThebaud AntoineThebaud force-pushed the antoinethebaud/action-dac branch from 21ebf3b to 58b87cc Compare December 10, 2024 10:42
@AntoineThebaud AntoineThebaud force-pushed the antoinethebaud/action-dac branch 4 times, most recently from 41b8db3 to 590b894 Compare December 10, 2024 12:32
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
@perses perses deleted a comment from github-actions bot Dec 12, 2024
Copy link

Dashboard previews

The following ephemeral dashboards have been deployed:

Copy link

Dashboard diffs

⯈ perses-github-actions-empty_dashboard:
No change

Signed-off-by: Antoine THEBAUD <[email protected]>
@AntoineThebaud AntoineThebaud force-pushed the antoinethebaud/action-dac branch from f3dce0e to 17c8685 Compare December 13, 2024 09:00
Copy link

Dashboard diffs

⯈ perses-github-actions-empty_dashboard:
No change

Copy link

Dashboard previews

The following ephemeral dashboards have been deployed:

Copy link
Member

@Nexucis Nexucis left a comment

Choose a reason for hiding this comment

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

thank you for your hard work on this topic @AntoineThebaud 🙏

Looks good to me overall. I think now we need to see it in action to ensure us everything is covered !

@AntoineThebaud AntoineThebaud merged commit 3abe302 into main Dec 18, 2024
7 checks passed
@Nexucis Nexucis deleted the antoinethebaud/action-dac branch December 19, 2024 13: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.

3 participants