Skip to content

Commit b2928f9

Browse files
authored
Merge pull request #4816 from opsmill/bdl-20241031-1.0.1
release prep for v1.0.1
2 parents 7384390 + ca8288f commit b2928f9

File tree

13 files changed

+197
-77
lines changed

13 files changed

+197
-77
lines changed

.yamllint.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ ignore: |
1010
**/node_modules
1111
# https://github.com/sbaudoin/yamllint/issues/16
1212
/helm/templates
13+
/python_sdk
1314
1415
rules:
1516
new-lines: disable

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,15 @@ This project uses [*towncrier*](https://towncrier.readthedocs.io/) and the chang
1111

1212
<!-- towncrier release notes start -->
1313

14+
## [1.0.1](https://github.com/opsmill/infrahub/tree/v1.0.1) - 2024-10-31
15+
16+
### Fixed
17+
18+
- When a user is not logged in and the branch name is not found, hide the quick-create action and display the message: 'No branch found' ([#4801](https://github.com/opsmill/infrahub/issues/4801))
19+
- Fix automation to trigger generation of artifacts after merging a branch ([#4804](https://github.com/opsmill/infrahub/issues/4804))
20+
- Avoid sending an empty list to the load schema API on repository import if it's not required
21+
- Update demo environment to work with Infrahub 1.0
22+
1423
## [1.0.0](https://github.com/opsmill/infrahub/tree/v1.0.0) - 2024-10-30
1524

1625
### Removed

changelog/+9b1d29f3.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/+fix-demo.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/4801.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/4804.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/docs/release-notes/infrahub/release-1_0.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,15 @@ organization where it needs to be.
151151

152152
## Other
153153

154+
### New task-manager component
155+
156+
A new component called `Task Manager` has been introduced within Infrahub, and along with this change the Git-Agent has been renamed to `Task Worker`.
157+
The task manager is based on Prefect, a popular workflow orchestration system.
158+
159+
The Task Manager is used internally to improve the execution and the visibility of all background tasks.
160+
In future releases, we are planning to bring these additional information within Infrahub itself.
161+
Stay tuned for more information and more exciting features around task management in upcoming releases.
162+
154163
### Removed
155164

156165
- Remove previously deprecated GET API endpoint "/api/schema/" ([#3884](https://github.com/opsmill/infrahub/issues/3884))

docs/docs/release-notes/infrahub/release-1_0_1-DRAFT.mdx

Lines changed: 0 additions & 69 deletions
This file was deleted.
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
---
2+
title: Release 1.0.1
3+
---
4+
<table>
5+
<tbody>
6+
<tr>
7+
<th>Release Number</th>
8+
<td>1.0.1</td>
9+
</tr>
10+
<tr>
11+
<th>Release Date</th>
12+
<td>October 31th, 2024</td>
13+
</tr>
14+
<tr>
15+
<th>Release Codename</th>
16+
<td>Stockholm, Patch #1</td>
17+
</tr>
18+
<tr>
19+
<th>Tag</th>
20+
<td>[infrahub-v1.0.1](https://github.com/opsmill/infrahub/releases/tag/infrahub-v1.0.1)</td>
21+
</tr>
22+
</tbody>
23+
</table>
24+
25+
# Release 1.0.1
26+
27+
This is a bug-fix release to address issues found in Infrahub v1.0.0.
28+
29+
## Main changes
30+
31+
The complete list of changes can always be found in the `CHANGELOG.md` file in the Infrahub Git repository.
32+
33+
### Fixed
34+
35+
- When a user is not logged in and the branch name is not found, hide the quick-create action and display the message: 'No branch found' ([#4801](https://github.com/opsmill/infrahub/issues/4801))
36+
- Fix automation to trigger generation of artifacts after merging a branch ([#4804](https://github.com/opsmill/infrahub/issues/4804))
37+
- Avoid sending an empty list to the load schema API on repository import if it's not required
38+
- Update demo environment to work with Infrahub 1.0
39+
40+
## Migration guide
41+
42+
The process to migrate your instance of Infrahub to the latest version may vary depending on your deployment of Infrahub.
43+
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.
44+
45+
Please ensure you have a **backup of your Infrahub environment** prior to attempting any migration or upgrade activities.
46+
47+
### Migration of an Infrahub instance
48+
49+
**First**, update the Infrahub version running in your environment.
50+
51+
Below are some example ways to get the latest version of Infrahub in your environment.
52+
53+
- For deployments via Docker Compose, update your container version by updating the `IMAGE_VER` environment variable and relaunch:
54+
- `export IMAGE_VER="1.0.0"; docker compose pull && docker compose up -d`
55+
- For deployments via Kubernetes, utilize the latest version of the Helm chart supplied with this release
56+
57+
**Second**, once you have gotten the desired version of Infrahub in your environment, please run the following commands.
58+
59+
> Note: If you are running Infrahub in Docker/K8s, these commands need to run from a container where Infrahub is installed.
60+
61+
```shell
62+
infrahub db migrate
63+
infrahub db update-core-schema
64+
```
65+
66+
**Finally**, restart all instances of Infrahub.
67+
68+
### Migration of a dev or demo instance
69+
70+
If you are using the `dev` or `demo` environments, we have provided `invoke` commands to aid in the migration to the latest version.
71+
The below examples provide the `demo` version of the commands, however similar commands can be used for `dev` as well.
72+
73+
```shell
74+
invoke demo.stop
75+
invoke demo.build
76+
invoke demo.migrate
77+
invoke demo.start
78+
```
79+
80+
If you don't want to keep your data, you can start a clean instance with the following command.
81+
82+
> **Warning: All data will be lost, please make sure to backup everything you need before running this command.**
83+
84+
```shell
85+
invoke demo.destroy demo.build demo.start demo.load-infra-schema demo.load-infra-data
86+
```
87+
88+
The repository https://github.com/opsmill/infrahub-demo-edge has also been updated, it's recommended to pull the latest changes into your fork.
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
---
2+
title: Release 1.0.2 - DEVELOPMENT
3+
---
4+
<table>
5+
<tbody>
6+
<tr>
7+
<th>Release Number</th>
8+
<td>TBD</td>
9+
</tr>
10+
<tr>
11+
<th>Release Date</th>
12+
<td>TBD</td>
13+
</tr>
14+
<tr>
15+
<th>Release Codename</th>
16+
<td>TBD</td>
17+
</tr>
18+
<tr>
19+
<th>Tag</th>
20+
<td>TBD</td>
21+
</tr>
22+
</tbody>
23+
</table>
24+
25+
# Release 1.0.2
26+
27+
## Main changes
28+
29+
### Unified storage
30+
31+
### Schema
32+
33+
### Helm chart
34+
35+
### Other
36+
37+
## Migration guide
38+
39+
The process to migrate your instance of Infrahub to the latest version may vary depending on your deployment of Infrahub.
40+
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.
41+
42+
Please ensure you have a **backup of your Infrahub environment** prior to attempting any migration or upgrade activities.
43+
44+
### Migration of an Infrahub instance
45+
46+
**First**, update the Infrahub version running in your environment.
47+
48+
Below are some example ways to get the latest version of Infrahub in your environment.
49+
50+
- For deployments via Docker Compose, update your container version by updating the `IMAGE_VER` environment variable and relaunch:
51+
- `export IMAGE_VER="1.0.0"; docker compose pull && docker compose up -d`
52+
- For deployments via Kubernetes, utilize the latest version of the Helm chart supplied with this release
53+
54+
**Second**, once you have gotten the desired version of Infrahub in your environment, please run the following commands.
55+
56+
> Note: If you are running Infrahub in Docker/K8s, these commands need to run from a container where Infrahub is installed.
57+
58+
```shell
59+
infrahub db migrate
60+
infrahub db update-core-schema
61+
```
62+
63+
**Finally**, restart all instances of Infrahub.
64+
65+
### Migration of a dev or demo instance
66+
67+
If you are using the `dev` or `demo` environments, we have provided `invoke` commands to aid in the migration to the latest version.
68+
The below examples provide the `demo` version of the commands, however similar commands can be used for `dev` as well.
69+
70+
```shell
71+
invoke demo.stop
72+
invoke demo.build
73+
invoke demo.migrate
74+
invoke demo.start
75+
```
76+
77+
If you don't want to keep your data, you can start a clean instance with the following command.
78+
79+
> **Warning: All data will be lost, please make sure to backup everything you need before running this command.**
80+
81+
```shell
82+
invoke demo.destroy demo.build demo.start demo.load-infra-schema demo.load-infra-data
83+
```
84+
85+
The repository https://github.com/opsmill/infrahub-demo-edge has also been updated, it's recommended to pull the latest changes into your fork.

0 commit comments

Comments
 (0)