• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Recached

CiscoDevNet / terraform-provider-cml2
84%

Build:
DEFAULT BRANCH: main
Repo Added 26 Oct 2022 05:38PM UTC
Token Kisg4aKLCmrjfptQDKn7XVlXsAV9RoSCc regen
Build 288 Last
Files 83
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • 26version
  • dependabot/github_actions/actions/checkout-4
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dependabot/github_actions/actions/checkout-7
  • dependabot/github_actions/actions/github-script-7
  • dependabot/github_actions/actions/github-script-8
  • dependabot/github_actions/actions/setup-go-4
  • dependabot/github_actions/actions/setup-go-5
  • dependabot/github_actions/actions/setup-go-6
  • dependabot/github_actions/crazy-max/ghaction-import-gpg-5.2.0
  • dependabot/github_actions/crazy-max/ghaction-import-gpg-5.3.0
  • dependabot/github_actions/crazy-max/ghaction-import-gpg-6.1.0
  • dependabot/github_actions/crazy-max/ghaction-import-gpg-6.2.0
  • dependabot/github_actions/dorny/paths-filter-4
  • dependabot/github_actions/github/codeql-action-3
  • dependabot/github_actions/github/codeql-action-4
  • dependabot/github_actions/golangci/golangci-lint-action-9
  • dependabot/github_actions/goreleaser/goreleaser-action-3
  • dependabot/github_actions/goreleaser/goreleaser-action-4
  • dependabot/github_actions/goreleaser/goreleaser-action-5
  • dependabot/github_actions/goreleaser/goreleaser-action-6
  • dependabot/github_actions/hashicorp/setup-terraform-3
  • dependabot/github_actions/hashicorp/setup-terraform-4
  • dependabot/go_modules/github.com/google/go-cmp-0.7.0
  • dependabot/go_modules/github.com/google/uuid-1.5.0
  • dependabot/go_modules/github.com/google/uuid-1.6.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.14.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.14.1
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.15.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.16.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.17.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.18.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.19.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.19.1
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.19.2
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.19.3
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.19.4
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.20.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.20.1
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.21.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.22.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.23.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.24.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-docs-0.25.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-0.16.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-0.17.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.1.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.10.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.11.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.12.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.13.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.14.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.14.1
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.16.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.16.1
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.17.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.2.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.3.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.3.1
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.3.2
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.3.3
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.3.4
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.5.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.8.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-framework-1.9.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-go-0.14.1
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-go-0.14.2
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-go-0.14.3
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-go-0.15.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-go-0.16.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-go-0.17.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-go-0.18.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-go-0.21.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-go-0.22.2
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-go-0.23.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-go-0.24.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-go-0.25.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-go-0.26.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-go-0.29.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-log-0.10.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-log-0.8.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-log-0.9.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-sdk/v2-2.24.1
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-sdk/v2-2.25.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-sdk/v2-2.26.1
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-sdk/v2-2.32.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-sdk/v2-2.33.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-testing-1.10.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-testing-1.11.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-testing-1.12.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-testing-1.14.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-testing-1.16.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-testing-1.8.0
  • dependabot/go_modules/github.com/hashicorp/terraform-plugin-testing-1.9.0
  • dependabot/go_modules/github.com/rschmied/gocmlclient-0.0.20
  • dependabot/go_modules/github.com/rschmied/gocmlclient-0.0.22
  • dependabot/go_modules/github.com/rschmied/gocmlclient-0.0.23
  • dependabot/go_modules/github.com/rschmied/gocmlclient-0.2.4
  • dependabot/go_modules/github.com/rschmied/gocmlclient-0.2.5
  • dependabot/go_modules/github.com/stretchr/testify-1.10.0
  • dependabot/go_modules/github.com/stretchr/testify-1.11.1
  • dependabot/go_modules/github.com/stretchr/testify-1.8.2
  • dependabot/go_modules/github.com/stretchr/testify-1.8.3
  • dependabot/go_modules/github.com/stretchr/testify-1.8.4
  • dependabot/go_modules/github.com/stretchr/testify-1.9.0
  • dependabot/go_modules/golang.org/x/crypto-0.2.0
  • dependabot/go_modules/golang.org/x/crypto-0.3.0
  • dev
  • main
  • provider-env-vars

02 Jul 2026 02:33PM UTC coverage: 84.063% (+0.5%) from 83.533%
28598157132

push

github

