Skip to content

Conversation

@reakaleek
Copy link
Member

@reakaleek reakaleek commented Jan 13, 2025

Context

We want to upload the links.json file to the Link Index (s3 bucket) for later validation.

Changes

This adds the --upload-to-link-index option, which uploads the links.json file to the s3 bucket.

It only happens under certain conditions, e.g.:

  • when it's running on main
  • if it's can derive the repository name from the GITHUB_REPOSITORY environment variable

@reakaleek reakaleek self-assigned this Jan 13, 2025
@reakaleek reakaleek requested a review from a team January 13, 2025 15:31
@reakaleek reakaleek marked this pull request as ready for review January 13, 2025 15:38
@reakaleek reakaleek requested a review from Mpdreamz January 13, 2025 15:40
Copy link
Member

@Mpdreamz Mpdreamz left a comment

Choose a reason for hiding this comment

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

Codewise this looks great!

I do think this would be better off in an isolated binary. Purely to keep dependencies in docs-builder itself light.

@reakaleek
Copy link
Member Author

We decided to use the aws cli in the github actions workflow for now.

@reakaleek reakaleek closed this Jan 14, 2025
@Mpdreamz Mpdreamz deleted the feature/upload-to-links-index branch June 12, 2025 12:19
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