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

Test #9

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .github/workflows/call-docker-build-promote.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,20 @@ jobs:
severity: HIGH,CRITICAL
ignore-unfixed: true

preview:
name: Preview
if: github.event_name == 'pull_request'
needs: docker-build-pr
uses: mostlydevops/actions/.github/workflows/reusable-uffizzi.yaml@main
secrets:
github-token: ${{ secrets.GITOPS_WORDSMITH_K8S }}
with:
repo: mostlydevops/wordsmith-k8s
environment-dir: preview-uffizzi
image: ghcr.io/${{ github.repository }}
tag: ${{ needs.docker-build-pr.outputs.image-tag }}
pr-number: ${{ github.event.number }}

#### MERGE TO MAIN ####
docker-build-merge:
name: Call Build on Push
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/call-uffizzi-delete.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
---
name: Close Pull Request

on:
pull_request:
types: [closed]

concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true

jobs:
delete-preview:
name: Delete Uffizzi virtual cluster preview
uses: mostlydevops/actions/.github/workflows/reusable-uffizzi-delete.yaml@main
secrets:
github-token: ${{ secrets.GITOPS_WORDSMITH_K8S }}
with:
pr-number: ${{ github.event.number }}
2 changes: 1 addition & 1 deletion static/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ body {
text-align: center;
margin: 0;
padding: 0;
background-color: #001f5b;
background-color: #000000;
}

.logo {
Expand Down