Skip to content
This repository has been archived by the owner on Dec 28, 2021. It is now read-only.

Nightly releases #1834

Open
wants to merge 34 commits into
base: develop
Choose a base branch
from
Open

Nightly releases #1834

wants to merge 34 commits into from

Conversation

4e6
Copy link
Contributor

@4e6 4e6 commented Sep 9, 2021

Pull Request Description

Implements the nightly releases. You can see an example release in the ide-staging repo.

The build works as follows:

  • Schedule the nightly build every workday at 6 am UTC (2 hours after the engine nightly release)
  • Set the nightly version in the CHANGELOG.md and the latest nightly engine version in the config.json.
  • Perform the build and release steps
  • Remove old nightlies, keeping NIGHTLIES_TO_KEEP (20) nightly builds

Important Notes

Checklist

Please include the following checklist in your PR:

  • The CHANGELOG.md was updated with the changes introduced in this PR.
  • The documentation has been updated if necessary.
  • All code conforms to the Rust style guide.
  • All code has automatic tests where possible.
  • All code has been profiled where possible.
  • All code has been manually tested in the IDE.
  • All code has been manually tested in the "debug/interface" scene.
  • All code has been manually tested by the PR owner against our test scenarios.
  • All code has been manually tested by at least one reviewer against our test scenarios.

@4e6 4e6 added Priority: Medium Should be a complement for some iteration Type: Enhancement An enhancement to the current state of Enso IDE Category: Build System The build scripts and CI. labels Sep 9, 2021
@4e6 4e6 self-assigned this Sep 9, 2021
@4e6 4e6 requested a review from wdanilo as a code owner September 9, 2021 14:10
@MichaelMauderer
Copy link
Contributor

Note that the engine version also needs to be updated in src/rust/ide/src/controller/project.rs

@4e6
Copy link
Contributor Author

4e6 commented Sep 10, 2021

Note that the engine version also needs to be updated in src/rust/ide/src/controller/project.rs

Ok, I can fix #1359 as well. Is there a way I can embed the JSON file during the Rust compilation?

@MichaelMauderer
Copy link
Contributor

MichaelMauderer commented Sep 16, 2021

Ok, I can fix #1359 as well. Is there a way I can embed the JSON file during the Rust compilation?

I think fixing #1359 is a prerequisite for making automated updates of the engine version work.

You can embed the string with this: https://doc.rust-lang.org/std/macro.include_str.html
But you then need to use serde to parse and deserialize the string.

Includes a UTF-8 encoded file as a string.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Category: Build System The build scripts and CI. Priority: Medium Should be a complement for some iteration Type: Enhancement An enhancement to the current state of Enso IDE
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants