Skip to content

Commit

Permalink
concierge
Browse files Browse the repository at this point in the history
  • Loading branch information
carlcsaposs-canonical committed Jan 23, 2025
1 parent 92d8216 commit d9aeb22
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 1 deletion.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
spread-job: ${{ fromJSON(needs.collect-integration-tests.outputs.jobs) }}
name: Spread ${{ matrix.spread-job }}
needs:
- build
- collect-integration-tests
runs-on: ubuntu-latest
timeout-minutes: 200 # TODO
Expand All @@ -71,6 +72,12 @@ jobs:
- run: |
sudo snap install go --classic
go install github.com/snapcore/spread/cmd/spread@latest
- name: Download packed charm(s)
timeout-minutes: 5
uses: actions/download-artifact@v4
with:
pattern: ${{ needs.build.outputs.artifact-prefix }}-*
merge-multiple: true
- name: Run spread job
timeout-minutes: 120
run: ~/go/bin/spread -vv '${{ matrix.spread-job }}'
10 changes: 10 additions & 0 deletions concierge.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
juju:
model-defaults:
logging-config: <root>=INFO; unit=DEBUG
providers:
microk8s:
enable: true
bootstrap: true
addons:
- dns
- hostpath-storage
10 changes: 9 additions & 1 deletion tests/spread/test/task.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
summary: Integration test
environment:
TEST_MODULE: test_architecture.py
prepare: |
cd "$SPREAD_PATH"
snap install --classic concierge
concierge prepare
pipx install tox poetry
execute: |
echo 'foo'
export PATH="$PATH:$(pipx environment --value PIPX_BIN_DIR)"
tox run -e integration -- "tests/integration/$TEST_MODULE" --model test

0 comments on commit d9aeb22

Please sign in to comment.