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: Get the nightly build working #11

Merged
merged 1 commit into from
Aug 8, 2022
Merged

fix: Get the nightly build working #11

merged 1 commit into from
Aug 8, 2022

Conversation

Callisto13
Copy link
Member

@Callisto13 Callisto13 commented Aug 8, 2022

  1. Quote the args going into the make target. This is so that if they
    are empty (ie values are being left to defaults) they show up as ""
    and the calling binary wont complain about flags needing to be set.
  2. Ensure that if a step in the Makefile fails the target exits 1. Doing
    with with || exit 1 for now, which hopefully will be enough.
  3. Pin the version of Containerd to 1.6.6. The recent 1.6.7 release
    requires gcc-11. Getting that version sent me down a bit of a
    rabbit hole. 11 is not "natively" available on Ubuntu 20.04 (you
    can get it by adding the apt testing repo, but it is just a bit
    irritating to then swap out gcc 9 for 11 after the fact).
    So I tried bumping to Ubuntu 22.04, which lead to some annoyances,
    first with this new GUI whenever you apt update etc which has to be
    deactivated via an env var, and then after that my microvms lost DNS
    resolution and NAT connectivity. I could have only bumped the devices
    running flintlock to 22.04 and left the device serving as the
    management cluster as 20.04, but I decided it was better if we had a
    dedicated ticket to get everything working on 22.04, so I am going to
    come back to this another day. For now I just want to get the
    nightlies working.

1. Quote the args going into the make target. This is so that if they
   are empty (ie values are being left to defaults) they show up as `""`
   and the calling binary wont complain about flags needing to be set.
1. Ensure that if a step in the Makefile fails the target exits 1. Doing
   with with `|| exit 1` for now, which hopefully will be enough.
1. Pin the version of Containerd to 1.6.6. The recent 1.6.7 release
   requires `gcc-11`. Getting that version sent me down a bit of a
   rabbit hole. `11` is not "natively" available on Ubuntu 20.04 (you
   can get it by adding the apt testing repo, but it is just a bit
   irritating to then swap out gcc 9 for 11 after the fact).
   So I tried bumping to Ubuntu 22.04, which lead to some annoyances,
   first with this new GUI whenever you `apt update` etc which has to be
   deactivated via an env var, and then after that my microvms lost DNS
   resolution and NAT connectivity. I could have only bumped the devices
   running flintlock to 22.04 and left the device serving as the
   management cluster as 20.04, but I decided it was better if we had a
   dedicated ticket to get everything working on 22.04, so I am going to
   come back to this another day. For now I just want to get the
   nightlies working.
@Callisto13 Callisto13 marked this pull request as ready for review August 8, 2022 10:39
@Callisto13
Copy link
Member Author

going rogue and approving myself because i did not yet put branch protection on this mwahahaha

@Callisto13 Callisto13 merged commit 63674a0 into main Aug 8, 2022
@Callisto13 Callisto13 deleted the fix-nightly branch August 8, 2022 10:40
Callisto13 added a commit to liquidmetal-dev/flintlock that referenced this pull request Aug 8, 2022
Just temporarily. The 1.6.7 release requires a newer gcc version which
means we would have to bump our ubuntu version (to get the newer gcc
easily) which comes with a few challenges. It may not be much of a big
deal at flintlock's level, but I wanted to get the nightlies working
while I figure it out.

See liquidmetal-dev/liquid-metal-acceptance-tests#11
Callisto13 added a commit to liquidmetal-dev/flintlock that referenced this pull request Aug 8, 2022
Just temporarily. The 1.6.7 release requires a newer gcc version which
means we would have to bump our ubuntu version (to get the newer gcc
easily) which comes with a few challenges. It may not be much of a big
deal at flintlock's level, but I wanted to get the nightlies working
while I figure it out.

See liquidmetal-dev/liquid-metal-acceptance-tests#11
Callisto13 added a commit to liquidmetal-dev/flintlock that referenced this pull request Aug 8, 2022
Just temporarily. The 1.6.7 release requires a newer gcc version which
means we would have to bump our ubuntu version (to get the newer gcc
easily) which comes with a few challenges. It may not be much of a big
deal at flintlock's level, but I wanted to get the nightlies working
while I figure it out.

See liquidmetal-dev/liquid-metal-acceptance-tests#11
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.

1 participant