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

Schema 2.0 #40

Merged
merged 65 commits into from
Jul 1, 2024
Merged

Schema 2.0 #40

merged 65 commits into from
Jul 1, 2024

Conversation

franklinkim
Copy link
Member

@franklinkim franklinkim commented Sep 21, 2023

  • remove the need of .squadron/ temporary dirs
  • add squadron to the schema
version: "1.0"
squadron:
  frontend:
    chart: <% env "PROJECT_ROOT" %>/_examples/common/charts/frontend
    values:
      image:
        tag: latest
        repository: nginx
version: "2.0"
squadron:
  storefinder:
    frontend:
      chart: <% env "PROJECT_ROOT" %>/_examples/common/charts/frontend
      values:
        image:
          tag: latest
          repository: nginx
  • support unit tags
version: "1.0"
squadron:
  frontend:
    chart: <% env "PROJECT_ROOT" %>/_examples/common/charts/frontend
    values:
      image:
        tag: latest
        repository: nginx
version: "2.0"
squadron:
  storefinder:
    frontend:
      chart: <% env "PROJECT_ROOT" %>/_examples/common/charts/frontend
      tags: ["frontend"]
      values:
        image:
          tag: latest
          repository: nginx
  • make everything run in parallel with --parallel
  • make diff a separate command
$ squadron up ... --diff
$ squadron diff ...
  • add builds to be able to reference dependency builds
version: "1.0"
squadron:
  frontend:
    chart: <% env "PROJECT_ROOT" %>/_examples/common/charts/frontend
    values:
      image:
        tag: latest
        repository: nginx
version: "2.0"
builds:
  frontend-base:
    tag: "latest"
    image: storefinder/frontend-base
    
squadron:
  storefinder:
    frontend:
      chart: <% env "PROJECT_ROOT" %>/_examples/common/charts/frontend
        default:
          tag: "latest"
          image: storefinder/frontend
          dependencies: [ "frontend-base" ]
  • add --builds & --charts flags to list
Squadron
├─┬checkout
│ ├─┬backend
│ │ ├──📑: file://./common/charts/backend/backend:0.0.1
│ │ └─┬📦: default
│ │   └──🗃️: backend-base
│ └─┬frontend
│   ├──📑: file:///./common/charts/frontend/frontend:0.0.1
│   └─┬📦: default
│     └──🗃️: frontend-base
└─┬storefinder
  ├─┬backend
  │ ├──📑: file:///./common/charts/backend/backend:0.0.1
  │ └─┬📦: default
  │   └──🗃️: backend-base
  └─┬frontend
    ├──📑: file:///./common/charts/frontend/frontend:0.0.1
    └─┬📦: default
      └──🗃️: frontend-base
  • make docker buildx build args overrideable
  • add opDoc as template function to be able to load a 1password Document file content
version: '2.0'

squadron:
   checkout:
     cart:
       values:
         contents: <% opDoc "ACCOUNT" "VAULT" "DOCUMENT" %>

@franklinkim franklinkim requested a review from gnmsa April 30, 2024 17:19
@franklinkim
Copy link
Member Author

Release v2.0.0-rc.17

@franklinkim
Copy link
Member Author

Release v2.0.0-rc.18

@franklinkim
Copy link
Member Author

Release v2.0.0-rc.19

@franklinkim
Copy link
Member Author

Release v2.0.0-rc.20

@franklinkim franklinkim merged commit 4198668 into main Jul 1, 2024
2 checks passed
@franklinkim franklinkim deleted the schema-2.0 branch July 1, 2024 07:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant