RUN curl -sL https://aka.ms/InstallAzureCLIDeb | bash
# Add vCluster CLI
-ENV VCLUSTER_VERSION "v0.26.0"
+ENV VCLUSTER_VERSION "v0.30.1"
RUN curl -L -o /tmp/vcluster "https://github.com/loft-sh/vcluster/releases/download/${VCLUSTER_VERSION}/vcluster-linux-amd64" \
&& install -c -m 0755 /tmp/vcluster /usr/local/bin \
&& rm -f /tmp/vcluster
.collect { "--env ${it}" }.join(' ')
def image = args.image ?: ''
def cmd = args.cmd ?: ''
- def fullCmd = """docker run ${entry} ${envs} ${envFile ? "--env-file ${envFile}" : ''} ${mounts} ${image} ${cmd}"""
+ def fullCmd = """docker run --rm ${entry} ${envs} ${envFile ? "--env-file ${envFile}" : ''} ${mounts} ${image} ${cmd}"""
def result = null
try {
println("vcluster 'e2e' created")
// 3) poll until Status is Running
- int maxWaitMinutes = 2
+ int maxWaitMinutes = 10
long deadline = System.currentTimeMillis() + (maxWaitMinutes * 60 * 1000)
boolean running = false
String lastOut = ''
} // if (params.SAVE_ARTIFACTS_OVERRIDE || stage_archive)
} // dir(OSM_DEVOPS)
} finally {
- // stage('Debug') {
- // sleep 900
- // }
+ //stage('Debug') {
+ // sleep 900
+ //}
stage('Archive Container Logs') {
if ( ARCHIVE_LOGS_FLAG ) {
try {