Comments (30)
Related Change #703864
Subject: [WIP][#19] Add validate schema command
Link: https://review.opendev.org/c/airship/airshipctl/+/703864
Status: ABANDONED
Owner: Ian Pittwood ([email protected])
Approvals
Code-Review
! None
Verified
-1 Zuul
Workflow
! None
Last Updated: 2021-03-19 12:39:19 CDT
from airshipctl.
Can you please assign this issue to me?
from airshipctl.
Related Change #733401
Subject: [#19] Add validate schema command
Link: https://review.opendev.org/733401
Status: ABANDONED
Owner: Bijaya Sharma ([email protected])
Approvals
Code-Review
-1 Matt McEuen
Verified
+1 Zuul
Workflow
! None
Last Updated: 2020-09-17 09:15:04 CDT
from airshipctl.
Do we have any notes on how we expect this command to be used -- e.g.
- should it integrated with phases, or run on a full site at once? Or on arbitrary functions too?
- is this expected to call kustomize (and be run on unrendered docs), or on pre-rendered YAML? I'd think the former would be best
- what's the "user story" for this in terms of when this command will be run, and why?
Airshipctl (especially the phase stuff) has progressed a lot since this issue was created, so I think it would benefit from a fresh sync up - I'll add it to tomorrow's design call.
from airshipctl.
Notes from the design meeting today: kubeval has some restrictions on its (in)ability to validate CRs, making it of limited use in an airshipctl context. An alternate approach was proposed, which would
- leverage (in-progress) work that will start a containerized k8s distribution for cluster bootstrap purposes
- start the cluster^ via a containerized interface, perform doc validation against its apiserver, and then tear it down
- phases would be validated in phase-plan order, and CRDs would progressively be loaded into the cluster. This will allow for later phases to be validated against CRDs that were loaded in earlier clusters.
This issue should be put on ice till the bootstrap functionality above is ready.
from airshipctl.
Reached out offline to @vetbijaya (Bijaya) to check status.
from airshipctl.
@mf4716 @mattmceuen Need to abandon my earlier PS and will create new one based on new requirements. I'm working/finding on some alternative solution for validating CRs.
from airshipctl.
thank you @vetbijaya
from airshipctl.
@vetbijaya , do we have a clear(er) path forward & new PS? I see the prior PS is abandoned.
from airshipctl.
@mattmceuen, I'm following the dry run strategy, is it good approach?
@mf4716, yes Mike, I will try to upload WIP PS by end of the day.
from airshipctl.
Related Change #754211
Subject: [WIP] Add document validate schema command
Link: https://review.opendev.org/c/airship/airshipctl/+/754211
Status: ABANDONED
Owner: Bijaya Sharma ([email protected])
This change will close this issue when merged.
Approvals
Code-Review
! None
Verified
-1 Zuul
+1 ATT Airship2.0 CI
Workflow
! None
Last Updated: 2021-03-19 07:59:08 CDT
from airshipctl.
@mattmceuen maybe this should be part of airshipctl phase validate --validate-schema
, i mean this heavily relies on phases, maybe it should belong to phase
subcommand? Just a thought here
from airshipctl.
All else equal I would agree with you @teoyaomiqui . However, the tricky thing for schema validation is that validating CRs in phase N depend on CRDs from phase (N-1). So that may necessitate a "global" schema validation operation, which walks through the phases in order, and loads the CRDs into the "validating entity" (e.g. a kind API Server). Ideally we would use the phase plan for the definition of "in order" in the target state.
If you can think of some good way around that wrinkle, though, I'm all ears.
from airshipctl.
@vetbijaya , what is the current status?
from airshipctl.
@mf4716, working on refactoring my PS according to Matt's comment.
from airshipctl.
Met with Ruslan and @vetbijaya to discuss how to replicate the tools/validate_docs
functionality using an airshipctl->kind container interface. Ruslan is going to dig in a bit and propose an approach.
from airshipctl.
@vetbijaya - can you please provide status?
from airshipctl.
@mf4716 - waiting for Ruslan's comments on this issue.
from airshipctl.
@vetbijaya - can you please provide status?
from airshipctl.
@mf4716 - got some review comments from Ruslan, will reach out to him to clear few doubts.
from airshipctl.
A [Related Change](https://review.opendev.org/765426 was merged. This issue may be ready to close.
from airshipctl.
@vetbijaya - can you please provide status?
from airshipctl.
@vetbijaya - can you please provide status?
Hey Mike,
you can assign this issue on me for a while, since I'm going to prepare some follow-up after my demo which I presented in December.
Thanks,
Ruslan
from airshipctl.
A [Related Change](https://review.opendev.org/767253 was merged. This issue may be ready to close.
from airshipctl.
Thanks for re-enabling the script-based validation, @raliev12 -- that's really helpful
from airshipctl.
Related Change #780681
Subject: Add validation phases
Link: https://review.opendev.org/c/airship/airshipctl/+/780681
Status: MERGED
Owner: Ruslan Aliev ([email protected])
This change will close this issue when merged.
Approvals
Code-Review
+2 Matt McEuen
+2 Kostyantyn Kalynovskyi
Verified
-1 ATT Airship2.0 CI
+2 Zuul
Workflow
+1 Kostyantyn Kalynovskyi
Last Updated: 2021-04-27 22:39:03 CDT
from airshipctl.
Related Change #780450
Subject: Add KRM function to validate site documents
Link: https://review.opendev.org/c/airship/airshipctl/+/780450
Status: MERGED
Owner: Ruslan Aliev ([email protected])
Approvals
Code-Review
+2 Matt McEuen
+2 Drew Walters
Verified
+1 ATT Airship2.0 CI
+2 Zuul
Workflow
+1 Drew Walters
Last Updated: 2021-04-27 18:19:05 CDT
from airshipctl.
Related Change #782628
Subject: Introduce plan validate command
Link: https://review.opendev.org/c/airship/airshipctl/+/782628
Status: MERGED
Owner: Ruslan Aliev ([email protected])
Approvals
Code-Review
+2 Kostyantyn Kalynovskyi
+2 Ian Howell
Verified
+1 ATT Airship2.0 CI
+2 Zuul
Workflow
+1 Kostyantyn Kalynovskyi
Last Updated: 2021-03-30 21:19:18 CDT
from airshipctl.
Related Change #779419
Subject: [WIP] Static schema validation for site documents
Link: https://review.opendev.org/c/airship/airshipctl/+/779419
Status: ABANDONED
Owner: Ruslan Aliev ([email protected])
Approvals
Code-Review
! None
Verified
-1 ATT Airship2.0 CI
-1 Zuul
Workflow
! None
Last Updated: 2021-03-25 22:37:43 CDT
from airshipctl.
A [Related Change](https://review.opendev.org/782628 was merged. This issue may be ready to close.
from airshipctl.
Related Issues (20)
- Support multiple versions of clusterctl HOT 5
- AIAP: Document the requirements for the infrastructure builder image HOT 4
- AIAP: Create a multi-node `infra-builder` image HOT 3
- AIAP: Using the `.git` suffix on repository names causes runner pod failure HOT 2
- AIAP: support non test GPG keys HOT 5
- Provide Calico CNI IPv4/v6/Dual Stack Support in Airshipctl HOT 2
- AIAP : Support for DualStack IPv6 HOT 2
- Install latest docker version within build_gate.sh script HOT 1
- Enable extraction of target/workload cluster artifacts HOT 3
- AIAP: Shift gates to use AIAP HOT 3
- AIAP: Documentation redirect HOT 3
- source|target version replacement for qcow_bundle is missing. HOT 4
- AIAP : Add support for IPV6 infra to test Airship-in-a-pod in Zuul Gates HOT 2
- 10_build_gate.sh fails to locate ensure-docker ansible role HOT 3
- `make manifests` target doesn't work HOT 1
- Create zuul job which performs make generate/make manifests HOT 1
- Develop new kubeconfig workflow HOT 2
- Allow to resume phase plan execution from a certain phase HOT 2
- Fail to create kubeval-validator image. HOT 2
- namespace-v1.json is missing when running "airshipctl plan validate deploy-gating" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from airshipctl.