web-flow
small fixes, test and doc update (#198)

* (chore) update deps, changelog, go.work.example

* Fix Terraform state drift for externally deleted nodes

- Treat gocmlclient not-found errors during Node Read as “resource gone” by removing it from Terraform state
- Make Node Delete idempotent when the node is already gone (HTTP 404 / element not found)
- Add acceptance test covering external node deletion and verifying Terraform recreates it on re-plan
- Run gofumpt on touched files

* feat: handle external state drift for more resources

- Add internal/common/not_found.go with IsNotFound(err) helper for CML 404-class errors
- Replace ad-hoc errors.Is checks with common.IsNotFound across provider resources (node, link, lab, group, annotation, user, lifecycle) to treat externally-deleted resources as gone
- Remove/adjust imports and error handling where centralized helper is used
- Add numerous acceptance tests to verify resources are recreated or lifecycle reconciled when deleted/stopped externally (annotation, group, lab, link, node, user, lifecycle)
- Make test configs generate unique names/suffixes to avoid collisions and update test helpers/signatures
- Add internal/testing/gocmlclient_env.go to build gocml client from TF_VAR_* env vars for tests

* fix(lint): golangcilint complaints

* single test only

* Revert "single test only"

This reverts commit b2aac6f75.

* reduce user name length

* (chore) update changelog

* feat(lifecycle): detect and correct dependency drift

- Detect node/link "dependency drift" during plan by inspecting prior node state
- Modify ModifyPlan to read prior nodes and set changeNeeded when drift found
- Add labHasDrift(...) utility to centralize drift detection logic
- Refactor Update to fetch lab once, use labHasDrift or explicit state change to decide actions, and simplify start/stop/wipe + convergence handling
- Add acceptance test to simulate external node/link stop and verify lifecycle cor... (continued)

56 of 65 new or added lines in 4 files covered. (86.15%)

5243 of 6237 relevant lines covered (84.06%)

1975.92 hits per line

Relevant lines Covered
Build:
Build:
6237 RELEVANT LINES 5243 COVERED LINES
1975.92 HITS PER LINE
Source Files on main
  • Tree
  • List 83
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
28598157132 main small fixes, test and doc update (#198) * (chore) update deps, changelog, go.work.example * Fix Terraform state drift for externally deleted nodes - Treat gocmlclient not-found errors during Node Read as “resource gone” by removing it from Terr... push 02 Jul 2026 02:52PM UTC web-flow github
84.06
28591955837 dev Merge remote-tracking branch 'origin/main' into dev Pull #198 02 Jul 2026 01:22PM UTC rschmied github
84.06
28218919552 main Add environment variable support for provider attributes (#195) push 26 Jun 2026 05:51AM UTC web-flow github
83.53
28200064747 provider-env-vars Add environment variable support for provider attributes Pull #195 25 Jun 2026 09:42PM UTC molszowy-te github
28.84
28195316227 main Handle External State Drift and Idempotent Deletes for Multiple Resources (#194) * (chore) update deps, changelog, go.work.example * Fix Terraform state drift for externally deleted nodes - Treat gocmlclient not-found errors during Node Read as... push 25 Jun 2026 08:03PM UTC web-flow github
83.55
28189050268 dev (ci) increase acc test timeout to 60min Pull #194 25 Jun 2026 06:20PM UTC rschmied github
83.55
28178560524 provider-env-vars Add environment variable support for provider attributes Pull #195 25 Jun 2026 05:49PM UTC molszowy-te github
30.34
28185844829 dependabot/go_modules/github.com/rschmied/gocmlclient-0.2.5 Bump github.com/rschmied/gocmlclient from 0.2.4 to 0.2.5 Bumps [github.com/rschmied/gocmlclient](https://github.com/rschmied/gocmlclient) from 0.2.4 to 0.2.5. - [Release notes](https://github.com/rschmied/gocmlclient/releases) - [Changelog](https... Pull #197 25 Jun 2026 04:44PM UTC web-flow github
29.99
28168018271 dev (lint) golangcilint issues fixed Pull #194 25 Jun 2026 12:36PM UTC rschmied github
83.55
27774849911 dependabot/github_actions/actions/checkout-7 Bump actions/checkout from 5 to 7 Bumps [actions/checkout](https://github.com/actions/checkout) from 5 to 7. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)... Pull #196 18 Jun 2026 04:44PM UTC web-flow github
29.99
See All Builds (288)
  • Settings
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc