Created
March 1, 2023 19:13
-
-
Save jmoz/17c1060cc2344e2662ea159a1cfd825c to your computer and use it in GitHub Desktop.
Revisions
-
jmoz created this gist
Mar 1, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,29 @@ image: docker/compose:latest services: - docker:dind stages: - build - test - deploy before_script: - docker info - docker-compose --version build-job: stage: build script: - docker-compose build unittest-job: stage: test script: - docker-compose run shogunbt python -m unittest deploy-job: stage: deploy environment: production script: - echo "Deploying application..."