-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 3.0 (quilt) Source: cloud-init Binary: cloud-init Architecture: all Version: 24.4-0ubuntu1~20.04.1 Maintainer: Ubuntu Developers <[email protected]> Homepage: https://cloud-init.io/ Standards-Version: 4.4.1 Vcs-Browser: https://github.com/canonical/cloud-init/tree/ubuntu/devel Vcs-Git: https://github.com/canonical/cloud-init -b ubuntu/devel Build-Depends: debhelper (>= 9.20160709), dh-python, iproute2, po-debconf, python3, python3-configobj, python3-debconf, python3-jinja2, python3-jsonpatch, python3-jsonschema, python3-mock, python3-oauthlib, python3-pytest, python3-pytest-mock, python3-requests, python3-serial, python3-setuptools, python3-yaml, python3-responses, python3-passlib Package-List: cloud-init deb admin optional arch=all Checksums-Sha1: 5d09930424fd7c3de83575f2f976134b329692a7 1871276 cloud-init_24.4.orig.tar.gz 35a25f4ac8d9a8f30542d4952c07e858204e630f 101512 cloud-init_24.4-0ubuntu1~20.04.1.debian.tar.xz Checksums-Sha256: d46e39693d0db9bb574ed06d598be61eae62743fc490afc6397dfe39aa06f928 1871276 cloud-init_24.4.orig.tar.gz 8c29d3e727883ce7affd85a04e77c222603005d7d064cd67ff0f58c9d39a8192 101512 cloud-init_24.4-0ubuntu1~20.04.1.debian.tar.xz Files: 5c14fe88323e769ef486ee9a3b97677c 1871276 cloud-init_24.4.orig.tar.gz 1be81bf1788179c87ff63f9233cfb9c8 101512 cloud-init_24.4-0ubuntu1~20.04.1.debian.tar.xz Python-Version: all -----BEGIN PGP SIGNATURE----- iQGzBAEBCgAdFiEEsyC5UhjFbFFc1+BoZ0j1UGIrpdQFAmdF0GgACgkQZ0j1UGIr pdRmzQv/RlRLrmAdtnRp+AVm7DKb7eW7jKFW556+b77vQIQG2W9AnrqTH9H77pvN FvAHoGI8r1LmylC+GpD60n7cW0ySAvBMMKc27WbWgFi/csifkrcONWOvcdOEDOSl OSk7aWirVVVhoaUWw3szVUu0iAzyCTMT/y2QGl/aG7gFAaa/eYDPR9iI3btc51CA eO+leoDYpdKlebkiqktYsGLVY8nq0UvdsYSJj+I08HXBRazJDAyP5wjRPb7g38VB cqwwAb65iFZvXefSjSMIZ4jUdk9cEIfcfYyVohJaP1bLTL1XqJdqZ2siOSufeQwu nzk+n2WwFgE1hfWJgUuLG12smW9Yv/nauf3Lc8W4dU79OsaNjrqlRDLg1cIk5zM5 PL4jlpYvafoce14AdHWxNAjd0Os2kqg8eZJX5SbjH7Ry59uvlCspxIDPIG4sW1M1 1bpILQXM67qKnM4U3m3YHmilDGlerbf49sUPJmf3/LihYDo/zjNm2SEGqgvj9Nvo mAUkR7de =/1jB -----END PGP SIGNATURE-----
- Loading branch information
Delphix Engineering
committed
Dec 20, 2024
1 parent
bc2c47c
commit fae32a1
Showing
434 changed files
with
16,357 additions
and
5,888 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
contact_links: | ||
- name: "Get Help" | ||
about: "Links to documentation and community support" | ||
url: "https://cloudinit.readthedocs.io/en/latest/#project-and-community" | ||
url: "https://docs.cloud-init.io/en/latest/#project-and-community" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,18 @@ | ||
# Changes to labeler do not run in pull requests because this only runs against | ||
# the base branch by default | ||
# | ||
# https://github.com/actions/labeler/tree/main?tab=readme-ov-file#initial-set-up-of-the-labeler-action | ||
documentation: | ||
- all: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'doc/**' | ||
- 'cloudinit/config/schemas/**' | ||
- base-branch: ['main'] | ||
packaging: | ||
- any: | ||
- changed-files: | ||
- any-glob-to-any-file: | ||
- 'debian/**' | ||
- base-branch: ['ubuntu/*'] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,73 +17,55 @@ defaults: | |
shell: sh -ex {0} | ||
|
||
env: | ||
RELEASE: focal | ||
RELEASE: plucky | ||
|
||
jobs: | ||
package-build: | ||
runs-on: ubuntu-22.04 | ||
build-package-and-run-tests: | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
# Fetch all tags for tools/read-version | ||
fetch-depth: 0 | ||
- name: Prepare dependencies | ||
run: | | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get update | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install \ | ||
debhelper \ | ||
dh-python \ | ||
fakeroot \ | ||
python3-setuptools \ | ||
sbuild \ | ||
ubuntu-dev-tools | ||
sudo sbuild-adduser $USER | ||
cp /usr/share/doc/sbuild/examples/example.sbuildrc /home/$USER/.sbuildrc | ||
# Install all build and test dependencies | ||
./tools/read-dependencies -r requirements.txt -r test-requirements.txt -d ubuntu -s -i | ||
ubuntu-dev-tools \ | ||
tox \ | ||
wireguard \ | ||
$(\ | ||
./tools/read-dependencies \ | ||
--requirements-file requirements.txt \ | ||
--requirements-file test-requirements.txt \ | ||
--distro ubuntu \ | ||
--system-pkg-names 2> /dev/null \ | ||
| tr '\n' ' ' \ | ||
) | ||
- name: Build package | ||
run: | | ||
./packages/bddeb -S -d --release ${{ env.RELEASE }} | ||
sudo -E su $USER -c 'mk-sbuild ${{ env.RELEASE }}' | ||
sudo -E su $USER -c 'DEB_BUILD_OPTIONS=nocheck sbuild --nolog --no-run-lintian --no-run-autopkgtest --verbose --dist=${{ env.RELEASE }} --build-dir=${{ runner.temp }} cloud-init_*.dsc' | ||
DEB_BUILD_OPTIONS=nocheck ./packages/bddeb -d --release ${{ env.RELEASE }} | ||
cp cloud-init_all.deb ${{ runner.temp }} | ||
- name: Archive debs as artifacts | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: 'cloud-init-${{ env.RELEASE }}-deb' | ||
path: '${{ runner.temp }}/cloud-init*.deb' | ||
retention-days: 3 | ||
|
||
integration-tests: | ||
needs: package-build | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- name: "Checkout" | ||
uses: actions/checkout@v3 | ||
with: | ||
# Fetch all tags for tools/read-version | ||
fetch-depth: 0 | ||
- name: Retrieve cloud-init package | ||
uses: actions/download-artifact@v3 | ||
- name: Setup LXD | ||
uses: canonical/[email protected] | ||
with: | ||
name: 'cloud-init-${{ env.RELEASE }}-deb' | ||
channel: latest/candidate | ||
- name: Verify deb package | ||
run: | | ||
ls -hal cloud-init*.deb | ||
- name: Prepare test tools | ||
run: | | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y update | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get -y install tox wireguard | ||
- name: Initialize LXD | ||
ls -hal '${{ runner.temp }}' | ||
echo ${{ runner.temp }}/cloud-init*.deb || true | ||
ls -hal ${{ runner.temp }}/cloud-init*.deb || true | ||
- name: Set up Pycloudlib | ||
run: | | ||
ssh-keygen -P "" -q -f ~/.ssh/id_rsa | ||
echo "[lxd]" > /home/$USER/.config/pycloudlib.toml | ||
sudo adduser $USER lxd | ||
# Jammy GH Action runners have docker installed, which edits iptables | ||
# in a way that is incompatible with lxd. | ||
# https://documentation.ubuntu.com/lxd/en/latest/howto/network_bridge_firewalld/#prevent-connectivity-issues-with-lxd-and-docker | ||
sudo iptables -I DOCKER-USER -j ACCEPT | ||
sudo lxd init --auto | ||
- name: Run integration Tests | ||
run: | | ||
sg lxd -c 'CLOUD_INIT_CLOUD_INIT_SOURCE="$(ls cloud-init*.deb)" tox -e integration-tests-ci' | ||
CLOUD_INIT_CLOUD_INIT_SOURCE="$(ls ${{ runner.temp }}/cloud-init*.deb)" CLOUD_INIT_OS_IMAGE=${{ env.RELEASE }} tox -e integration-tests-ci -- --color=yes tests/integration_tests/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
name: Packaging Tests | ||
name: Packaging | ||
|
||
on: | ||
pull_request: | ||
|
@@ -18,13 +18,15 @@ env: | |
|
||
jobs: | ||
check-patches: | ||
runs-on: ubuntu-22.04 | ||
name: Check patches | ||
runs-on: ubuntu-24.04 | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
# Fetch all branches for merging | ||
fetch-depth: 0 | ||
ref: ${{ github.event.pull_request.head.sha }} | ||
- name: Prepare dependencies | ||
run: | | ||
sudo DEBIAN_FRONTEND=noninteractive apt-get update | ||
|
@@ -34,14 +36,17 @@ jobs: | |
echo 'QUILT_PATCHES=debian/patches' >> ~/.quiltrc | ||
echo 'QUILT_SERIES=debian/patches/series' >> ~/.quiltrc | ||
- name: 'Daily recipe: quilt patches apply successfully and tests run' | ||
- name: Configure git and merge | ||
run: | | ||
git config user.name "GitHub Actions" | ||
git config user.email "[email protected]" | ||
git remote add upstream https://git.launchpad.net/cloud-init | ||
git fetch upstream main | ||
git checkout upstream/main | ||
git merge ${{ github.sha }} | ||
git merge origin/main | ||
- name: Quilt patches apply successfully and tests run | ||
run: | | ||
if [ ! -f debian/patches/series ]; then | ||
echo "no patches, skipping" | ||
exit 0 | ||
fi | ||
quilt push -a | ||
tox -e py3 | ||
quilt pop -a |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.