Skip to content

Commit

Permalink
Add Codespace badge (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieu-benoit authored Nov 7, 2024
1 parent 0497c38 commit f416417
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/node-service/content/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Score - ${{ values.name | capitalize }}

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/${{ values.githubOrgId }}/${{ values.name }})

The workload is a simple containerized NodeJS app talking to a MySQL database.

[Score](https://score.dev/) is used to deploy the workload locally with `score-compose` in Docker, with `score-k8s` in Kubernetes or with `humctl` in Humanitec. See [Makefile](Makefile) for more details.
Expand Down
1 change: 1 addition & 0 deletions templates/node-service/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ spec:
image: ${{ parameters.componentName }}
orgId: ${{ steps.environment.output.orgId }}
cloudProvider: ${{ steps.environment.output.cloudProvider }}
githubOrgId: ${{ steps.environment.output.githubOrgId }}

- id: publish
name: Publish
Expand Down
2 changes: 2 additions & 0 deletions templates/podinfo-example/content/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Podinfo - ${{ values.name | capitalize }}

[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/${{ values.githubOrgId }}/${{ values.name }})

The workload is the `podinfo` container image.

[Score](https://score.dev/) is used to deploy the workload locally with `score-compose` in Docker, with `score-k8s` in Kubernetes or with `humctl` in Humanitec. See [Makefile](Makefile) for more details.
Expand Down
1 change: 1 addition & 0 deletions templates/podinfo-example/template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ spec:
image: ${{ parameters.componentName }}
orgId: ${{ steps.environment.output.orgId }}
cloudProvider: ${{ steps.environment.output.cloudProvider }}
githubOrgId: ${{ steps.environment.output.githubOrgId }}

- id: publish
name: Publish
Expand Down

0 comments on commit f416417

Please sign in to comment.