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

Add wasmcloud 1.1.1 to release build versions #84

Merged
merged 1 commit into from
Sep 3, 2024

Conversation

joonas
Copy link
Contributor

@joonas joonas commented Aug 24, 2024

Adds release build version for wasmCloud 1.1.1

With wasmCloud v1.1.1 having been released with a number of improvements, especially around integration with other wasmCloud ecosystem components, I feel that it would be beneficial to update the systemd-sysext for it so that environments running Flatcar can benefit from these changes as well!

How to use

Once the image is built, you can employ the following configuration ignition configuration (replacing with the appropriate value) to consume it:

---
variant: flatcar
version: 1.0.0
storage:
  files:
    - path: /opt/extensions/wasmcloud/wasmcloud-1.1.1-x86-64.raw
      contents:
        source: https://github.com/<your-repository-goes-here>/sysext-bakery/releases/download/latest/wasmcloud-1.1.1-x86-64.raw
    - path: /etc/sysupdate.wasmcloud.d/wasmcloud.conf
      contents:
        source: https://github.com/<your-repository-goes-here>/sysext-bakery/releases/download/latest/wasmcloud.conf
  links:
    - target: /opt/extensions/wasmcloud/wasmcloud-1.1.1-x86-64.raw
      path: /etc/extensions/wasmcloud.raw
      hard: false
systemd:
  units:
    - name: systemd-sysupdate.timer
      enabled: true
    - name: systemd-sysupdate.service
      dropins:
        - name: wasmcloud.conf
          contents: |
            [Service]
            ExecStartPre=/usr/lib/systemd/systemd-sysupdate -C wasmcloud update
        - name: sysext.conf
          contents: |
            [Service]
            ExecStartPost=systemctl restart systemd-sysext

Testing done

I spun up an instance on DigitalOcean using the above and verified that it ships with the appropriate versions:

core@flatcar-demo-01 ~ $ /usr/bin/wasmcloud  --version                                                                                                                                                                                            
wasmcloud 1.1.1
core@flatcar-demo-01 ~ $ /usr/bin/nats-server --version                                                                                                                                                                                           
nats-server: v2.10.18
  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update)
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

Signed-off-by: Joonas Bergius <joonas@cosmonic.com>
Copy link
Contributor

@tormath1 tormath1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tormath1 tormath1 merged commit c5182a6 into flatcar:main Sep 3, 2024
@joonas joonas deleted the add-wasmcloud-1_1_1 branch September 15, 2024 15:47
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