Skip to content

Commit

Permalink
Merge pull request #2 from loft-orbital/chore/add-headers
Browse files Browse the repository at this point in the history
chore: add headers
  • Loading branch information
b4nst authored Feb 18, 2024
2 parents 67d2814 + 189688b commit 251c117
Show file tree
Hide file tree
Showing 71 changed files with 213 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Crafted with love by the Loft Orbital team and contributors.
### Licensed under the Apache License, Version 2.0.

name: pull request

on:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Crafted with love by the Loft Orbital team and contributors.
### Licensed under the Apache License, Version 2.0.

name: release
on:
push:
Expand Down
3 changes: 3 additions & 0 deletions .moon/tasks/bash.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Crafted with love by the Loft Orbital team and contributors.
### Licensed under the Apache License, Version 2.0.

fileGroups:
sources:
- '**/*.sh'
Expand Down
3 changes: 3 additions & 0 deletions .moon/tasks/cue-application.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Crafted with love by the Loft Orbital team and contributors.
### Licensed under the Apache License, Version 2.0.

tasks:
gen:
command:
Expand Down
3 changes: 3 additions & 0 deletions .moon/tasks/cue-library.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Crafted with love by the Loft Orbital team and contributors.
### Licensed under the Apache License, Version 2.0.

tasks:
build:
command: rsync -nr --out-format='%n' --exclude-from=.buildignore . /tmp | tar -czvf dist.tar.gz -T -
Expand Down
3 changes: 3 additions & 0 deletions .moon/tasks/cue.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Crafted with love by the Loft Orbital team and contributors.
### Licensed under the Apache License, Version 2.0.

fileGroups:
sources:
- '*.cue'
Expand Down
3 changes: 3 additions & 0 deletions .moon/workspace.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Crafted with love by the Loft Orbital team and contributors.
### Licensed under the Apache License, Version 2.0.

# https://moonrepo.dev/docs/config/workspace
$schema: 'https://moonrepo.dev/schemas/workspace.json'

Expand Down
3 changes: 2 additions & 1 deletion .prototools
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Made with love by the Loft Orbital team under the APACHE 2.0 license
### Crafted with love by the Loft Orbital team and contributors.
### Licensed under the Apache License, Version 2.0.

# vim: set filetype=toml :

Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@ Before using a module, please ensure to review its documentation thoroughly.
Every module includes a set of examples located in the `examples/` directory.
These examples serve as a valuable starting point to comprehend the module configuration.

