osbuild / cloud-image-val Goto Github PK
View Code? Open in Web Editor NEWMulti-cloud image validation tool.
License: Apache License 2.0
Multi-cloud image validation tool.
License: Apache License 2.0
kernel-debug, kernel-debug-devel matching current kernel version are available in repo
Here is ami-val key steps:
run_cmd(test_instance, "sudo yum -y install install kernel-debug-devel-$(uname -r)", timeout=1200)
run_cmd(test_instance, "sudo yum -y install install kernel-debug-$(uname -r)", timeout=1200)
We discovered that sometimes the AWS keypairs are not created in time while an instance for the same region is being created and it fails due to "nonexistent keypair".
Areas of improvement are:
In osbuild/images#567 we made a non-functional change to the way we write systemd unit files. The Environment
option in the osbuild stage now supports multiple entries. At the same time, we made it so that key=value
assignments are quoted, which makes it easier to work with values with spaces.
From the systemd-exec man page:
ENVIRONMENT
Environment=
Sets environment variables for executed processes. Each line is unquoted using the rules described in "Quoting" section in
systemd.syntax(7) and becomes a list of variable assignments. If you need to assign a value containing spaces or the equals sign to a
variable, put quotes around the whole assignment.
...
Example:
Environment="VAR1=word1 word2" VAR2=word3 "VAR3=$word 5 6"
I think this change made CIV start failing to validate because it expects the unquoted strings in some of the cloud systemd units like here:
The line now is Environment="NM_CLOUD_SETUP_AZURE=yes"
instead of Environment=NM_CLOUD_SETUP_AZURE=yes
.
float values are not safe for comparisons, especially equality. They should not be used for version (or really, anything other than math). This codebase is already using packaging.version's parse for some of the version handling. The floats should be converted to do this as well.
Reference ticket:COMPOSER-1804.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.