kas: move kas and Pipenv to kas/
PATCH 1/1 kas: move kas and Pipenv to kas/
Move Pipenv, Pipenv.lock and kas*.yml files to kas
These kas specific workflow items do not need to
clutter the root of git repo.
Adjust .gitlab-ci.yml to the change.
Signed-off-by Tim Orling <[email protected]>
--- .gitlab-ci.yml | 6 +- kas/Pipfile | 12 ++++ kas/Pipfile.lock | 93 ++++++++++++++++++++++++++++ kas/kas-meta-python2-image-base.yml | 26 ++++++++ kas/kas-meta-python2-image.yml | 8 +++ kas/kas-meta-python2-ptest-image.yml | 24 +++++++ 6 files changed, 166 insertions(+), 3 deletions(-) create mode 100644 kas/Pipfile create mode 100644 kas/Pipfile.lock create mode 100644 kas/kas-meta-python2-image-base.yml create mode 100644 kas/kas-meta-python2-image.yml create mode 100644 kas/kas-meta-python2-ptest-image.yml
.gitlab-ci.yml +3 -3
@@ -3,11 +3,11 @@ image: kasproject/kas:latest meta-python2-image: stage: build script: - - kas build kas-meta-python2-image.yml + - kas build kas/kas-meta-python2-image.yml meta-python2-ptest-image: stage: build script: - - kas build kas-meta-python2-ptest-image.yml - - kas build -c testimage kas-meta-python2-ptest-image.yml + - kas build kas/kas-meta-python2-ptest-image.yml + - kas build -c testimage kas/kas-meta-python2-ptest-image.yml
kas/Pipfile new file +12 -0
@@ -0,0 +1,12 @@ +[[source]] +url = "https://pypi.python.org/simple" +verify_ssl = true +name = "pypi" + +[packages] +kas = "*" + +[dev-packages] + +[requires] +python_version = "3.7"
kas/Pipfile.lock new file +93 -0
93 lines not on this page · raw message
kas/kas-meta-python2-image-base.yml new file +26 -0
@@ -0,0 +1,26 @@ +header: + version: 8 + +machine: qemux86-64 +distro: poky +target: meta-python2-image-base + +repos: + meta-python2: + + poky: + url: https://git.yoctoproject.org/git/poky + refspec: master + layers: + meta: + meta-poky: + + meta-openembedded: + url: http://git.openembedded.org/meta-openembedded + refspec: master + layers: + meta-oe: + +local_conf_header: + reduce_diskspace: | + INHERIT += "rm_work_and_downloads"
kas/kas-meta-python2-image.yml new file +8 -0
@@ -0,0 +1,8 @@ +header: + version: 8 + includes: + - kas-meta-python2-image-base.yml + +machine: qemux86-64 +distro: poky +target: meta-python2-image
kas/kas-meta-python2-ptest-image.yml new file +24 -0
@@ -0,0 +1,24 @@ +header: + version: 8 + includes: + - kas-meta-python2-image-base.yml + +machine: qemux86-64 +distro: poky +target: meta-python2-ptest-image + +local_conf_header: + enable_gtk_in_qemu: | + DISTRO_FEATURES_append = "opengl" + PACKAGECONFIG_pn-qemu-system-native = "fdt alsa kvm virglrenderer glx gtk+" + enable_ptest_and_testimage: | + IMAGE_CLASSES += " testimage" + DISTRO_FEAURES_append = " ptest" + EXTRA_IMAGE_FEATURES = "debug-tweaks" + TESTIMAGE_AUTO = "1" + TEST_SUITES = " ping ssh python2 ptest" + TEST_QEMUPARAMS += "-smp 4 -m 8192" + TEST_RUNQEMUPARAMS = "kvm gl-es gtk" + IMAGE_ROOTFS_SIZE ?= "8192" + IMAGE_ROOTFS_EXTRA_SPACE_append = "${@bb.utils.contains("DISTRO_FEATURES", "systemd", " + 4096", "", d)}" + IMAGE_INSTALL_append = " ptest-runner dropbear procps coreutils iproute2 sysstat"
Signature · 1 line
2.25.0