You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kyuubi.apache.org by ul...@apache.org on 2021/10/09 06:22:50 UTC
[incubator-kyuubi] branch master updated: [KYUUBI #1199] Refine
docker image file
This is an automated email from the ASF dual-hosted git repository.
ulyssesyou pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-kyuubi.git
The following commit(s) were added to refs/heads/master by this push:
new 95b884e [KYUUBI #1199] Refine docker image file
95b884e is described below
commit 95b884e9b720f287241e28c8fce3300e8bf7db11
Author: ulysses-you <ul...@gmail.com>
AuthorDate: Sat Oct 9 14:22:35 2021 +0800
[KYUUBI #1199] Refine docker image file
<!--
Thanks for sending a pull request!
Here are some tips for you:
1. If this is your first time, please read our contributor guidelines: https://kyuubi.readthedocs.io/en/latest/community/contributions.html
2. If the PR is related to an issue in https://github.com/apache/incubator-kyuubi/issues, add '[KYUUBI #XXXX]' in your PR title, e.g., '[KYUUBI #XXXX] Your PR title ...'.
3. If the PR is unfinished, add '[WIP]' in your PR title, e.g., '[WIP][KYUUBI #XXXX] Your PR title ...'.
-->
### _Why are the changes needed?_
<!--
Please clarify why the changes are needed. For instance,
1. If you add a feature, you can talk about the use case of it.
2. If you fix a bug, you can clarify why it is a bug.
-->
* Use apache/kyuubi docker hub repo instead of personal repo
* change workflow env to ubuntu-20.04
### _How was this patch tested?_
- [ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible
- [ ] Add screenshots for manual tests if appropriate
- [ ] [Run test](https://kyuubi.readthedocs.io/en/latest/develop_tools/testing.html#running-tests) locally before make a pull request
Closes #1199 from ulysses-you/refine-docker.
Closes #1199
2ec73286 [ulysses-you] always
d6ed71b5 [ulysses-you] refine
Authored-by: ulysses-you <ul...@gmail.com>
Signed-off-by: ulysses-you <ul...@apache.org>
---
.github/workflows/docker-image.yml | 2 +-
docker/kyuubi-deployment.yaml | 6 +++---
docker/kyuubi-pod.yaml | 6 +++---
3 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml
index 2de6173..85c585f 100644
--- a/.github/workflows/docker-image.yml
+++ b/.github/workflows/docker-image.yml
@@ -8,7 +8,7 @@ on:
jobs:
push_to_registry:
name: Push Docker image to Docker Hub
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04
concurrency:
# this group should be global unique
group: push-docker-image
diff --git a/docker/kyuubi-deployment.yaml b/docker/kyuubi-deployment.yaml
index 6024407..5babeb7 100644
--- a/docker/kyuubi-deployment.yaml
+++ b/docker/kyuubi-deployment.yaml
@@ -50,9 +50,9 @@ spec:
spec:
containers:
- name: kyuubi-server
- # TODO: replace this with the official repo
- image: yaooqinn/kyuubi:1.3.0
- imagePullPolicy: IfNotPresent
+ # TODO: replace this with the stable tag
+ image: apache/kyuubi:master-snapshot
+ imagePullPolicy: Always
env:
- name: KYUUBI_JAVA_OPTS
value: -Dkyuubi.frontend.bind.host=0.0.0.0
diff --git a/docker/kyuubi-pod.yaml b/docker/kyuubi-pod.yaml
index 738eabf..ed3e723 100644
--- a/docker/kyuubi-pod.yaml
+++ b/docker/kyuubi-pod.yaml
@@ -50,9 +50,9 @@ metadata:
spec:
containers:
- name: kyuubi-server
- # TODO: replace this with the official repo
- image: yaooqinn/kyuubi:1.3.0
- imagePullPolicy: IfNotPresent
+ # TODO: replace this with the stable tag
+ image: apache/kyuubi:master-snapshot
+ imagePullPolicy: Always
env:
- name: KYUUBI_JAVA_OPTS
value: -Dkyuubi.frontend.bind.host=0.0.0.0