Commit d41f42a2 authored by nimrod's avatar nimrod
Browse files

Revert "Allow setting the server for Docker deployments."

This reverts commit 5b3aeb85.

Didn't work as expected.
parent 5b3aeb85
Loading
Loading
Loading
Loading
+2 −7
Original line number Diff line number Diff line
---
variables:
  server: host01.shore.co.il

compose-build:
.compose-build:
  image: adarnimrod/ci-images:docker
  stage: build
  tags: ["$server"]
  variables:
    COMPOSE_DOCKER_CLI_BUILD: "1"
    DOCKER_BUILDKIT: "1"
@@ -13,10 +9,9 @@ compose-build:
    - docker-compose build --no-cache --pull
    - docker-compose pull --quiet

compose-run:
.compose-run:
  image: adarnimrod/ci-images:docker
  stage: deploy
  tags: ["$server"]
  when: manual
  script:
    - docker-compose up --detach --remove-orphans