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

add controller and router packages and container images #1800

Closed
wants to merge 25 commits into from

Conversation

qrkourier
Copy link
Member

No description provided.

@qrkourier qrkourier marked this pull request as ready for review March 7, 2024 18:36
@qrkourier qrkourier requested review from a team as code owners March 7, 2024 18:36
@qrkourier
Copy link
Member Author

qrkourier commented Mar 8, 2024

Package builds

Container image builds

Ops Doc Preview

@qrkourier qrkourier marked this pull request as draft March 8, 2024 20:56
@qrkourier qrkourier marked this pull request as ready for review March 8, 2024 22:17
.github/workflows/fablab-db-creation.yml Show resolved Hide resolved
.github/workflows/publish-linux-packages.yml Show resolved Hide resolved
dist/dist-packages/linux/nfpm-openziti-controller.yaml Outdated Show resolved Hide resolved
ziti/cmd/create/create_config_controller_test.go Outdated Show resolved Hide resolved
ziti/cmd/create/create_config_environment.go Outdated Show resolved Hide resolved
ziti/cmd/create/create_config_test.go Show resolved Hide resolved
ziti/cmd/helpers/env_helpers.go Outdated Show resolved Hide resolved
ziti/constants/constants.go Show resolved Hide resolved
@qrkourier qrkourier marked this pull request as draft March 12, 2024 21:06
@qrkourier qrkourier force-pushed the linux-package-controller branch 4 times, most recently from 461c4b5 to 8ed2af3 Compare March 14, 2024 20:30
@qrkourier qrkourier marked this pull request as ready for review March 14, 2024 21:48
@qrkourier
Copy link
Member Author

New CI artifacts tested in a repo fork:
https://github.com/qrkourier/ziti/actions/runs/8303508508

