diff --git a/.semaphore/pipeline_2.yml b/.semaphore/pipeline_2.yml index 11568ac..78df075 100644 --- a/.semaphore/pipeline_2.yml +++ b/.semaphore/pipeline_2.yml @@ -13,14 +13,14 @@ blocks: - checkout - git submodule update --init --recursive - 'docker pull $DOCKER_USERNAME/cloud9-ide-vdi:latest || true' - - 'cd ./configuration && ./configure.py --desktop enabled' + - 'cd ./configuration && python configure.py --desktop enabled' - 'docker build --cache-from=$DOCKER_USERNAME/cloud9-ide-vdi:latest -t devindice/cloud9-ide-vdi .' - '# Login to Dockerhub' - 'echo "${DOCKER_PASSWORD}" | docker login -u "${DOCKER_USERNAME}" --password-stdin' - '# Create a version' - 'docker image tag devindice/cloud9-ide-vdi:latest devindice/cloud9-ide-vdi:testing' - 'docker push $DOCKER_USERNAME/cloud9-ide-vdi:testing' - - 'cd ./configuration && ./configure.py --desktop disabled' + - 'cd ./configuration && python configure.py --desktop disabled' - 'docker build --cache-from=$DOCKER_USERNAME/cloud9-ide-vdi:latest -t devindice/cloud9-ide-vdi .' - 'docker image tag devindice/cloud9-ide-vdi:latest devindice/cloud9-ide-vdi:no-desktop-testing' - 'docker push $DOCKER_USERNAME/cloud9-ide-vdi:no-desktop-testing' diff --git a/configuration/configure.py b/configuration/configure.py index 93764ac..0332411 100755 --- a/configuration/configure.py +++ b/configuration/configure.py @@ -1,4 +1,3 @@ -#!/usr/local/bin/python from jinja2 import Environment, FileSystemLoader from os import mkdir, path import argparse