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

NetBox initial charm #8

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
d0b1d79
WIP initial rockcraft and a simple configuration.py
javierdelapuente Feb 27, 2024
75f2655
WIP add autogenerated charm
javierdelapuente Feb 27, 2024
c5d356c
Generating static content
javierdelapuente Feb 27, 2024
c6c22bc
WIP make it work first, then maybe clean
javierdelapuente Feb 27, 2024
8a4262b
First try at an integration test
javierdelapuente Feb 28, 2024
81db879
Remeve breakpoint function
javierdelapuente Feb 28, 2024
f066b2b
Add integration tests
javierdelapuente Feb 29, 2024
756038e
Add tmate debug
javierdelapuente Feb 29, 2024
ccbdc81
run original actions only on workflow_dispacth
javierdelapuente Feb 29, 2024
45d5fab
tmage-debug -> tmate-debug
javierdelapuente Feb 29, 2024
5616c8b
User branch with support for rockcraft
javierdelapuente Feb 29, 2024
ef3bd81
set rockcraft repo and ref for 12f django
javierdelapuente Feb 29, 2024
dc170d6
Use other branch for tests
javierdelapuente Feb 29, 2024
ea7e4a1
Add charmcraft repo too
javierdelapuente Feb 29, 2024
a9ff903
put again main branch
javierdelapuente Feb 29, 2024
1646a08
force rerun actions
javierdelapuente Feb 29, 2024
a829380
Try to install rust...
javierdelapuente Feb 29, 2024
eaca33c
Try to fix integ tests
javierdelapuente Feb 29, 2024
6852606
If the charm file is not found, use parent dir
javierdelapuente Feb 29, 2024
6b05644
Try with another branch fonr integ tests
javierdelapuente Feb 29, 2024
3256686
Add rest of workflows
javierdelapuente Feb 29, 2024
28b35b7
Force rerun pipelines
javierdelapuente Feb 29, 2024
e8be950
Force intg tests to run
javierdelapuente Feb 29, 2024
4012265
Force rerun of integ tests
javierdelapuente Feb 29, 2024
02aa7cc
Force integ tests run
javierdelapuente Feb 29, 2024
338eebe
Use tests from operator-workglows
javierdelapuente Feb 29, 2024
4980bda
Try to use test@yaml from operator-workflow directly
javierdelapuente Feb 29, 2024
804185a
specify version
javierdelapuente Feb 29, 2024
f90345a
trying to make tests work
javierdelapuente Feb 29, 2024
5f77801
Update woke to ignore info in netbox and doc (from netbox repo)
javierdelapuente Feb 29, 2024
246b268
Add licenserc file
javierdelapuente Feb 29, 2024
269ef33
Update License file
javierdelapuente Feb 29, 2024
8ad0648
Include envlist in tox
javierdelapuente Feb 29, 2024
7a5fb8e
zero coverage for now
javierdelapuente Feb 29, 2024
d3f889f
change default shellcheck working directory
javierdelapuente Mar 1, 2024
8d4cca4
change tests branch
javierdelapuente Mar 1, 2024
560b69a
Lint fixes and checks
javierdelapuente Mar 1, 2024
9372db0
Empty test until we have real ones.
javierdelapuente Mar 1, 2024
7389055
Use feat-rockcraft-from-src branch for integ tests
javierdelapuente Mar 1, 2024
7249640
Add __init__ files
javierdelapuente Mar 1, 2024
57dd628
Add variable for docs working dir
javierdelapuente Mar 1, 2024
ed918d5
Update ref for unit tests
javierdelapuente Mar 1, 2024
7f67a74
Update pull request template
javierdelapuente Mar 1, 2024
440ee72
Some improvements
javierdelapuente Mar 1, 2024
f14d44b
Add rest of yaml files
javierdelapuente Mar 1, 2024
fd16e1f
Some updates to docs
javierdelapuente Mar 1, 2024
6d93d53
Add missint types
javierdelapuente Mar 1, 2024
2d29ece
add trivy file
javierdelapuente Mar 1, 2024
d731e7b
redis config will be replaced. Fixed routing mode path
javierdelapuente Mar 4, 2024
0b0466c
Add missind docstring
javierdelapuente Mar 4, 2024
db39ab8
Fix integration tests.
javierdelapuente Mar 4, 2024
0008b0c
Add tmate to debug integ tests
javierdelapuente Mar 4, 2024
9c43211
Remove the fast_forward to see if integ test passes
javierdelapuente Mar 4, 2024
dd61478
Remove tmate-debug
javierdelapuente Mar 4, 2024
d4509ee
Use main branch in operator-workflows
javierdelapuente Mar 4, 2024
0b8f992
Remove reference to whitelist in .woke (coming from Synapse)
javierdelapuente Mar 4, 2024
1583a99
Fix woke
javierdelapuente Mar 4, 2024
70c7618
Remove tool.ruff.mccabe
javierdelapuente Mar 4, 2024
58a5973
Add extra checks in mypy
javierdelapuente Mar 4, 2024
025353f
Flask -> Django in comment
javierdelapuente Mar 4, 2024
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
72 changes: 0 additions & 72 deletions .github/ISSUE_TEMPLATE/bug_report.yaml

