Skip to content

Conversation

orfeas-k
Copy link
Contributor

Refactor charmcraft.yaml files to enable the usage of charmcraft-cache and data-platform-workflows in general. See issue for details

Close #271

Note that:

Refactor charmcraft.yaml files to enable the usage of charmcraft-cache
and data-platform-workflows in general.

Close #271
Copy link
Contributor

@NohaIhab NohaIhab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hey @orfeas-k, can you add the license to every charm directory so it can be staged? see canonical/kubeflow-tensorboards-operator#158 for example. Other than that, LGTM.

Copy link
Contributor

@NohaIhab NohaIhab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thx @orfeas-k

@orfeas-k orfeas-k merged commit 90dba59 into kf-6775-use-cached-builds Jan 30, 2025
18 of 23 checks passed
@orfeas-k orfeas-k deleted the kf-6737-refactor-charmcraft-yaml-files branch January 30, 2025 09:35
orfeas-k added a commit that referenced this pull request Feb 3, 2025
* build: refactor charmcraft.yaml to use ST124 notation (#282)

Refactor charmcraft.yaml files to enable the usage of charmcraft-cache
and data-platform-workflows in general.

Close #271

* refactor(ci): use data-platform-workflows in on_pull/push workflows (#284)

* refactor(ci): use data-platform-workflows in on_pull/push workflows

* Enable the usage of `build_charm.yaml` workflow, which allows
  independent and cached charm builds, making the CI more efficient and
  fast.
* Refactor the tests and the integrate workflow to be able to use the
  charm artefacts generated by the `build_charm.yaml` workflow:
  - Refactor integrate.yaml to be ci.yaml, a workflow that now takes
    care for the whole pipeline from generating charm paths, to
    building, to testing, and then releasing. This change will replace
    on_pull_request.yaml.
  - on_push.yaml is now replaced entirely by release, which will run on
    pushes to main or track/* branches. This workflow is in charge of
    building -> testing -> releasing.
  - Refactor individual and repository level integration tests to be
    able to use charm artefacts besides building them.

Close #272

* refactor(ci): Replace release.yaml with promote.yaml (#285)

* Add promote.yaml workflow to replace the old release.yaml
  workflow_dispatch funcionality.
* Remove publish.yaml workflow as the release process is handled by the
  recently refactor release.yaml.

Fix #277
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.

2 participants