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

feat: add chronos and custom images to config.ts, update files #23

Merged
merged 3 commits into from
Apr 25, 2024
Merged
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
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto eol=lf
6 changes: 6 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
11 changes: 6 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
name: Deploy
name: Build and Deploy

on:
push:
branches:
- main
pull_request:

jobs:
build:
Expand All @@ -15,7 +16,7 @@ jobs:
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4

- name: Install dependencies
uses: bahmutov/npm-install@v1
Expand All @@ -26,14 +27,14 @@ jobs:
run: npm run build

- name: Upload production-ready build files
uses: actions/upload-pages-artifact@v2
uses: actions/upload-pages-artifact@v3
with:
name: github-pages
path: ./dist

deploy:
needs: build

if: github.repository == 'vanilla-os/Atlas' && github.ref == 'refs/heads/main'
permissions:
pages: write
id-token: write
Expand All @@ -46,4 +47,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v3
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"recommendations": ["Vue.volar", "Vue.vscode-typescript-vue-plugin"]
"recommendations": ["Vue.volar"]
}
2 changes: 1 addition & 1 deletion 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
<script type="module" src="/src/main.ts"></script>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
images.vanillaos.org
images.vanillaos.org
7 changes: 6 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,23 @@
# Atlas

Atlas is OCI registry, designed for Vanilla OS.

## Configuration

To configure your registry, you need to edit the `config.ts` file.

## Development

To run the registry in development mode, run the following command:

```bash
npm run dev
```

## Production

To run the registry in production mode, run the following command:

```bash
npm run build
```

2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@
<script type="module" src="/src/main.ts"></script>
</body>

</html>
</html>
2 changes: 1 addition & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ export default defineComponent({
},
},
});
</script>
</script>
2 changes: 1 addition & 1 deletion src/components/RecipeDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -159,4 +159,4 @@ export default defineComponent({
height: 40vh;
width: 100%;
}
</style>
</style>
2 changes: 1 addition & 1 deletion src/components/RecipeModules.vue
Original file line number Diff line number Diff line change
Expand Up @@ -229,4 +229,4 @@ export default defineComponent({
},
},
});
</script>
</script>
2 changes: 1 addition & 1 deletion src/components/RecipeSnippet.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ export default defineComponent({
.snippet {
background-color: #282c34;
}
</style>
</style>
4 changes: 4 additions & 0 deletions src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ class AtlasConfig {
"vanilla-os/nvidia-image",
"vanilla-os/waydroid-image",
"vanilla-os/vm-image",
"vanilla-os/custom-image",
"vanilla-os/chronos",
"vanilla-os/chronos-frontend",
"vanilla-os/website"
];
}

Expand Down
2 changes: 1 addition & 1 deletion src/core/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ function getModuleTypeColors(type: string) {
export default {
getModuleTypeClass,
getModuleTypeColors
}
}
2 changes: 1 addition & 1 deletion src/core/image.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ class OciImage {
get entrypoint() { return this.config["Entrypoint"]; }
}

export { OciImage };
export { OciImage };
2 changes: 1 addition & 1 deletion src/views/HomeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -219,4 +219,4 @@ export default defineComponent({
.fade-leave-to {
opacity: 0;
}
</style>
</style>
2 changes: 1 addition & 1 deletion src/views/RecipeView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -136,4 +136,4 @@ export default defineComponent({
},
},
});
</script>
</script>
2 changes: 1 addition & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ export default defineConfig({
'@': fileURLToPath(new URL('./src', import.meta.url))
}
}
})
})