From 60f10c655f0d1dd8abba5945f8d42b51a00d0468 Mon Sep 17 00:00:00 2001 From: shockrah Date: Fri, 26 Jul 2024 17:26:24 -0700 Subject: [PATCH] Disabling the whole pipeline since the infra has changed --- .gitlab-ci.yml | 111 ++++++++++++++++++++----------------------------- 1 file changed, 44 insertions(+), 67 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index cdd16b3..4ef8407 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,67 +1,44 @@ -image: shockrah/website:latest - -stages: - - build - - deploy - - golive - - -############## ################## ############## -############## Build Site Content ############## -############## ################## ############## - - -build-content: - stage: build - image: shockrah/website:latest - only: - refs: - - master - script: - - cd main-site/ && hugo - artifacts: - expire_in: 1 week - paths: - - main-site/public/ - - - - -############## ################## ############## -############## Deploy Site ############## -############## ################## ############## - -deploy-to-s3: - stage: deploy - # Override entrypoint to avoid weird auto start shenanigans - image: - name: amazon/aws-cli:2.2.25 - entrypoint: [""] - needs: - - build-content - before_script: - - bash ci/verify-aws-fields.sh - script: - # Upload the content to the bucket itself - - cd main-site/ && aws s3 cp public s3://temper.tv/ --recursive - - - -############## ################## ############## -############## Refresh Container ############## -############## ################## ############## - -blue-green-deployment-nginx: - stage: golive - image: - name: amazon/aws-cli:2.2.25 - entrypoint: [""] - needs: - - deploy-to-s3 - variables: - service: athens-nginx-static-content - cluster: athens-alpha-cluster - before_script: - - bash ci/verify-aws-fields.sh - script: - - aws ecs update-service --cluster $cluster --service $service --force-new-deployment +# image: shockrah/website:latest +# +# stages: +# - build +# - deploy +# +# +# ############## ################## ############## +# ############## Build Site Content ############## +# ############## ################## ############## +# +# +# build-content: +# stage: build +# image: shockrah/website:latest +# only: +# refs: +# - master +# script: +# - cd main-site/ && hugo +# artifacts: +# expire_in: 1 week +# paths: +# - main-site/public/ +# +# +# +# ############## ################ ############## +# ############## Build Site Image ############## +# ############## ################ ############## +# +# build-image: +# stage: deploy +# image: docker:stable +# services: +# - docker:dind +# only: +# refs: +# - master +# # Login to registery +# before_script: +# - docker login -u $DOCKER_USERNAME --password-stdin << $TOKEN +# script: +# - cd ./main-site/ && docker build . -t $