This file was deleted.

57 changes: 57 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
name: Bug Report
description: File a bug report
labels: ["Type: Bug", "Status: Triage"]
body:
- type: markdown
attributes:
value: >
Thanks for taking the time to fill out this bug report! Before submitting your issue, please make
sure you are using the latest version of the charm. If not, please switch to this image prior to
posting your report to make sure it's not already solved.
- type: textarea
id: bug-description
attributes:
label: Bug Description
description: >
If applicable, add screenshots to help explain the problem you are facing.
validations:
required: true
- type: textarea
id: reproduction
attributes:
label: To Reproduce
description: >
Please provide a step-by-step instruction of how to reproduce the behavior.
placeholder: |
1. `juju deploy ...`
2. `juju relate ...`
3. `juju status --relations`
validations:
required: true
- type: textarea
id: environment
attributes:
label: Environment
description: >
We need to know a bit more about the context in which you run the charm.
- Are you running Juju locally, on lxd, in multipass or on some other platform?
- What track and channel you deployed the charm from (i.e. `latest/edge` or similar).
- Version of any applicable components, like the juju snap, the model controller, lxd, microk8s, and/or multipass.
validations:
required: true
- type: textarea
id: logs
attributes:
label: Relevant log output
description: >
Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
Fetch the logs using `juju debug-log --replay` and `kubectl logs ...`. Additional details available in the juju docs
at https://juju.is/docs/olm/juju-logs
render: shell
validations:
required: true
- type: textarea
id: additional-context
attributes:
label: Additional context

18 changes: 0 additions & 18 deletions .github/ISSUE_TEMPLATE/config.yml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/deprecation.yaml

This file was deleted.

39 changes: 0 additions & 39 deletions .github/ISSUE_TEMPLATE/documentation_change.yaml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/enhancement_proposal.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Enhancement Proposal
description: File an enhancement proposal
labels: ["Type: Enhancement", "Status: Triage"]
body:
- type: markdown
attributes:
value: >
Thanks for taking the time to fill out this enhancement proposal! Before submitting your issue, please make
sure there isn't already a prior issue concerning this. If there is, please join that discussion instead.
- type: textarea
id: enhancement-proposal
attributes:
label: Enhancement Proposal
description: >
Describe the enhancement you would like to see in as much detail as needed.
validations:
required: true
59 changes: 0 additions & 59 deletions .github/ISSUE_TEMPLATE/feature_request.yaml

This file was deleted.

24 changes: 0 additions & 24 deletions .github/ISSUE_TEMPLATE/housekeeping.yaml

This file was deleted.

37 changes: 0 additions & 37 deletions .github/ISSUE_TEMPLATE/translation.yaml

This file was deleted.

Loading
Loading