Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <abazko@redhat.com>
  • Loading branch information
tolusha committed Oct 1, 2021
1 parent ad67e60 commit 3cd040e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/tasks/platforms/minikube.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { Command } from '@oclif/command'
import * as commandExists from 'command-exists'
import * as execa from 'execa'
import * as Listr from 'listr'
import { sleep } from '../../util'
import { OIDCContextKeys } from '../../api/context'
import { KubeHelper } from '../../api/kube'
import { VersionHelper } from '../../api/version'
Expand Down Expand Up @@ -165,6 +166,7 @@ export class MinikubeTasks {
title: 'Wait for Minikube API server',
task: async (_: any, task: any) => {
const kube = new KubeHelper(flags)
await sleep(30 * 1000)
await kube.waitForPodReady('component=kube-apiserver', 'kube-system')

task.title = `${task.title}...[OK]`
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2645,7 +2645,7 @@ ecc-jsbn@~0.1.1:

"eclipse-che-operator@git://github.com/eclipse-che/che-operator#main":
version "0.0.0"
resolved "git://github.com/eclipse-che/che-operator#597d9cdedf72d79ea60c8f0ef7280b82d2c8fe1b"
resolved "git://github.com/eclipse-che/che-operator#b8cc02bf9a6a0d6f4eb5d64e02feae8b51653bcd"

"eclipse-che-server@git://github.com/eclipse-che/che-server#main":
version "0.0.0"
Expand Down

0 comments on commit 3cd040e

Please sign in to comment.