canonical / solutions-engineering-automation

Repo for automating tasks for Solutions Engineering Team.
1 stars 5 forks source link

Support build on multiple bases in our charms #114

Open rgildein opened 3 weeks ago

rgildein commented 3 weeks ago

We need to start using build-on with multiple bases, so instead of building on one base and define runs on multiple. E.g.

- build-on:
    - name: ubuntu
      channel: "22.04"
      architectures: ["arm64"]
    run-on:
      - name: ubuntu
        channel: "24.04"
        architectures:
          - arm64
      - name: ubuntu
        channel: "22.04"
        architectures:
          - arm64
      - name: ubuntu
        channel: "20.04"
        architectures:
          - arm64

should be defined like this

- build-on:
    - name: ubuntu
      channel: "24.04"
      architectures: ["arm64"]
    run-on:
      - name: ubuntu
        channel: "24.04"
        architectures:
          - arm64

- build-on:
    - name: ubuntu
      channel: "22.04"
      architectures: ["arm64"]
    run-on:
      - name: ubuntu
        channel: "22.04"
        architectures:
          - arm64

- build-on:
    - name: ubuntu
      channel: "20.04"
      architectures: ["arm64"]
    run-on:
      - name: ubuntu
        channel: "20.04"
        architectures:
          - arm64

This is related to multiple charms and we need to define which will be effected.

Acceptance Criteria

syncronize-issues-to-jira[bot] commented 3 weeks ago

Thank you for reporting us your feedback!

The internal ticket has been created: https://warthogs.atlassian.net/browse/SOLENG-847.

This message was autogenerated