This file contains hidden or 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: kustomize.config.k8s.io/v1beta1 | |
| kind: Kustomization | |
| namespace: services | |
| resources: | |
| - ingress.yaml | |
| - deployment.yaml | |
| images: |
This file contains hidden or 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: kustomize.config.k8s.io/v1beta1 | |
| kind: Kustomization | |
| resources: | |
| - ./apps/simple-api/prod |
This file contains hidden or 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: Deploy to Prod K8S Env | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| build: | |
| name: Deploy Environment | |
| runs-on: ubuntu-latest |
This file contains hidden or 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: Build artifacts and deploy to the Infrastructure Repo Stack | |
| on: | |
| push: | |
| branches: [main] | |
| jobs: | |
| build: | |
| name: Build Image | |
| runs-on: ubuntu-latest |
This file contains hidden or 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: tekton.dev/v1alpha1 | |
| kind: TaskRun | |
| metadata: | |
| name: nodejs-taskrun | |
| spec: | |
| inputs: | |
| resources: | |
| - name: nuxt-repo | |
| resourceRef: | |
| name: nuxt-repo |
This file contains hidden or 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
| type TaskSpec struct { | |
| // Inputs is an optional set of parameters and resources which must be | |
| // supplied by the user when a Task is executed by a TaskRun. | |
| // +optional | |
| Inputs *Inputs `json:"inputs,omitempty"` | |
| // Outputs is an optional set of resources and results produced when this | |
| // Task is run. | |
| // +optional | |
| Outputs *Outputs `json:"outputs,omitempty"` |
This file contains hidden or 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: tekton.dev/v1alpha1 | |
| kind: Task | |
| metadata: | |
| name: nodejs-ci | |
| spec: | |
| inputs: | |
| resources: | |
| - name: nuxt-repo | |
| type: git | |
| steps: |
This file contains hidden or 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: tekton.dev/v1alpha1 | |
| kind: PipelineResource | |
| metadata: | |
| name: nuxt-repo | |
| spec: | |
| type: git | |
| params: | |
| - name: revision | |
| value: master | |
| - name: url |
This file contains hidden or 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
| const commitsCollection = { | |
| "total_count": 4, | |
| "incomplete_results": false, | |
| "items": [ | |
| { | |
| "url": "https://api.github.com/repos/octocat/Spoon-Knife/commits/bb4cc8d3b2e14b3af5df699876dd4ff3acd00b7f", | |
| "sha": "bb4cc8d3b2e14b3af5df699876dd4ff3acd00b7f", | |
| "html_url": "https://github.com/octocat/Spoon-Knife/commit/bb4cc8d3b2e14b3af5df699876dd4ff3acd00b7f", | |
| "comments_url": "https://api.github.com/repos/octocat/Spoon-Knife/commits/bb4cc8d3b2e14b3af5df699876dd4ff3acd00b7f/comments", | |
| "commit": { |
This file contains hidden or 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
| <template> | |
| <div> | |
| <div class="counter-text"> | |
| Counter is: {{ count }} | |
| </div> | |
| <div class="counter-controls"> | |
| <button @click="increase"> | |
| Increase | |
| </button> | |
| <button @click="decrease"> |
NewerOlder