Skip to content

Commit

Permalink
New release flow (#8650)
Browse files Browse the repository at this point in the history
  • Loading branch information
Conor committed Sep 1, 2023
1 parent 32eabb9 commit b73299e
Show file tree
Hide file tree
Showing 22 changed files with 108 additions and 86 deletions.
49 changes: 42 additions & 7 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -1,47 +1,82 @@
[bumpversion]
current_version = 0.50.24
commit = False
tag = False
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-[a-z]+)?
serialize =
{major}.{minor}.{patch}

[bumpversion:file:.bumpversion.cfg]

[bumpversion:file:.env]
search = VERSION=dev
replace = VERSION={new_version}

[bumpversion:file:airbyte-container-orchestrator/Dockerfile]
search = ARG VERSION=dev
replace = ARG VERSION={new_version}

[bumpversion:file:airbyte-proxy/Dockerfile]
search = ARG VERSION=dev
replace = ARG VERSION={new_version}

[bumpversion:file:airbyte-server/Dockerfile]
search = ARG VERSION=dev
replace = ARG VERSION={new_version}

[bumpversion:file:airbyte-connector-builder-server/Dockerfile]
search = ARG VERSION=dev
replace = ARG VERSION={new_version}

[bumpversion:file:charts/airbyte-bootloader/Chart.yaml]
search = appVersion: dev
replace = appVersion: {new_version}

[bumpversion:file:charts/airbyte-cron/Chart.yaml]
search = appVersion: dev
replace = appVersion: {new_version}

[bumpversion:file:charts/airbyte-metrics/Chart.yaml]
search = appVersion: dev
replace = appVersion: {new_version}

[bumpversion:file:charts/airbyte-pod-sweeper/Chart.yaml]
search = appVersion: dev
replace = appVersion: {new_version}

[bumpversion:file:charts/airbyte-server/Chart.yaml]
search = appVersion: dev
replace = appVersion: {new_version}

[bumpversion:file:charts/airbyte-temporal/Chart.yaml]
search = appVersion: dev
replace = appVersion: {new_version}

[bumpversion:file:charts/airbyte-webapp/Chart.yaml]
search = appVersion: dev
replace = appVersion: {new_version}

[bumpversion:file:charts/airbyte-worker/Chart.yaml]
search = appVersion: dev
replace = appVersion: {new_version}

[bumpversion:file:charts/airbyte/Chart.yaml]
search = appVersion: dev
replace = appVersion: {new_version}

[bumpversion:file:charts/airbyte-connector-builder-server/Chart.yaml]

[bumpversion:file:charts/airbyte/README.md]

[bumpversion:file:airbyte-connector-builder-server/Dockerfile]
search = appVersion: dev
replace = appVersion: {new_version}

[bumpversion:file:charts/airbyte-keycloak/Chart.yaml]
search = appVersion: dev
replace = appVersion: {new_version}

[bumpversion:file:charts/airbyte-keycloak-setup/Chart.yaml]
search = appVersion: dev
replace = appVersion: {new_version}

[bumpversion:file:charts/airbyte-api-server/Chart.yaml]
search = appVersion: dev
replace = appVersion: {new_version}