ziti/constants/constants.go Outdated Show resolved Hide resolved
ziti/constants/constants.go Outdated Show resolved Hide resolved
ziti/constants/constants.go Outdated Show resolved Hide resolved
ziti/cmd/create/create_config_controller.go Show resolved Hide resolved
ziti/cmd/create/create_config_test.go Outdated Show resolved Hide resolved
Patrick Woodlock and others added 25 commits April 11, 2024 11:50
* When routers change (connect/disconnect), we re-check the mesh. We are passing in the routers to the channel and they can build up, which is unnecessary. We only need to signal once for all the routers that change since the last time we checked, that the mesh needs to be checked.
* We pass link changes through the run method, which is unnecessary since we pass it to a new goroutine. This inefficiency should be fixed.
* We're evaluating all faulted links for rerouting, even if they were still pending. Only reroute connected links.
* We're using time.After in each for loop, which can accumulate timers. Use a single Ticker instead.
Bumps the third-party group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/hashicorp/go-hclog](https://github.com/hashicorp/go-hclog) | `1.6.2` | `1.6.3` |
| [github.com/jedib0t/go-pretty/v6](https://github.com/jedib0t/go-pretty) | `6.5.6` | `6.5.8` |
| [golang.org/x/crypto](https://github.com/golang/crypto) | `0.21.0` | `0.22.0` |
| [golang.org/x/net](https://github.com/golang/net) | `0.22.0` | `0.24.0` |
| [golang.org/x/sync](https://github.com/golang/sync) | `0.6.0` | `0.7.0` |
| gopkg.in/AlecAivazis/survey.v1 | `1.8.7` | `1.8.8` |


Updates `github.com/hashicorp/go-hclog` from 1.6.2 to 1.6.3
- [Release notes](https://github.com/hashicorp/go-hclog/releases)
- [Commits](hashicorp/go-hclog@v1.6.2...v1.6.3)

Updates `github.com/jedib0t/go-pretty/v6` from 6.5.6 to 6.5.8
- [Release notes](https://github.com/jedib0t/go-pretty/releases)
- [Commits](jedib0t/go-pretty@v6.5.6...v6.5.8)

Updates `golang.org/x/crypto` from 0.21.0 to 0.22.0
- [Commits](golang/crypto@v0.21.0...v0.22.0)

Updates `golang.org/x/net` from 0.22.0 to 0.24.0
- [Commits](golang/net@v0.22.0...v0.24.0)

Updates `golang.org/x/sync` from 0.6.0 to 0.7.0
- [Commits](golang/sync@v0.6.0...v0.7.0)

Updates `gopkg.in/AlecAivazis/survey.v1` from 1.8.7 to 1.8.8

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-hclog
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: third-party
- dependency-name: github.com/jedib0t/go-pretty/v6
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: third-party
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: third-party
- dependency-name: golang.org/x/net
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: third-party
- dependency-name: golang.org/x/sync
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: third-party
- dependency-name: gopkg.in/AlecAivazis/survey.v1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: third-party
...

Signed-off-by: dependabot[bot] <support@github.com>
Bumps the all group with 1 update: [lewagon/wait-on-check-action](https://github.com/lewagon/wait-on-check-action).


Updates `lewagon/wait-on-check-action` from 1.3.3 to 1.3.4
- [Release notes](https://github.com/lewagon/wait-on-check-action/releases)
- [Commits](lewagon/wait-on-check-action@v1.3.3...v1.3.4)

---
updated-dependencies:
- dependency-name: lewagon/wait-on-check-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
* We're sending peer change messages to older routers that don't understand them.
* We should probably use the older controller link management code for routers without the link management stability fixes
* Includes a few minor cleanups
Bumps the openziti group with 7 updates:

| Package | From | To |
| --- | --- | --- |
| [github.com/openziti/channel/v2](https://github.com/openziti/channel) | `2.0.122` | `2.0.125` |
| [github.com/openziti/foundation/v2](https://github.com/openziti/foundation) | `2.0.40` | `2.0.42` |
| [github.com/openziti/identity](https://github.com/openziti/identity) | `1.0.73` | `1.0.74` |
| [github.com/openziti/metrics](https://github.com/openziti/metrics) | `1.2.48` | `1.2.49` |
| [github.com/openziti/runzmd](https://github.com/openziti/runzmd) | `1.0.41` | `1.0.42` |
| [github.com/openziti/storage](https://github.com/openziti/storage) | `0.2.33` | `0.2.34` |
| [github.com/openziti/transport/v2](https://github.com/openziti/transport) | `2.0.125` | `2.0.128` |


Updates `github.com/openziti/channel/v2` from 2.0.122 to 2.0.125
- [Commits](openziti/channel@v2.0.122...v2.0.125)

Updates `github.com/openziti/foundation/v2` from 2.0.40 to 2.0.42
- [Commits](openziti/foundation@v2.0.40...v2.0.42)

Updates `github.com/openziti/identity` from 1.0.73 to 1.0.74
- [Commits](openziti/identity@v1.0.73...v1.0.74)

Updates `github.com/openziti/metrics` from 1.2.48 to 1.2.49
- [Commits](openziti/metrics@v1.2.48...v1.2.49)

Updates `github.com/openziti/runzmd` from 1.0.41 to 1.0.42
- [Commits](openziti/runzmd@v1.0.41...v1.0.42)

Updates `github.com/openziti/storage` from 0.2.33 to 0.2.34
- [Commits](openziti/storage@v0.2.33...v0.2.34)

Updates `github.com/openziti/transport/v2` from 2.0.125 to 2.0.128
- [Commits](openziti/transport@v2.0.125...v2.0.128)

---
updated-dependencies:
- dependency-name: github.com/openziti/channel/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: openziti
- dependency-name: github.com/openziti/foundation/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: openziti
- dependency-name: github.com/openziti/identity
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: openziti
- dependency-name: github.com/openziti/metrics
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: openziti
- dependency-name: github.com/openziti/runzmd
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: openziti
- dependency-name: github.com/openziti/storage
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: openziti
- dependency-name: github.com/openziti/transport/v2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: openziti
...

Signed-off-by: dependabot[bot] <support@github.com>
respect service policies for admin identities
* Remove version, use, install and upgrade commands
* Replace version with command which outputs CLI version
* Remove redundant version commands
* Remove ziti fabric add/remove-identity commands
* Remove lots of unused code
* Remove 'ziti tunnel enroll' command, which is replaced by 'ziti edge enroll'
@qrkourier qrkourier closed this Apr 11, 2024
@qrkourier qrkourier deleted the linux-package-controller branch April 11, 2024 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quickstartrelease Release a quickstart container image and update the quickstart-latest Git tag used by /quick/ URLs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants