Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build(ci): treat postgres-kanister-tools and mysql-sidecar images as "officially supported" #3021

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .github/workflows/build_example_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,6 @@ jobs:
org.opencontainers.image.title=kanister cassandra
org.opencontainers.image.description=Image for kanister cassandra example blueprints

build_mysql_sidecar:
permissions:
packages: write
uses: ./.github/workflows/build_docker.yaml
with:
image_file: docker/kanister-mysql/image/Dockerfile
image_name: kanisterio/mysql-sidecar
image_tag: ${{ inputs.image_tag }}
ref: ${{ inputs.ref }}
build-args: |
TOOLS_IMAGE=ghcr.io/kanisterio/kanister-tools:${{ inputs.image_tag }}
labels: |
org.opencontainers.image.title=kanister mysql sidecar
org.opencontainers.image.description=Image for kanister maysql example blueprints

build_kafka-adobe-s3-sink-connector:
permissions:
packages: write
Expand Down Expand Up @@ -85,21 +70,6 @@ jobs:
org.opencontainers.image.title=kanister kafka source connector
org.opencontainers.image.description=Image for kanister kafka example blueprints

build_postgres-kanister-tools:
permissions:
packages: write
uses: ./.github/workflows/build_docker.yaml
with:
image_file: docker/postgres-kanister-tools/Dockerfile
image_name: kanisterio/postgres-kanister-tools
image_tag: ${{ inputs.image_tag }}
ref: ${{ inputs.ref }}
build-args: |
TOOLS_IMAGE=ghcr.io/kanisterio/kanister-tools:${{ inputs.image_tag }}
labels: |
org.opencontainers.image.title=kanister tools for postgresql
org.opencontainers.image.description=Image for kanister postgresql example blueprints

build_postgresql:
permissions:
packages: write
Expand Down
10 changes: 10 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,16 @@ dockers:
dockerfile: 'docker/kanister-kubectl/Dockerfile'
build_flag_templates:
- "--build-arg=TOOLS_IMAGE=ghcr.io/kanisterio/kanister-tools:{{ .Tag }}"
- image_templates:
- 'ghcr.io/kanisterio/postgres-kanister-tools:{{ .Tag }}'
dockerfile: 'docker/postgres-kanister-tools/Dockerfile'
build_flag_templates:
- "--build-arg=TOOLS_IMAGE=ghcr.io/kanisterio/kanister-tools:{{ .Tag }}"
- image_templates:
- 'ghcr.io/kanisterio/mysql-sidecar:{{ .Tag }}'
dockerfile: 'docker/kanister-mysql/image/Dockerfile'
build_flag_templates:
- "--build-arg=TOOLS_IMAGE=ghcr.io/kanisterio/kanister-tools:{{ .Tag }}"
snapshot:
name_template: '{{ .Tag }}'
checksum:
Expand Down
2 changes: 0 additions & 2 deletions build/example_images.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"image_registry": "ghcr.io/kanisterio",
"images": [
"mysql-sidecar",
"kafka-adobe-s3-sink-connector",
"postgres-kanister-tools",
"postgresql",
"cassandra",
"mongodb",
Expand Down
4 changes: 3 additions & 1 deletion build/published_images.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"kanister-kubectl-1.18",
"controller",
"kanister-tools",
"repo-server-controller"
"repo-server-controller",
"postgres-kanister-tools",
"mysql-sidecar"
],
"tag": "v9.99.9-dev"
}