Skip to content

Commit

Permalink
disable cached build
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical committed Jun 28, 2024
1 parent 58f5f41 commit b473095
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ jobs:
name: Build charm
uses: canonical/data-platform-workflows/.github/workflows/[email protected]
with:
cache: true
# Use of cache blocked by https://github.com/canonical/charmcraft/issues/1456
# Details: https://github.com/canonical/charmcraftcache/issues/3
cache: false

gh-hosted-collect-integration-tests:
name: (GH hosted) Collect integration test groups
Expand Down
10 changes: 6 additions & 4 deletions charmcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ parts:
echo 'ERROR: Use "tox run -e build-dev" instead of calling "charmcraft pack" directly' >&2
exit 1
fi
# TODO: enable after https://github.com/canonical/charmcraft/issues/1456 fixed
charm-strict-dependencies: false
charm-entrypoint: src/machine_charm.py
prime:
- charm_version
- workload_version
build-packages:
- libffi-dev
- libssl-dev
- pkg-config
- rustc
- cargo
charm-entrypoint: src/machine_charm.py
prime:
- charm_version
- workload_version

0 comments on commit b473095

Please sign in to comment.