Skip to content

Commit

Permalink
Bump Airbyte version from 0.32.0-alpha to 0.32.1-alpha (#8044)
Browse files Browse the repository at this point in the history
Co-authored-by: davinchia <davinchia@users.noreply.github.com>
  • Loading branch information
jrhizor and davinchia committed Nov 17, 2021
1 parent a391194 commit abf7c83
Show file tree
Hide file tree
Showing 16 changed files with 40 additions and 40 deletions.
2 changes: 1 addition & 1 deletion .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 0.32.0-alpha
current_version = 0.32.1-alpha
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-[a-z]+)?
Expand Down
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=0.32.0-alpha
VERSION=0.32.1-alpha

# Airbyte Internal Job Database, see https://docs.airbyte.io/operator-guides/configuring-airbyte-db
DATABASE_USER=docker
Expand Down
2 changes: 1 addition & 1 deletion airbyte-migration/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ENV APPLICATION airbyte-migration
WORKDIR /app

# Move and run scheduler
COPY bin/${APPLICATION}-0.32.0-alpha.tar ${APPLICATION}.tar
COPY bin/${APPLICATION}-0.32.1-alpha.tar ${APPLICATION}.tar

RUN tar xf ${APPLICATION}.tar --strip-components=1

Expand Down
4 changes: 2 additions & 2 deletions airbyte-scheduler/app/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ENV APPLICATION airbyte-scheduler

WORKDIR /app

ADD bin/${APPLICATION}-0.32.0-alpha.tar /app
ADD bin/${APPLICATION}-0.32.1-alpha.tar /app

# wait for upstream dependencies to become available before starting server
ENTRYPOINT ["/bin/bash", "-c", "${APPLICATION}-0.32.0-alpha/bin/${APPLICATION}"]
ENTRYPOINT ["/bin/bash", "-c", "${APPLICATION}-0.32.1-alpha/bin/${APPLICATION}"]
4 changes: 2 additions & 2 deletions airbyte-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ENV APPLICATION airbyte-server

WORKDIR /app

ADD bin/${APPLICATION}-0.32.0-alpha.tar /app
ADD bin/${APPLICATION}-0.32.1-alpha.tar /app

