Skip to content

Commit

Permalink
Merge pull request #4928 from opsmill/bdl-20241113-release-prep
Browse files Browse the repository at this point in the history
Infrahub v1.0.4 release prep
  • Loading branch information
lykinsbd authored Nov 13, 2024
2 parents 31e5404 + d01b444 commit 1b463c4
Show file tree
Hide file tree
Showing 10 changed files with 112 additions and 19 deletions.
1 change: 1 addition & 0 deletions .vale/styles/spelling-exceptions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ openconfig
opentelemetry
order_by
Prefetch
profile_name
PyPI
query_peers
rebase
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang

<!-- towncrier release notes start -->

## [1.0.4](https://github.com/opsmill/infrahub/tree/v1.0.4) - 2024-11-13

### Fixed

- Profiles now have a Human-Friendly Identifier (HFID) defined based on `profile_name` ([#4758](https://github.com/opsmill/infrahub/issues/4758))
- Workers out of sync after deleting node from schema ([[#4836](https://github.com/opsmill/infrahub/issues/4836)])
- Infrahub returns a proper error message when trying to load a schema with generic with the same Kind as an existing node ([#4837](https://github.com/opsmill/infrahub/issues/4837))
- Default to using HTTP GET for UserInfo endpoints (OAuth2/OIDC) ([#4898](https://github.com/opsmill/infrahub/issues/4898))
- Remove Profile in registry for renamed schema nodes ([#4909](https://github.com/opsmill/infrahub/issues/4909))

## [1.0.3](https://github.com/opsmill/infrahub/tree/v1.0.2) - 2024-11-08

### Fixed
Expand Down
1 change: 0 additions & 1 deletion changelog/4758.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/4837.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/4898.fixed.md

This file was deleted.

1 change: 0 additions & 1 deletion changelog/4909.fixed.md

This file was deleted.

89 changes: 89 additions & 0 deletions docs/docs/release-notes/infrahub/release-1_0_4.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
---
title: Release 1.0.4
---
<table>
<tbody>
<tr>
<th>Release Number</th>
<td>1.0.4</td>
</tr>
<tr>
<th>Release Date</th>
<td>November 13th, 2024</td>
</tr>
<tr>
<th>Release Codename</th>
<td>Stockholm, Patch #4</td>
</tr>
<tr>
<th>Tag</th>
<td>[infrahub-v1.0.4](https://github.com/opsmill/infrahub/releases/tag/infrahub-v1.0.4)</td>
</tr>
</tbody>
</table>

# Release 1.0.4

This release is a bug-fix release to resolve issues found in Infrahub v1.0.3 and prior.

## Main changes

The complete list of changes can always be found in the `CHANGELOG.md` file in the Infrahub Git repository.

### Fixed

- Profiles now have a Human-Friendly Identifier (HFID) defined based on `profile_name` ([#4758](https://github.com/opsmill/infrahub/issues/4758))
- Workers out of sync after deleting node from schema ([[#4836](https://github.com/opsmill/infrahub/issues/4836)])
- Infrahub returns a proper error message when trying to load a schema with generic with the same Kind as an existing node ([#4837](https://github.com/opsmill/infrahub/issues/4837))
- Default to using HTTP GET for UserInfo endpoints (OAuth2/OIDC) ([#4898](https://github.com/opsmill/infrahub/issues/4898))
- Remove Profile in registry for renamed schema nodes ([#4909](https://github.com/opsmill/infrahub/issues/4909))

## Migration guide

The process to migrate your instance of Infrahub to the latest version may vary depending on your deployment of Infrahub.
However, at a high-level, it will involve getting the latest version of the Infrahub code, and then performing any needed Database Migrations and Schema updates.

Please ensure you have a **backup of your Infrahub environment** prior to attempting any migration or upgrade activities.

### Migration of an Infrahub instance

**First**, update the Infrahub version running in your environment.

Below are some example ways to get the latest version of Infrahub in your environment.

- For deployments via Docker Compose, update your container version by updating the `VERSION` environment variable and relaunch:
- `export VERSION="1.0.4"; docker compose pull && docker compose up -d`
- For deployments via Kubernetes, utilize the latest version of the Helm chart supplied with this release

**Second**, once you have gotten the desired version of Infrahub in your environment, please run the following commands.

> Note: If you are running Infrahub in Docker/K8s, these commands need to run from a container where Infrahub is installed.
```shell
infrahub db migrate
infrahub db update-core-schema
```

**Finally**, restart all instances of Infrahub.

### Migration of a dev or demo instance

If you are using the `dev` or `demo` environments, we have provided `invoke` commands to aid in the migration to the latest version.
The below examples provide the `demo` version of the commands, however similar commands can be used for `dev` as well.

```shell
invoke demo.stop
invoke demo.build
invoke demo.migrate
invoke demo.start
```

If you don't want to keep your data, you can start a clean instance with the following command.

> **Warning: All data will be lost, please make sure to backup everything you need before running this command.**
```shell
invoke demo.destroy demo.build demo.start demo.load-infra-schema demo.load-infra-data
```

The repository https://github.com/opsmill/infrahub-demo-edge has also been updated, it's recommended to pull the latest changes into your fork.
Original file line number Diff line number Diff line change
@@ -1,38 +1,34 @@
---
title: Release 1.0.4 - DEVELOPMENT
title: Release 1.0.5 - DEVELOPMENT
---
<table>
<tbody>
<tr>
<th>Release Number</th>
<td>TBD</td>
<td>1.0.5</td>
</tr>
<tr>
<th>Release Date</th>
<td>TBD</td>
</tr>
<tr>
<th>Release Codename</th>
<td>TBD</td>
<td>Stockholm, Patch #5</td>
</tr>
<tr>
<th>Tag</th>
<td>TBD</td>
<td>[infrahub-v1.0.5](https://github.com/opsmill/infrahub/releases/tag/infrahub-v1.0.5)</td>
</tr>
</tbody>
</table>

# Release 1.0.4
# Release 1.0.5

## Main changes
This release is a bug-fix release to resolve issues found in Infrahub v1.0.4 and prior.

### Unified storage

### Schema

### Helm chart
## Main changes

### Other
The complete list of changes can always be found in the `CHANGELOG.md` file in the Infrahub Git repository.

## Migration guide

Expand All @@ -48,7 +44,7 @@ Please ensure you have a **backup of your Infrahub environment** prior to attemp
Below are some example ways to get the latest version of Infrahub in your environment.

- For deployments via Docker Compose, update your container version by updating the `VERSION` environment variable and relaunch:
- `export VERSION="1.0.4"; docker compose pull && docker compose up -d`
- `export VERSION="1.0.5"; docker compose pull && docker compose up -d`
- For deployments via Kubernetes, utilize the latest version of the Helm chart supplied with this release

**Second**, once you have gotten the desired version of Infrahub in your environment, please run the following commands.
Expand Down
3 changes: 2 additions & 1 deletion docs/sidebars.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,8 @@ const sidebars: SidebarsConfig = {
slug: 'release-notes/infrahub',
},
items: [
// 'release-notes/infrahub/release-1_0_4-DRAFT'
// 'release-notes/infrahub/release-1_0_5-DRAFT'
'release-notes/infrahub/release-1_0_4',
'release-notes/infrahub/release-1_0_3',
'release-notes/infrahub/release-1_0_2',
'release-notes/infrahub/release-1_0_1',
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "infrahub-server"
version = "1.0.3"
version = "1.0.4"
description = "Infrahub is taking a new approach to Infrastructure Management by providing a new generation of datastore to organize and control all the data that defines how an infrastructure should run."
authors = ["OpsMill <info@opsmill.com>"]
readme = "README.md"
Expand Down

0 comments on commit 1b463c4

Please sign in to comment.