From 4ddb3e5bf66c5a44e88ec8ac965890e6590dc970 Mon Sep 17 00:00:00 2001 From: "Amanda H. L. de Andrade Katz" Date: Thu, 13 Jul 2023 09:16:36 -0300 Subject: [PATCH] Change ROCK name to be the same as the resources in charmcraft (#7) * Change ROCK name to be the same as the resources in charmcraft * Change parameter for the integration tests --- githubactionsexporter_rock/rockcraft.yaml | 4 ++-- tests/conftest.py | 2 +- tests/integration/conftest.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/githubactionsexporter_rock/rockcraft.yaml b/githubactionsexporter_rock/rockcraft.yaml index f06ecc0..79d2cf0 100644 --- a/githubactionsexporter_rock/rockcraft.yaml +++ b/githubactionsexporter_rock/rockcraft.yaml @@ -1,7 +1,7 @@ # Copyright 2023 Canonical Ltd. # See LICENSE file for licensing details. -name: githubactionsexporter -summary: githubactionsexporter rock +name: github-actions-exporter +summary: github-actions-exporter rock description: GitHub Actions Exporter OCI image for the GitHub Actions Exporter charm version: "1.0" base: ubuntu:22.04 diff --git a/tests/conftest.py b/tests/conftest.py index bc06d42..bfb2bfd 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -6,4 +6,4 @@ def pytest_addoption(parser): """Parse additional pytest options.""" - parser.addoption("--githubactionsexporter-image", action="store") + parser.addoption("--github-actions-exporter-image", action="store") diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 04edab0..ef36bc4 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -85,7 +85,7 @@ async def gh_app_fixture( ) resources = { - "github-actions-exporter-image": pytestconfig.getoption("--githubactionsexporter-image"), + "github-actions-exporter-image": pytestconfig.getoption("--github-actions-exporter-image"), } charm = await ops_test.build_charm(".") async with ops_test.fast_forward():