Skip to content

Commit

Permalink
base-images: update crane image address
Browse files Browse the repository at this point in the history
  • Loading branch information
alafanechere committed Dec 12, 2024
1 parent e6a56d3 commit 0ff9327
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 7 deletions.
3 changes: 3 additions & 0 deletions airbyte-ci/connectors/base_images/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ poetry run mypy base_images --check-untyped-defs

## CHANGELOG

### 1.3.1
- Update the crane image address. The previous address was deleted by the maintainer.

### 1.2.0
- Improve new version prompt to pick bump type with optional pre-release version.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,7 @@ def get_credentials() -> Tuple[str, str]:

class CraneClient:

CRANE_IMAGE_ADDRESS = (
"gcr.io/go-containerregistry/crane/debug:v0.15.1@sha256:f6ddf8e2c47df889e06e33c3e83b84251ac19c8728a670ff39f2ca9e90c4f905"
)
CRANE_IMAGE_ADDRESS = "gcr.io/go-containerregistry/crane/debug:c195f151efe3369874c72662cd69ad43ee485128@sha256:94f61956845714bea3b788445454ae4827f49a90dcd9dac28255c4cccb6220ad"

def __init__(self, dagger_client: dagger.Client, docker_credentials: Tuple[str, str], cache_ttl_seconds: int = 0):
self.docker_hub_username_secret = dagger_client.set_secret("DOCKER_HUB_USERNAME", docker_credentials[0])
Expand Down
2 changes: 1 addition & 1 deletion airbyte-ci/connectors/base_images/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "airbyte-connectors-base-images"
version = "1.3.0"
version = "1.3.1"
description = "This package is used to generate and publish the base images for Airbyte Connectors."
authors = ["Augustin Lafanechere <[email protected]>"]
readme = "README.md"
Expand Down
3 changes: 2 additions & 1 deletion airbyte-ci/connectors/pipelines/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -854,8 +854,9 @@ airbyte-ci connectors --language=low-code migrate-to-manifest-only

| Version | PR | Description |
| ------- | ---------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- |
| 4.46.1 | [#TBD](https://github.com/airbytehq/airbyte/pull/TBD) | Update `crane` image address as the one we were using has been deleted by the maintainer. |
| 4.46.0 | [#48790](https://github.com/airbytehq/airbyte/pull/48790) | Add unit tests step for manifest-only connectors |
| 4.45.3 | [#48927](https://github.com/airbytehq/airbyte/pull/48927) | Fix bug in determine_changelog_entry_comment |
| 4.45.3 | [#48927](https://github.com/airbytehq/airbyte/pull/48927) | Fix bug in determine_changelog_entry_comment |
| 4.45.2 | [#48868](https://github.com/airbytehq/airbyte/pull/48868) | Fix ownership issues while using `--use-local-cdk` |
| 4.45.1 | [#48872](https://github.com/airbytehq/airbyte/pull/48872) | Make the `connectors list` command write its output to a JSON file. |
| 4.45.0 | [#48866](https://github.com/airbytehq/airbyte/pull/48866) | Adds `--rc` option to `bump-version` command |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ def with_crane(

# We use the debug image as it contains a shell which we need to properly use environment variables
# https://github.com/google/go-containerregistry/tree/main/cmd/crane#images
base_container = context.dagger_client.container().from_("gcr.io/go-containerregistry/crane/debug:v0.15.1")
base_container = context.dagger_client.container().from_(
"gcr.io/go-containerregistry/crane/debug:c195f151efe3369874c72662cd69ad43ee485128@sha256:94f61956845714bea3b788445454ae4827f49a90dcd9dac28255c4cccb6220ad"
)

if context.docker_hub_username and context.docker_hub_password:
base_container = (
Expand Down
2 changes: 1 addition & 1 deletion airbyte-ci/connectors/pipelines/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"

[tool.poetry]
name = "pipelines"
version = "4.46.0"
version = "4.46.1"
description = "Packaged maintained by the connector operations team to perform CI for connectors' pipelines"
authors = ["Airbyte <[email protected]>"]

Expand Down

0 comments on commit 0ff9327

Please sign in to comment.