Skip to content

Conversation

@elegaanz
Copy link
Member

@elegaanz elegaanz commented Nov 4, 2025

It is not necessary anymore, as the archives are now fully immutable, and the correct cache headers are defined for each uploaded file.

It was causing the CI to fail these last days because Azure Front Door configuration changes are temporarily forbidden, following the recent outage.

It is not necessary anymore, as the archives are
now fully immutable, and the correct cache headers
are defined for each uploaded file.

It was causing the CI to fail these last days
because Azure Front Door configuration changes
are temporarily forbidden, following the recent
outage.
with:
inlineScript: az afd endpoint purge -g Landing-Page --profile-name LandingPage --content-paths '/*' --endpoint-name 'packages'

- name: logout
Copy link
Member Author

Choose a reason for hiding this comment

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

I'm not sure what was the reason for explicit log out, so I can't really tell if it is still necessary, but installing az just to be able to run az logout seemed a bit useless, so I removed this step too. As far as I can tell, azcopy gets its credentials from environment variables, and I don't think az logout clears that. I don't really think there is a security risk with having these variables set, as this job can only run on the main branch anyways.

Copy link
Member

Choose a reason for hiding this comment

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

azcopy gets its credentials on line 36 and stores them in the OS trust store if I understood this right so this is fine

Copy link
Member

@reknih reknih left a comment

Choose a reason for hiding this comment

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

LGTM

with:
inlineScript: az afd endpoint purge -g Landing-Page --profile-name LandingPage --content-paths '/*' --endpoint-name 'packages'

- name: logout
Copy link
Member

Choose a reason for hiding this comment

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

azcopy gets its credentials on line 36 and stores them in the OS trust store if I understood this right so this is fine

@elegaanz elegaanz merged commit 79b1389 into main Nov 4, 2025
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.

3 participants