Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plan a charm file resource built by local script #454

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ on:
zap-target-port:
description: ZAP target port
type: string
default: 80
default: '80'
zap-target-protocol:
description: ZAP target protocol
type: string
Expand All @@ -199,7 +199,7 @@ jobs:
plan: ${{ steps.plan.outputs.plan }}
steps:
- uses: actions/[email protected]
- uses: canonical/operator-workflows/internal/plan@main
- uses: ./internal/plan
id: plan
with:
identifier: ${{ inputs.identifier }}
Expand All @@ -220,7 +220,7 @@ jobs:
run: |
lxc profile set default security.nesting true
- uses: actions/checkout@v4
- uses: canonical/operator-workflows/internal/build@main
- uses: ./internal/build
id: build
with:
build-plan: ${{ toJSON(matrix.build) }}
Expand All @@ -239,7 +239,7 @@ jobs:
outputs:
scans: ${{ steps.plan-scan.outputs.scans }}
steps:
- uses: canonical/operator-workflows/internal/plan-scan@main
- uses: ./internal/plan-scan
id: plan-scan
with:
plan: ${{ needs.plan.outputs.plan }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/integration_test_run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ on:
zap-target-port:
description: ZAP target port
type: string
default: 80
default: '80'
zap-target-protocol:
description: ZAP target protocol
type: string
Expand Down Expand Up @@ -268,7 +268,7 @@ jobs:
- run: sudo apt install skopeo -y

- name: Plan Integration
uses: canonical/operator-workflows/internal/plan-integration@main
uses: ./internal/plan-integration
id: plan-integration
with:
plan: ${{ inputs.plan }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish_charm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
# required to use skopeo embedded within rockcraft - otherwise a docker error
# "io: read/write on closed pipe" will happen
- run: sudo snap install rockcraft --classic
- uses: canonical/operator-workflows/internal/publish@main
- uses: ./internal/publish
id: publish
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ The following secrets are available for this workflow:
When running the integration tests, the following posargs will be automatically passed to the `integration` target:

* --charm-file [charm_file_name]: The name of the charm artifact generated prior to the integration tests run, this argument can be supplied multiple times for charm with multiple bases.
* --{image-name}-image: The name of the image artifact built prior to the integration tests run, this argument may be supplied multiple times or not at all depending on the plan
* --{resource-name}-resource: The name of the charm file resources built prior to the integration tests run, this argument may be supplied multiple times or not at all depending on the plan
* --series [series]: As defined in the `series` configuration described option above
* -k [module]: As defined in the `modules` configuration option described above
* --keep-models
Expand Down
Loading
Loading