# wait for upstream dependencies to become available before starting server
ENTRYPOINT ["/bin/bash", "-c", "${APPLICATION}-0.32.0-alpha/bin/${APPLICATION}"]
ENTRYPOINT ["/bin/bash", "-c", "${APPLICATION}-0.32.1-alpha/bin/${APPLICATION}"]
4 changes: 2 additions & 2 deletions airbyte-webapp/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion airbyte-webapp/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "airbyte-webapp",
"version": "0.32.0-alpha",
"version": "0.32.1-alpha",
"private": true,
"scripts": {
"start": "react-scripts start",
Expand Down
4 changes: 2 additions & 2 deletions airbyte-workers/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ ENV APPLICATION airbyte-workers
WORKDIR /app

# Move worker app
ADD bin/${APPLICATION}-0.32.0-alpha.tar /app
ADD bin/${APPLICATION}-0.32.1-alpha.tar /app

# wait for upstream dependencies to become available before starting server
ENTRYPOINT ["/bin/bash", "-c", "${APPLICATION}-0.32.0-alpha/bin/${APPLICATION}"]
ENTRYPOINT ["/bin/bash", "-c", "${APPLICATION}-0.32.1-alpha/bin/${APPLICATION}"]
2 changes: 1 addition & 1 deletion charts/airbyte/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ version: 0.3.0
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "0.32.0-alpha"
appVersion: "0.32.1-alpha"

dependencies:
- name: common
Expand Down
8 changes: 4 additions & 4 deletions charts/airbyte/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
| `webapp.replicaCount` | Number of webapp replicas | `1` |
| `webapp.image.repository` | The repository to use for the airbyte webapp image. | `airbyte/webapp` |
| `webapp.image.pullPolicy` | the pull policy to use for the airbyte webapp image | `IfNotPresent` |
| `webapp.image.tag` | The airbyte webapp image tag. Defaults to the chart's AppVersion | `0.32.0-alpha` |
| `webapp.image.tag` | The airbyte webapp image tag. Defaults to the chart's AppVersion | `0.32.1-alpha` |
| `webapp.podAnnotations` | Add extra annotations to the webapp pod(s) | `{}` |
| `webapp.service.type` | The service type to use for the webapp service | `ClusterIP` |
| `webapp.service.port` | The service port to expose the webapp on | `80` |
Expand All @@ -56,7 +56,7 @@
| `scheduler.replicaCount` | Number of scheduler replicas | `1` |
| `scheduler.image.repository` | The repository to use for the airbyte scheduler image. | `airbyte/scheduler` |
| `scheduler.image.pullPolicy` | the pull policy to use for the airbyte scheduler image | `IfNotPresent` |
| `scheduler.image.tag` | The airbyte scheduler image tag. Defaults to the chart's AppVersion | `0.32.0-alpha` |
| `scheduler.image.tag` | The airbyte scheduler image tag. Defaults to the chart's AppVersion | `0.32.1-alpha` |
| `scheduler.podAnnotations` | Add extra annotations to the scheduler pod | `{}` |
| `scheduler.resources.limits` | The resources limits for the scheduler container | `{}` |
| `scheduler.resources.requests` | The requested resources for the scheduler container | `{}` |
Expand Down Expand Up @@ -87,7 +87,7 @@
| `server.replicaCount` | Number of server replicas | `1` |
| `server.image.repository` | The repository to use for the airbyte server image. | `airbyte/server` |
| `server.image.pullPolicy` | the pull policy to use for the airbyte server image | `IfNotPresent` |
| `server.image.tag` | The airbyte server image tag. Defaults to the chart's AppVersion | `0.32.0-alpha` |
| `server.image.tag` | The airbyte server image tag. Defaults to the chart's AppVersion | `0.32.1-alpha` |
| `server.podAnnotations` | Add extra annotations to the server pod | `{}` |
| `server.livenessProbe.enabled` | Enable livenessProbe on the server | `true` |
| `server.livenessProbe.initialDelaySeconds` | Initial delay seconds for livenessProbe | `30` |
Expand Down Expand Up @@ -121,7 +121,7 @@
| `worker.replicaCount` | Number of worker replicas | `1` |
| `worker.image.repository` | The repository to use for the airbyte worker image. | `airbyte/worker` |
| `worker.image.pullPolicy` | the pull policy to use for the airbyte worker image | `IfNotPresent` |
| `worker.image.tag` | The airbyte worker image tag. Defaults to the chart's AppVersion | `0.32.0-alpha` |
| `worker.image.tag` | The airbyte worker image tag. Defaults to the chart's AppVersion | `0.32.1-alpha` |
| `worker.podAnnotations` | Add extra annotations to the worker pod(s) | `{}` |
| `worker.livenessProbe.enabled` | Enable livenessProbe on the worker | `true` |
| `worker.livenessProbe.initialDelaySeconds` | Initial delay seconds for livenessProbe | `30` |
Expand Down
8 changes: 4 additions & 4 deletions charts/airbyte/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ webapp:
image:
repository: airbyte/webapp
pullPolicy: IfNotPresent
tag: 0.32.0-alpha
tag: 0.32.1-alpha

## @param webapp.podAnnotations [object] Add extra annotations to the webapp pod(s)
##
Expand Down Expand Up @@ -141,7 +141,7 @@ scheduler:
image:
repository: airbyte/scheduler
pullPolicy: IfNotPresent
tag: 0.32.0-alpha
tag: 0.32.1-alpha

## @param scheduler.podAnnotations [object] Add extra annotations to the scheduler pod
##
Expand Down Expand Up @@ -248,7 +248,7 @@ server:
image:
repository: airbyte/server
pullPolicy: IfNotPresent
tag: 0.32.0-alpha
tag: 0.32.1-alpha

## @param server.podAnnotations [object] Add extra annotations to the server pod
##
Expand Down Expand Up @@ -360,7 +360,7 @@ worker:
image:
repository: airbyte/worker
pullPolicy: IfNotPresent
tag: 0.32.0-alpha
tag: 0.32.1-alpha

## @param worker.podAnnotations [object] Add extra annotations to the worker pod(s)
##
Expand Down
14 changes: 7 additions & 7 deletions docs/operator-guides/upgrading-airbyte.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ If you are running [Airbyte on Kubernetes](../deploying-airbyte/on-kubernetes.md

## Mandatory Intermediate Upgrade

**If your current version of airbyte is < v0.32.0-alpha, you first need to upgrade to this version before upgrading to any later version.**
**If your current version of airbyte is < v0.32.1-alpha, you first need to upgrade to this version before upgrading to any later version.**

The reason for this is that there are breaking changes made in v0.32.0-alpha, and the logic for these changes is removed in later versions, making it impossible to upgrade directly.
To upgrade to v0.32.0-alpha, follow the steps in the following sections, but replace the `docker pull` or `wget` commands with the following:
The reason for this is that there are breaking changes made in v0.32.1-alpha, and the logic for these changes is removed in later versions, making it impossible to upgrade directly.
To upgrade to v0.32.1-alpha, follow the steps in the following sections, but replace the `docker pull` or `wget` commands with the following:

1. If you are in a cloned Airbyte repo, v0.32.0-alpha can be pulled from GitHub with
1. If you are in a cloned Airbyte repo, v0.32.1-alpha can be pulled from GitHub with

```
git checkout v0.32.0-alpha
git checkout v0.32.1-alpha
```

2. If you are running Airbyte from downloaded `docker-compose.yaml` and `.env` files without a GitHub repo, run `wget -N https://raw.githubusercontent.com/airbytehq/airbyte/v0.32.0-alpha/{.env,docker-compose.yaml}` to pull this version and overwrite both files.
2. If you are running Airbyte from downloaded `docker-compose.yaml` and `.env` files without a GitHub repo, run `wget -N https://raw.githubusercontent.com/airbytehq/airbyte/v0.32.1-alpha/{.env,docker-compose.yaml}` to pull this version and overwrite both files.

As a warning, this upgrade requires specs to be retrieved for all connectors that currently exist in your database. So, if specs cannot be retrieved for any of your connector images, server startup will fail. In this case you must either fix the image so that spec retrieval is successful, or set the `VERSION_0_32_0_FORCE_UPGRADE` environment variable to `true`, which will cause the server to delete any connectors for which specs cannot be retrieved, as well as any connections built on top of them.

Expand Down Expand Up @@ -99,7 +99,7 @@ If you are upgrading from \(i.e. your current version of Airbyte is\) Airbyte ve
Here's an example of what it might look like with the values filled in. It assumes that the downloaded `airbyte_archive.tar.gz` is in `/tmp`.

```bash
docker run --rm -v /tmp:/config airbyte/migration:0.32.0-alpha --\
docker run --rm -v /tmp:/config airbyte/migration:0.32.1-alpha --\
--input /config/airbyte_archive.tar.gz\
--output /config/airbyte_archive_migrated.tar.gz
```
Expand Down
2 changes: 1 addition & 1 deletion kube/overlays/stable-with-resource-limits/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AIRBYTE_VERSION=0.32.0-alpha
AIRBYTE_VERSION=0.32.1-alpha

# Airbyte Internal Database, see https://docs.airbyte.io/operator-guides/configuring-airbyte-db
DATABASE_HOST=airbyte-db-svc
Expand Down
10 changes: 5 additions & 5 deletions kube/overlays/stable-with-resource-limits/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ bases:

images:
- name: airbyte/db
newTag: 0.32.0-alpha
newTag: 0.32.1-alpha
- name: airbyte/scheduler
newTag: 0.32.0-alpha
newTag: 0.32.1-alpha
- name: airbyte/server
newTag: 0.32.0-alpha
newTag: 0.32.1-alpha
- name: airbyte/webapp
newTag: 0.32.0-alpha
newTag: 0.32.1-alpha
- name: airbyte/worker
newTag: 0.32.0-alpha
newTag: 0.32.1-alpha
- name: temporalio/auto-setup
newTag: 1.7.0

Expand Down
2 changes: 1 addition & 1 deletion kube/overlays/stable/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
AIRBYTE_VERSION=0.32.0-alpha
AIRBYTE_VERSION=0.32.1-alpha

# Airbyte Internal Database, see https://docs.airbyte.io/operator-guides/configuring-airbyte-db
DATABASE_HOST=airbyte-db-svc
Expand Down
10 changes: 5 additions & 5 deletions kube/overlays/stable/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ bases:

images:
- name: airbyte/db
newTag: 0.32.0-alpha
newTag: 0.32.1-alpha
- name: airbyte/scheduler
newTag: 0.32.0-alpha
newTag: 0.32.1-alpha
- name: airbyte/server
newTag: 0.32.0-alpha
newTag: 0.32.1-alpha
- name: airbyte/webapp
newTag: 0.32.0-alpha
newTag: 0.32.1-alpha
- name: airbyte/worker
newTag: 0.32.0-alpha
newTag: 0.32.1-alpha
- name: temporalio/auto-setup
newTag: 1.7.0

Expand Down

0 comments on commit abf7c83

Please sign in to comment.