Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(pylibjuju): restore + fix pylibjuju check merge jobs #197

Merged
merged 1 commit into from
Jul 11, 2024

Conversation

jack-w-shaw
Copy link
Member

It turns out in 2022[!] we accidentally removed the pylibjuju check merge jobs from juju-qa-jenkins.

This went unnoticed since then, since make push does not remove job not in jjb IaC

However, the job recently broke. To fix this:

  1. The job had to be restored
  2. A fix had to be implemented

It turns out the job was broken in two ways:

  1. We tried to install python 3.6 (ancient) on Noble, which failed 2) In the case a repo does not have a go.mod file, we incorrectly set
    GOVERSION to '' (i.e. a string containing two quote marks) instead of
    an empty string. This lead to failures later down the line

QA Steps

See successful merges in pylibjuju e.g.
juju/python-libjuju#1067

It turns out in 2022[!] we accidentally removed the pylibjuju check
merge jobs from juju-qa-jenkins.

This went unnoticed since then, since `make push` does not remove job
not in jjb IaC

However, the job recently broke. To fix this:
1) The job had to be restored
2) A fix had to be implemented

It turns out the job was broken in two ways:
1) We tried to install python 3.6 (ancient) on Noble, which failed
2) In the case a repo does not have a go.mod file, we incorrectly set
   GOVERSION to '' (i.e. a string containing two quote marks) instead of
   an empty string. This lead to failures later down the line
@jack-w-shaw jack-w-shaw merged commit d973912 into juju:main Jul 11, 2024
1 of 2 checks passed
@jack-w-shaw jack-w-shaw deleted the fix_pylibjuju_check_merge_job branch July 11, 2024 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants