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

Feature/cicd builds #41

Merged
merged 2 commits into from
Dec 12, 2024

Conversation

StaticRocket
Copy link
Member

Automatic builds and deployment to GitHub pages for any updates to the master branch.

Use a matrix to parallelize building the docs for listed DEVFAMILY and
OS combinations. Aggregate the results to build an expected pages
artifact. Deploy the monolithic artifact to GitHub pages.

If any platform fails for any reason, the arguments and logs for that
build will be logged under a separate section of this workflow, and the
results should not be deployed.


Fair warning, I have tested the build and aggregation step, but I am not currently able to test the deployment step as my master branch is still locked up in the codeowners draft. I'd appreciate someone taking a look at this on their fork.

@StaticRocket
Copy link
Member Author

StaticRocket commented Nov 30, 2024

Required for #20

@cshilwant
Copy link
Member

Fair warning, I have tested the build and aggregation step, but I am not currently able to test the deployment step as my master branch is still locked up in the codeowners draft. I'd appreciate someone taking a look at this on their fork.

@jeevantelukula Can you help in validating it on your personal fork once

@cshilwant
Copy link
Member

@aniket-l for reviews

@jeevantelukula
Copy link
Collaborator

Fair warning, I have tested the build and aggregation step, but I am not currently able to test the deployment step as my master branch is still locked up in the codeowners draft. I'd appreciate someone taking a look at this on their fork.

@jeevantelukula Can you help in validating it on your personal fork once

build workflow works fine. For deploy workflow, there is issue with GITHUB_TOKEN permissions. I would suggest to add permissions block in deploy.yml

No need to create these artifacts. We don't do anything with them and
the repo source is publicly available anyway.

Signed-off-by: Randolph Sapp <[email protected]>
Use a matrix to parallelize building the docs for listed DEVFAMILY and
OS combinations. Aggregate the results to build an expected pages
artifact. Deploy the monolithic artifact to GitHub pages.

If any platform fails for any reason, the arguments and logs for that
build will be logged under a separate section of this workflow, and the
results should not be deployed.

Signed-off-by: Randolph Sapp <[email protected]>
@jeevantelukula
Copy link
Collaborator

jeevantelukula commented Dec 5, 2024

@StaticRocket After build.yml executed github-pages artifacts are generated. When deploy.yml executes, it is unable to find the github-pages artifacts in the workflow.
Logs: https://gist.githubusercontent.com/jeevantelukula/63a834cd32a419b479256f1dfbf6a661/raw/a016222c467b94e05d920270903474339a183983/gistfile1.txt

@cshilwant
Copy link
Member

@StaticRocket After build.yml executed github-pages artifacts are generated. When deploy.yml executes, it is unable to find the github-pages artifacts in the workflow. Logs: https://gist.githubusercontent.com/jeevantelukula/63a834cd32a419b479256f1dfbf6a661/raw/a016222c467b94e05d920270903474339a183983/gistfile1.txt

@StaticRocket Can you checkout

@cshilwant
Copy link
Member

@jeevantelukula Can you re-review

@StaticRocket
Copy link
Member Author

Example deployment here: https://staticrocket.github.io/processor-sdk-doc/

Copy link
Collaborator

@jeevantelukula jeevantelukula left a comment

Choose a reason for hiding this comment

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

LGTM

@cshilwant cshilwant requested a review from a team December 12, 2024 14:08
@cshilwant cshilwant merged commit 2d64c49 into TexasInstruments:master Dec 12, 2024
2 of 3 checks passed
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.

5 participants