Skip to content

Commit

Permalink
add CHARM_LOCATION
Browse files Browse the repository at this point in the history
  • Loading branch information
rgildein committed Apr 11, 2024
1 parent dbb7d0b commit f8686b3
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ on:
- "**.md"
- "**.rst"

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
lint-unit:
uses: canonical/bootstack-actions/.github/workflows/lint-unit.yaml@v2
Expand Down
3 changes: 0 additions & 3 deletions src/CONTRIB.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ make build
charm build
```

You can set various environment variables (e.g. JUJU_REPOSITORY, CHARM_BUILD_DIR) to build into
your desired directory. By default, the project will build into /tmp/charm-builds/duplicity.

## Running Tests

The following section will review running automated tests in the project.
Expand Down
7 changes: 0 additions & 7 deletions src/tests/functional/tests/bundles/base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ applications:
nrpe:
charm: nrpe

duplicity:
charm: /tmp/charm-builds/duplicity
options:
backend: file
remote_backup_url: 'file:///home/ubuntu/somedir'
disable_encryption: True

relations:
- - ubuntu
- duplicity
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
applications:
{{ charm_name }}:
charm: "{{ CHARM_LOCATION }}/{{ charm_name }}.charm"
options:
backend: file
remote_backup_url: 'file:///home/ubuntu/somedir'
disable_encryption: True

0 comments on commit f8686b3

Please sign in to comment.