Adam Vollrath

Results 36 comments of Adam Vollrath

If this changes please follow up with the `windmill` open-source project! https://github.com/windmill-labs/windmill/pull/1115

> The server still creates the ingress as `deployment-XXX-test-project.preview.example.com` instead of the `preview.example.com/github.com/REPO_OWNER/REPO_NAME/pull/YYY` linked in the comment. Is that intentional? This might just be due to the selfhosted version not...

Hi @markphelps sorry you're experiencing this. We'll update our documentation before closing this ticket. GitHub does restrict permissions on forks of public repositories. I'm on my phone so I can't...

https://github.com/UffizziCloud/preview-action#url-username-and-url-password

REST API documentation: - Environments https://docs.github.com/en/rest/deployments/environments - Deployments https://docs.github.com/en/rest/deployments/deployments - Statuses https://docs.github.com/en/rest/deployments/statuses Note that Statuses are immutable and immortal; they may only be created. Usually only the most recent Status...

Example Environment Creation ``` adam@ephemeron:~/src/preview-action$ gh api --method PUT -H "Accept: application/vnd.github+json" /repos/UffizziCloud/example-voting-app/environments/deployment-333 { "id": 588408369, "node_id": "EN_kwDOHe4BRM4jEmYx", "name": "deployment-333", "url": "https://api.github.com/repos/UffizziCloud/example-voting-app/environments/deployment-333", "html_url": "https://github.com/UffizziCloud/example-voting-app/deployments/activity_log?environments_filter=deployment-333", "created_at": "2022-08-11T18:14:19Z", "updated_at": "2022-08-11T18:14:19Z", "protection_rules": [],...

Example Deployment creation that failed for some unknown reason. ``` adam@ephemeron:~/src/preview-action$ gh api --method POST -H "Accept: application/vnd.github+json" /repos/UffizziCloud/example-voting-app/deployments -f ref='main' -f environment='deployment-333' { "message": "Conflict: Commit status checks failed...

Note that some additional permissions may be required for our reusable workflow (or wherever we end up implementing this.) The workflow permission is probably `deployments: write`. Also see this important...

![image](https://user-images.githubusercontent.com/66315/196803461-130fb314-e97b-4dcc-bf2d-4e6ec57d6d25.png) ![image](https://user-images.githubusercontent.com/66315/196803475-ca93c0fb-b057-43d8-9571-068f97e97519.png)