[bumpversion:file:charts/airbyte/README.md]
search = ![appVersion: dev](https://img.shields.io/badge/AppVersion-dev-informational?style=flat-square)
replace = ![appVersion: {new_version}](https://img.shields.io/badge/AppVersion-{new_version}-informational?style=flat-square)
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@


### SHARED ###
VERSION=0.50.24
VERSION=dev

# When using the airbyte-db via default docker image
CONFIG_ROOT=/data
Expand Down
6 changes: 3 additions & 3 deletions airbyte-connector-builder-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ENV PIP=${PYENV_ROOT}/versions/${PYTHON_VERSION}/bin/pip
COPY requirements.txt requirements.txt
RUN ${PIP} install -r requirements.txt

ARG VERSION=0.50.24
ARG VERSION=dev

ENV APPLICATION airbyte-connector-builder-server
ENV VERSION ${VERSION}
Expand All @@ -23,5 +23,5 @@ ADD airbyte-app.tar /app
# wait for upstream dependencies to become available before starting server
ENTRYPOINT ["/bin/bash", "-c", "airbyte-app/bin/${APPLICATION}"]

LABEL io.airbyte.version=0.50.24
LABEL io.airbyte.name=airbyte/connector-builder-server
LABEL io.airbyte.version=${VERSION}
LABEL io.airbyte.name=airbyte/connector-builder-server
2 changes: 1 addition & 1 deletion airbyte-container-orchestrator/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RUN curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/s
&& chmod +x kubectl && mv kubectl /usr/local/bin/

# Don't change this manually. Bump version expects to make moves based on this string
ARG VERSION=0.50.24
ARG VERSION=dev

ENV APPLICATION airbyte-container-orchestrator
ENV VERSION=${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion airbyte-proxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

FROM nginx:latest

ARG VERSION=0.50.24
ARG VERSION=dev

ENV APPLICATION airbyte-proxy
ENV VERSION ${VERSION}
Expand Down
2 changes: 1 addition & 1 deletion airbyte-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM ${JDK_IMAGE} AS server

EXPOSE 8000 5005

ARG VERSION=0.50.24
ARG VERSION=dev

ENV APPLICATION airbyte-server
ENV VERSION ${VERSION}
Expand Down
4 changes: 2 additions & 2 deletions charts/airbyte-api-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.48.6
version: 0.48.8

# This is the version number of the application being deployed. This version number should be
# 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.50.24
appVersion: dev

dependencies:
- name: common
Expand Down
4 changes: 2 additions & 2 deletions charts/airbyte-bootloader/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.48.6
version: 0.48.8


# This is the version number of the application being deployed. This version number should be
# 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.50.24
appVersion: dev

dependencies:
- name: common
Expand Down
4 changes: 2 additions & 2 deletions charts/airbyte-connector-builder-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.48.6
version: 0.48.8

# This is the version number of the application being deployed. This version number should be
# 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.50.24
appVersion: dev

dependencies:
- name: common
Expand Down
4 changes: 2 additions & 2 deletions charts/airbyte-cron/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.48.6
version: 0.48.8

# This is the version number of the application being deployed. This version number should be
# 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.50.24
appVersion: dev

dependencies:
- name: common
Expand Down
6 changes: 3 additions & 3 deletions charts/airbyte-keycloak-setup/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.48.6
version: 0.48.8


# This is the version number of the application being deployed. This version number should be
# 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.50.24
appVersion: dev

dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
tags:
- bitnami-common
version: 1.x.x
version: 1.x.x
6 changes: 3 additions & 3 deletions charts/airbyte-keycloak/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.48.6
version: 0.48.8


# This is the version number of the application being deployed. This version number should be
# 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.50.24
appVersion: dev

dependencies:
- name: common
repository: https://charts.bitnami.com/bitnami
tags:
- bitnami-common
version: 1.x.x
version: 1.x.x
4 changes: 2 additions & 2 deletions charts/airbyte-metrics/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.48.6
version: 0.48.8


# This is the version number of the application being deployed. This version number should be
# 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.50.24
appVersion: dev

dependencies:
- name: common
Expand Down
4 changes: 2 additions & 2 deletions charts/airbyte-pod-sweeper/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.48.6
version: 0.48.8


# This is the version number of the application being deployed. This version number should be
# 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.50.24
appVersion: dev

dependencies:
- name: common
Expand Down
4 changes: 2 additions & 2 deletions charts/airbyte-server/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.48.6
version: 0.48.8

# This is the version number of the application being deployed. This version number should be
# 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.50.24
appVersion: dev

dependencies:
- name: common
Expand Down
4 changes: 2 additions & 2 deletions charts/airbyte-temporal/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.48.6
version: 0.48.8


# This is the version number of the application being deployed. This version number should be
# 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.50.24
appVersion: dev

dependencies:
- name: common
Expand Down
4 changes: 2 additions & 2 deletions charts/airbyte-webapp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.48.6
version: 0.48.8


# This is the version number of the application being deployed. This version number should be
# 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.50.24
appVersion: dev

dependencies:
- name: common
Expand Down
4 changes: 2 additions & 2 deletions charts/airbyte-worker/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 0.48.6
version: 0.48.8


# This is the version number of the application being deployed. This version number should be
# 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.50.24
appVersion: dev

dependencies:
- name: common
Expand Down
Loading

0 comments on commit b73299e

Please sign in to comment.