[ 
https://issues.apache.org/jira/browse/SUBMARINE-388?focusedWorklogId=389895&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-389895
 ]

ASF GitHub Bot logged work on SUBMARINE-388:
--------------------------------------------

                Author: ASF GitHub Bot
            Created on: 20/Feb/20 12:10
            Start Date: 20/Feb/20 12:10
    Worklog Time Spent: 10m 
      Work Description: asfgit commented on pull request #185: SUBMARINE-388. 
Rebuild submarine image every run k8s-test
URL: https://github.com/apache/submarine/pull/185
 
 
   
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 389895)
    Time Spent: 20m  (was: 10m)

> [k8s-e2e] Rebuild submarine image every run k8s-test
> ----------------------------------------------------
>
>                 Key: SUBMARINE-388
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-388
>             Project: Apache Submarine
>          Issue Type: Sub-task
>          Components: E2E Test
>            Reporter: Liu Xun
>            Assignee: Liu Xun
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 0.4.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> ## k8s test
> k8s test: When the user submits the code to his/her repository or the 
> `apache/submarine` git repository, the travis test task will automatically 
> start.
> test-k8s runs test cases in travis. It will first create a k8s cluster by 
> using the kind tool in travis,
> and then compile and package the submarine project in `submarine-dist` 
> directory to build a docker image.
> Then use this latest code build docker image in k8s Deploy a submarine 
> system. Then run test case in the `test-k8s/..` directory.
> ### Run k8s test in locally
> Executing the following command will perform the following actions:
> ```
> mvn -Phadoop-2.9 clean package install -DskipTests verify -DskipRat -am -pl 
> submarine-test/test-k8s
> ```
> 1. The submarine project will be compiled and packaged to generate 
> `submarine-dist/target/submarine-<version>.tar.gz`
> 2. Call the `submarine-cloud/hack/integration-test.sh` script
>     + Call the `build.sh` script under `submarine/dev-support/docker-images/` 
> to generate the latest `submarine`, `database` and `operator` docker images.
>     + Call `submarine-cloud/hack/kind-cluster-build.sh` to create a k8s 
> cluster
>     + Call `submarine-cloud/hack/deploy-submarine.sh` to deploy the submarine 
> system in the k8s cluster using the latest `submarine`, `database` and 
> `operator` docker images.
>     + Call the test cases in `submarine-test/test-k8s/` for testing.
> ### Run k8s test in travis
> Each time a code is submitted, travis is automatically triggered for testing.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to