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

Update to 3 0 0 #24

Open
wants to merge 191 commits into
base: master
Choose a base branch
from
Open

Update to 3 0 0 #24

wants to merge 191 commits into from

Conversation

schultetwin
Copy link

Update mender convert to 3.0.0

stuffandthings and others added 30 commits October 8, 2020 11:53
This moves the device configuration to a config script in configs/, from the
previous setup in the bootstrap scripts.

It does so by creating a new resources/ folder in the top-level directory, which
is then populated with the configuration file, and the server parameters only.

When the conversion is run with the demo configuration
configs/mender_convert_demo_config the conversion will install all the add-on's
available, and modify the configuration file in resources to align with our
regular Mender demo configuration.

Changelog: Add a demo configuration in configs/mender_convert_demo_config which
when added at run time creates a Mender demo setup in the converted image. This
includes short polling intervals, and all add-on's installed by default.

Signed-off-by: Ole Petter <[email protected]>
Changelog: None
Signed-off-by: Ole Petter <[email protected]>
MEN-4462: Add a config for demo configuration during conversion
Changelog: None

Signed-off-by: Lluis Campos <[email protected]>
run-tests.sh: Update Ubuntu Rpi image to 20.04
Bumps [tests/mender-image-tests](https://github.com/mendersoftware/mender-image-tests) from `80bd053` to `fd1d2d6`.
- [Release notes](https://github.com/mendersoftware/mender-image-tests/releases)
- [Commits](mendersoftware/mender-image-tests@80bd053...fd1d2d6)

---
updated-dependencies:
- dependency-name: tests/mender-image-tests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
…submodules/tests/mender-image-tests-fd1d2d6

Changelog:All: Bump tests/mender-image-tests from `80bd053` to `fd1d2d6`
Changelog: None
Signed-off-by: Kristian Amlie <[email protected]>
Changelog: None
Signed-off-by: mender-test-bot <[email protected]>
Bumps [tests/mender-image-tests](https://github.com/mendersoftware/mender-image-tests) from `fd1d2d6` to `798d07e`.
- [Release notes](https://github.com/mendersoftware/mender-image-tests/releases)
- [Commits](mendersoftware/mender-image-tests@fd1d2d6...798d07e)

---
updated-dependencies:
- dependency-name: tests/mender-image-tests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
…-request/patch

Image-Bot: New images available
…submodules/tests/mender-image-tests-798d07e

Changelog:All: Bump tests/mender-image-tests from `fd1d2d6` to `798d07e`
This is done for several reasons:

* The images do not contain the client anymore.
* We want to have the mender-convert version in the name, so that we
  don't overwrite old, working images.

We also add the build variable `MENDER_CONVERT_PUBLISH_VERSION`, to
allow publishing of tagged mender-convert versions with small fixes on
top.

And finally, we introduce the `PUBLISH_MENDER_CONVERT` variable to
publish images from tags. Branches are always published, even without
this flag.

Changelog: None

Signed-off-by: Kristian Amlie <[email protected]>
Changelog: None

Signed-off-by: Kristian Amlie <[email protected]>
Switch to publish Raspberry Pi images using mender-convert version.
The temporary S3 bucket is not perfectly secure, because credentials
can be obtained by outsiders by submitting a malicious pull request,
and then later they can be used to manipulate objects while a
privileged pipeline is running (during a release). Fix this by
submitting a checksum file using the standard Gitlab artifact
mechanism, and check that what we uploaded in one job, is what we get
in the next one.

Changelog: None

Signed-off-by: Kristian Amlie <[email protected]>
Add checksumming to artifacts from temporary S3 bucket.
Bumps [tests/mender-image-tests](https://github.com/mendersoftware/mender-image-tests) from `798d07e` to `9585db2`.
- [Release notes](https://github.com/mendersoftware/mender-image-tests/releases)
- [Commits](mendersoftware/mender-image-tests@798d07e...9585db2)

---
updated-dependencies:
- dependency-name: tests/mender-image-tests
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Changelog: None
Signed-off-by: mender-test-bot <[email protected]>
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.6.0 to 16.7.0.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](jsdom/jsdom@16.6.0...16.7.0)

---
updated-dependencies:
- dependency-name: jsdom
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…-request/patch

Image-Bot: New images available
kacf and others added 30 commits March 22, 2022 09:10
Changelog: None
Signed-off-by: Ole Petter <[email protected]>
Changelog: None
Signed-off-by: Ole Petter <[email protected]>
Changelog: None
Signed-off-by: Ole Petter <[email protected]>
They've changed their image extensions again

Changelog: None
Signed-off-by: Ole Petter <[email protected]>
QA-365: Update the PR template to go with conventional commits
Ticket: QA-412
Signed-off-by: Mikael Torp-Holte <[email protected]>
…ndabot-prefix

chore: Change dependabot prefix
…ional-commits

ci: make linkbot respect our conventional commit format
chore(mender-artifact): bump mender-artifact version to latest
No changelog needed, since nothing is released yet.

Changelog: None
Ticket: None

Signed-off-by: Kristian Amlie <[email protected]>
This is needed after Dockerization.

Changelog: None
Ticket: None

Signed-off-by: Kristian Amlie <[email protected]>
This fixes a boot problem which was introduced in the standalone grub
boot scripts, during the grub.d integration work.

Changelog: None
Ticket: None

Signed-off-by: Kristian Amlie <[email protected]>
Because the shim has hardcoded paths for each distribution, it is
better to use the `grub-install --removable` argument to install into
`/EFI/BOOT` than to do it ourselves. This makes sure that all files
are present and loaded from correct locations.

The symptom before this change was that the shim could not find the
grubx64.efi file, which is because we were not installing it
correctly. So in fact the image would not boot, even though it would
boot after a Mender conversion.

Signed-off-by: Kristian Amlie <[email protected]>
When introducing grub.d integration, we switched to using the already-
installed grub binary if it existed. But this is not a good idea,
because it may come with hardcoded paths which may fail to load the
script that we put in `/EFI/BOOT`. So revert to the old behavior,
install our own pre-compiled grub binary if grub.d integration is off.

No changelog, since we never released this regression.

Changelog: None
Ticket: None

Signed-off-by: Kristian Amlie <[email protected]>
Fix for mender-convert regressions.
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.

10 participants