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

Authenticate with the Storage Container to upload Playwright reports #94

Merged
merged 2 commits into from
Oct 25, 2023

Conversation

DrizzlyOwl
Copy link
Collaborator

@DrizzlyOwl DrizzlyOwl commented Aug 9, 2023

Adding an extra step onto the deployment tests workflow allows us to push playwright reports discreetly onto Azure Blob Storage without holding any artefacts in GitHub workflows.

This is necessary because if a playwright test fails, it will include any and all HTML POSTed values, which includes the potential of a username/password combination. We dont want that to be exposed in public CI artefacts.

The CI workflow authenticates using a Service Principal which has authority to act on the Storage Account.

The Terraform also outputs a SAS URL which allows humans to connect to the Storage Container using something like Azure Storage Explorer to read the playwright reports if they don't have direct access via the Azure Portal.

@DrizzlyOwl DrizzlyOwl temporarily deployed to development August 9, 2023 16:37 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl temporarily deployed to development August 9, 2023 16:39 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl temporarily deployed to development August 9, 2023 16:40 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl force-pushed the github-workflows-azure-storage branch from d112832 to e8bcecc Compare August 9, 2023 16:43
@DrizzlyOwl DrizzlyOwl temporarily deployed to development August 9, 2023 16:44 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl temporarily deployed to development August 9, 2023 16:45 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl temporarily deployed to development August 9, 2023 16:47 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl force-pushed the github-workflows-azure-storage branch from e8bcecc to b745013 Compare August 9, 2023 16:57
@DrizzlyOwl DrizzlyOwl temporarily deployed to development August 9, 2023 17:01 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl temporarily deployed to development August 9, 2023 17:03 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl temporarily deployed to development August 9, 2023 17:04 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl marked this pull request as draft August 10, 2023 14:33
@DrizzlyOwl DrizzlyOwl force-pushed the github-workflows-azure-storage branch from b745013 to 5151ba4 Compare August 14, 2023 09:17
@DrizzlyOwl DrizzlyOwl temporarily deployed to development August 14, 2023 09:18 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl temporarily deployed to development August 14, 2023 09:20 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl force-pushed the github-workflows-azure-storage branch from 5151ba4 to 2804f98 Compare August 18, 2023 11:18
@DrizzlyOwl DrizzlyOwl temporarily deployed to development August 18, 2023 11:19 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl temporarily deployed to development August 18, 2023 11:22 — with GitHub Actions Inactive
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@DrizzlyOwl DrizzlyOwl force-pushed the github-workflows-azure-storage branch from 2804f98 to cb5a2a1 Compare October 19, 2023 11:10
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 19, 2023 11:10 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 19, 2023 11:13 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl force-pushed the github-workflows-azure-storage branch from cb5a2a1 to 7c03f2e Compare October 19, 2023 11:13
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 19, 2023 11:14 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl force-pushed the github-workflows-azure-storage branch from 7c03f2e to 929532b Compare October 19, 2023 11:17
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 19, 2023 11:18 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 19, 2023 11:21 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 19, 2023 11:27 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl force-pushed the github-workflows-azure-storage branch from a189767 to 8f6f618 Compare October 19, 2023 11:28
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 19, 2023 11:31 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 19, 2023 11:34 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl force-pushed the github-workflows-azure-storage branch from 8f6f618 to 056d049 Compare October 19, 2023 11:43
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 19, 2023 11:44 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 19, 2023 11:46 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl marked this pull request as ready for review October 19, 2023 11:51
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 19, 2023 11:53 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 19, 2023 11:55 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl force-pushed the github-workflows-azure-storage branch from 05dc9da to bc27156 Compare October 23, 2023 14:02
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 23, 2023 14:04 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 23, 2023 14:06 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl enabled auto-merge (squash) October 23, 2023 14:10
@DrizzlyOwl DrizzlyOwl force-pushed the github-workflows-azure-storage branch from bc27156 to 61a20b2 Compare October 23, 2023 14:18
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 23, 2023 14:19 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 23, 2023 14:22 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl force-pushed the github-workflows-azure-storage branch from 61a20b2 to 79f3396 Compare October 24, 2023 09:28
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 24, 2023 09:28 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl temporarily deployed to development October 24, 2023 09:31 — with GitHub Actions Inactive
@DrizzlyOwl DrizzlyOwl force-pushed the github-workflows-azure-storage branch from 79f3396 to bd618e5 Compare October 25, 2023 11:14
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@DrizzlyOwl DrizzlyOwl merged commit deeee04 into main Oct 25, 2023
@DrizzlyOwl DrizzlyOwl deleted the github-workflows-azure-storage branch October 25, 2023 11: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.

2 participants