Skip to content

Commit

Permalink
devfile example
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-valdron committed Apr 19, 2024
1 parent 02f36de commit 8f6956c
Showing 1 changed file with 41 additions and 2 deletions.
43 changes: 41 additions & 2 deletions content/projects.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: "Projects"
img: "/img/projects.jpg"
date: "2024-01-17"
date: "2024-04-18"
draft: false
---

## Current Projects

### Devfiles
### Devfile
**Software Engineer at Red Hat** - *Open Source Project*
- **Website**: <a href="https://devfile.io" target="_blank">**https://devfile.io/**</a>
- **GitHub**: <a href="https://github.com/devfile/" target="_blank">**https://github.com/devfile/**</a>
Expand All @@ -18,6 +18,45 @@ draft: false
- [Devfile Registry Viewer](/projects/#devfile-registry-viewer)
- [Devfile Alizer](/projects/#devfile-alizer)

**Example**

```yaml
schemaVersion: 2.2.0
metadata:
name: node
displayName: Node.js
tags:
- NodeJS
- JS
components:
- name: runtime
container:
image: node
sourceMapping: /projects
endpoints:
- exposure: public
name: http-3000
protocol: http
targetPort: 3000
commands:
- id: install
exec:
component: runtime
commandLine: npm install
workingDir: ${PROJECT_SOURCE}
group:
kind: build
isDefault: true
- id: run
exec:
component: runtime
commandLine: npm start
workingDir: ${PROJECT_SOURCE}
group:
kind: run
isDefault: true
```
#### Devfile Registry Support Services
- **Devfile Registry Index Generator**
- Devfile index schema generation component, generates schemas to store metadata on devfiles stored.
Expand Down

0 comments on commit 8f6956c

Please sign in to comment.