Commit graph

16 commits

Author SHA1 Message Date
Michele Degges e43744f45f
[CI-only] Use pattern matching for release_branches (#13857)
### Description
Pattern matching was [recently added](https://github.com/hashicorp/crt-orchestrator/pull/51) so that teams no longer have to explicitly list every branch that should trigger the CRT pipeline. This simplifies release preparation- anytime a new release branch is created, it will produce releasable artifacts and exercise the full pipeline.

### Testing & Reproduction steps
This has been tested in multiple projects since being rolled out. There are no nomad-specific tests that need to be done.

### Links
PR where this functionality was added: https://github.com/hashicorp/crt-orchestrator/pull/51

### PR Checklist

* [ ] updated test coverage
* [ ] external facing docs updated
* [X] not a security concern
2022-08-02 09:38:33 -07:00
Kyle Penfound 8157f442c3
packaging: restart nomad service after package update (#13773) 2022-07-15 14:20:04 -07:00
Michele Degges 0c696eb638 fix hcl formatting 2022-07-08 14:07:18 -07:00
Michele Degges 244976bcb2 Remove test trigger 2022-07-07 15:40:37 -07:00
Michele Degges baa15f5530 Support fossa scanning 2022-07-07 11:18:44 -07:00
Ted Behling b7ea463d0e
Update example license_path to match docs (#13374) 2022-06-20 09:04:02 -04:00
Luiz Aoqui c502a249b9
ci: revert file changes and add some checks (#12873)
During the release there are several files that need to be modified:

  - .release/ci.hcl: the notification channel needs to be updated to a
    channel with greater team visibility during the release.
  - version/version.go: the Version and VersionPrerelease variables
    need to be set so they match the release version.

After the release these files need to be reverted.

For GA releases the following additional changes also need to happen:

  - version/version.go: the Version variable needs to be bumped to the
    next version number.
  - GNUMakefile: the LAST_RELEASE variable needs to be set to the
    version that was just released.

Since the release process will commit file changes to the branch being
used for the release, it should _never_ run on main, so the first step
is now to protect against that.

It also adds a validation to make the user input version is correct.

After looking at the different release options and steps I noticed that
automatic CHANGELOG generation is actually the exception, so it would be
better to have the default to be false.
2022-05-05 18:07:51 -04:00
James Rasell e1bf9138a1
release: fix hcl linting error within CI file. (#12867) 2022-05-04 10:48:42 +02:00
Michele Degges 417d3ca232 Add config key to the promote-staging event 2022-05-03 08:51:19 -07:00
Luiz Aoqui cca49a054f
ci: setup release process with CRT (#12781) 2022-04-27 20:14:23 -04:00
Luiz Aoqui bc78c8617f
ci: change notification channel to feed-nomad-releases (#12550) 2022-04-11 19:12:58 -04:00
claire labry 76fc79ce46
move nomad.service out of etc (#12541) 2022-04-11 18:26:10 -04:00
claire labry 6f7f7277d5
[Main] Onboard to CRT (#12276) 2022-04-06 11:47:02 -04:00
Seth Hoenig d672bc46fd ci: add trailing newline to release metadata 2022-03-30 08:12:55 -05:00
Seth Hoenig 0f20bb0e8c ci: hcl format release metadata file 2022-03-30 08:02:55 -05:00
Michele Degges 44ebafd4b1 [RelAPI Onboarding] Add release API metadata file 2022-03-22 17:06:33 -07:00