Tim Andersson has proposed merging ~andersson123/qa-jenkins-jobs:daily_charmcraft_build into qa-jenkins-jobs:master.
Commit message: add daily charmcraft pack Requested reviews: Canonical Platform QA Team (canonical-platform-qa) For more details, see: https://code.launchpad.net/~andersson123/qa-jenkins-jobs/+git/qa-jenkins-jobs/+merge/444059 add daily charmcraft pack. Every day at 11pm. Not sure this will work. I think we need a 20.04 host to run this on or need help resolving lxd as dependency -- Your team Canonical Platform QA Team is requested to review the proposed merge of ~andersson123/qa-jenkins-jobs:daily_charmcraft_build into qa-jenkins-jobs:master.
diff --git a/jobs/autopkgtest-cloud/jobs.yaml b/jobs/autopkgtest-cloud/jobs.yaml index c71fea4..91a0fb8 100644 --- a/jobs/autopkgtest-cloud/jobs.yaml +++ b/jobs/autopkgtest-cloud/jobs.yaml @@ -15,6 +15,38 @@ # You should have received a copy of the GNU General Public License along # with this program. If not, see <http://www.gnu.org/licenses/>. +- job: + name: daily-charmcraft-pack-check + description: | + Runs a daily charmcraft pack for autopkgtest-cloud-worker and + autopkgtest-web charms to check for changes in external + dependencies breaking the charms. + triggers: + - timed: '0 23 * * *' + builders: + - clear-artifacts: + - shell: | + #!/bin/bash + # node needs to be 20.04 i think + export http_proxy="http://squid.internal:3128" + export https_proxy="http://squid.internal:3128" + export no_proxy=launchpad.net + + sudo snap install charmcraft --classic + + git clone https://git.launchpad.net/autopkgtest-cloud + cd autopkgtest-cloud || exit 1 + # charmcraft pack -v -p charms/focal/autopkgtest-cloud-worker/ + # charmcraft pack -v -p charms/focal/autopkgtest-web/ + charmcraft pack --destructive-mode -v -p charms/focal/autopkgtest-cloud-worker/ + charmcraft pack --destructive-mode -v -p charms/focal/autopkgtest-web/ + if test -f "autopkgtest-cloud-worker_ubuntu-20.04-amd64.charm" && test -f "autopkgtest-web_ubuntu-20.04-amd64.charm"; then + printf "Charms built successfully" + else + printf "Charms didn't build!" + exit 1 + fi + - job: name: autopkgtest-cloud-rtd-build-trigger
-- Mailing list: https://launchpad.net/~canonical-ubuntu-qa Post to : [email protected] Unsubscribe : https://launchpad.net/~canonical-ubuntu-qa More help : https://help.launchpad.net/ListHelp

