This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
apiVersion: networking.k8s.io/v1beta1 | |
kind: Ingress | |
metadata: | |
annotations: | |
kubernetes.io/ingress.class: nginx | |
name: "github-event-source-ingress" | |
spec: | |
rules: | |
- host: YOUR_BACKEND_URL | |
http: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Info on GitHub Webhook: https://developer.github.com/v3/repos/hooks/#create-a-hook | |
apiVersion: argoproj.io/v1alpha1 | |
kind: EventSource | |
metadata: | |
name: github-event-source | |
spec: | |
service: | |
ports: | |
- port: 443 | |
targetPort: 12000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Environment Workflow | |
on: | |
pull_request: | |
types: [ labeled , synchronize , reopened , opened] | |
jobs: | |
push_docker_build_promote: | |
if: contains( github.event.pull_request.labels.*.name, 'k8s') | |
steps: | |
- name: add image tag label to pr |