| Module | Package | Description |
| --- | --- | --- |
| [gitlab-runner](modules/gitlab-runner) | [ghcr.io/loft-orbital/timoni/gitlab-runner](https://github.com/loft-orbital/timoni-hub/pkgs/container/timoni%2gitlab-runner) | CI runner for GitLab |
| Module | Package | Description |
| --- | --- | --- |
| [gitlab-runner](modules/gitlab-runner) | [ghcr.io/loft-orbital/timoni/gitlab-runner](https://github.com/loft-orbital/timoni-hub/pkgs/container/timoni%2gitlab-runner) | CI runner for GitLab |
| [postgresql](modules/postgresql) | [ghcr.io/loft-orbital/timoni/gitlab-runner](https://github.com/loft-orbital/timoni-hub/pkgs/container/timoni%2postgresql) | Postgres SQL database |

### Verifying

Expand Down
3 changes: 3 additions & 0 deletions libs/cloud/aws.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package cloud

#AWS: {
Expand Down
3 changes: 3 additions & 0 deletions libs/cloud/azure.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package cloud

#Azure: {
Expand Down
3 changes: 3 additions & 0 deletions libs/cloud/cue.mod/module.cue
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

module: "loftorbital.com/cloud"
3 changes: 3 additions & 0 deletions libs/cloud/gcp.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package cloud

#GCP: {
Expand Down
3 changes: 3 additions & 0 deletions libs/cloud/moon.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Crafted with love by the Loft Orbital team and contributors.
### Licensed under the Apache License, Version 2.0.

$schema: 'https://moonrepo.dev/schemas/project.json'

language: cue
Expand Down
3 changes: 3 additions & 0 deletions libs/cloud/provider.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package cloud

#Provider: #GCP | #AWS | #Azure
3 changes: 3 additions & 0 deletions libs/k8s/container/env.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package container

// #Env is an helper to generate a list of kubernetes env vars from a map.
Expand Down
3 changes: 3 additions & 0 deletions libs/k8s/container/port.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package container

// #Ports is an helper type to define ports for a container.
Expand Down
3 changes: 3 additions & 0 deletions libs/k8s/cue.mod/module.cue
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

module: "loftorbital.com/k8s"
3 changes: 3 additions & 0 deletions libs/k8s/moon.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Crafted with love by the Loft Orbital team and contributors.
### Licensed under the Apache License, Version 2.0.

$schema: 'https://moonrepo.dev/schemas/project.json'

language: cue
Expand Down
3 changes: 3 additions & 0 deletions libs/kcc-schemas/cue.mod/module.cue
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

module: "github.com/GoogleCloudPlatform/k8s-config-connector"
3 changes: 3 additions & 0 deletions libs/kcc-schemas/moon.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Crafted with love by the Loft Orbital team and contributors.
### Licensed under the Apache License, Version 2.0.

$schema: 'https://moonrepo.dev/schemas/project.json'

language: cue
Expand Down
3 changes: 3 additions & 0 deletions libs/timoni-schemas/cue.mod/module.cue
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

module: "timoni.sh"
3 changes: 3 additions & 0 deletions libs/timoni-schemas/moon.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Crafted with love by the Loft Orbital team and contributors.
### Licensed under the Apache License, Version 2.0.

$schema: 'https://moonrepo.dev/schemas/project.json'

language: cue
Expand Down
3 changes: 3 additions & 0 deletions libs/utils/checksum.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package utils

import (
Expand Down
3 changes: 3 additions & 0 deletions libs/utils/cue.mod/module.cue
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

module: "loftorbital.com/utils"
3 changes: 3 additions & 0 deletions libs/utils/moon.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Crafted with love by the Loft Orbital team and contributors.
### Licensed under the Apache License, Version 2.0.

$schema: 'https://moonrepo.dev/schemas/project.json'

language: cue
Expand Down
3 changes: 3 additions & 0 deletions modules/gitlab-runner/cue.mod/module.cue
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

module: "timoni.sh/gitlab-runner"
3 changes: 3 additions & 0 deletions modules/gitlab-runner/examples/google_cloud_with_cache.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package examples

values: {
Expand Down
3 changes: 3 additions & 0 deletions modules/gitlab-runner/examples/minimal.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package examples

values: runner: {
Expand Down
3 changes: 3 additions & 0 deletions modules/gitlab-runner/instance/config/config.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package config

import (
Expand Down
3 changes: 3 additions & 0 deletions modules/gitlab-runner/instance/instance.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package instance

import (
Expand Down
3 changes: 3 additions & 0 deletions modules/gitlab-runner/moon.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Crafted with love by the Loft Orbital team and contributors.
### Licensed under the Apache License, Version 2.0.

$schema: 'https://moonrepo.dev/schemas/project.json'

language: cue
Expand Down
3 changes: 3 additions & 0 deletions modules/gitlab-runner/templates/configmap.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package templates

import (
Expand Down
3 changes: 3 additions & 0 deletions modules/gitlab-runner/templates/deployment.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package templates

import (
Expand Down
3 changes: 3 additions & 0 deletions modules/gitlab-runner/templates/gcp/binding_cacheadmin.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package gcp

import (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package gcp

import (
Expand Down
3 changes: 3 additions & 0 deletions modules/gitlab-runner/templates/gcp/cachebucket.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package gcp

import (
Expand Down
3 changes: 3 additions & 0 deletions modules/gitlab-runner/templates/gcp/serviceaccount.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package gcp

import (
Expand Down
3 changes: 3 additions & 0 deletions modules/gitlab-runner/templates/gcp/wlibinding.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package gcp

import (
Expand Down
3 changes: 3 additions & 0 deletions modules/gitlab-runner/templates/sa.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package templates

import (
Expand Down
3 changes: 3 additions & 0 deletions modules/gitlab-runner/templates/secret.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package templates

import (
Expand Down
3 changes: 3 additions & 0 deletions modules/gitlab-runner/templates/service.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package templates

import (
Expand Down
3 changes: 3 additions & 0 deletions modules/gitlab-runner/timoni.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

// Code generated by timoni.
// Note that this file is required and should contain
// the values schema and the timoni workflow.
Expand Down
3 changes: 3 additions & 0 deletions modules/gitlab-runner/values.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

// Code generated by timoni.
// Note that this file must have no imports and all values must be concrete.

Expand Down
3 changes: 3 additions & 0 deletions modules/postgresql/cue.mod/module.cue
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

module: "timoni.sh/postgresql"
3 changes: 3 additions & 0 deletions modules/postgresql/examples/minimal.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package examples

// Complete the values with a minimal functional example.
Expand Down
3 changes: 3 additions & 0 deletions modules/postgresql/examples/volatile_storage.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package examples

// Complete the values with a minimal functional example.
Expand Down
3 changes: 3 additions & 0 deletions modules/postgresql/instance/config/config.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package config

import (
Expand Down
3 changes: 3 additions & 0 deletions modules/postgresql/instance/instance.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package instance

import (
Expand Down
3 changes: 3 additions & 0 deletions modules/postgresql/moon.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Crafted with love by the Loft Orbital team and contributors.
### Licensed under the Apache License, Version 2.0.

$schema: 'https://moonrepo.dev/schemas/project.json'

language: cue
Expand Down
3 changes: 3 additions & 0 deletions modules/postgresql/templates/secret.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package templates

import (
Expand Down
3 changes: 3 additions & 0 deletions modules/postgresql/templates/service.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package templates

import (
Expand Down
3 changes: 3 additions & 0 deletions modules/postgresql/templates/statefulset.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

package templates

import (
Expand Down
3 changes: 3 additions & 0 deletions modules/postgresql/timoni.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

// Code generated by timoni.
// Note that this file is required and should contain
// the values schema and the timoni workflow.
Expand Down
3 changes: 3 additions & 0 deletions modules/postgresql/values.cue
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

// Code generated by timoni.
// Note that this file must have no imports and all values must be concrete.

Expand Down
3 changes: 3 additions & 0 deletions templates/lib/cue.mod/module.cue
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
/// Crafted with love by the Loft Orbital team and contributors.
/// Licensed under the Apache License, Version 2.0.

module: "loftorbital.com/{{name}}"
3 changes: 3 additions & 0 deletions templates/lib/moon.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Crafted with love by the Loft Orbital team and contributors.
### Licensed under the Apache License, Version 2.0.

$schema: 'https://moonrepo.dev/schemas/project.json'

language: cue
Expand Down
3 changes: 3 additions & 0 deletions templates/lib/template.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### Crafted with love by the Loft Orbital team and contributors.
### Licensed under the Apache License, Version 2.0.

# https://moonrepo.dev/docs/config/template
$schema: 'https://moonrepo.dev/schemas/template.json'

Expand Down
Loading

0 comments on commit 251c117

Please sign in to comment.