From df494fbc7012a1ba1ab01cc6d43846be893fb368 Mon Sep 17 00:00:00 2001 From: Dave Dietrick Date: Mon, 18 Nov 2024 15:47:01 +0100 Subject: [PATCH] Cleanup .gitlab-ci.yml --- .gitlab-ci.yml | 39 --------------------------------------- 1 file changed, 39 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ba8bf57..bf84cde 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,11 +1,5 @@ -variables: - REPOSITORY_NAME: djdietrick/docs - DOCKER_HOST: tcp://docker:2375 - stages: - pages - - build - - deploy image: node:18 pages: @@ -22,36 +16,3 @@ pages: artifacts: paths: - public -# build: -# stage: build -# image: -# name: amazon/aws-cli -# entrypoint: [""] -# services: -# - docker:dind -# before_script: -# - amazon-linux-extras install docker -# script: | -# docker build -t $DOCKER_REGISTRY/$REPOSITORY_NAME:$CI_PIPELINE_ID -t $DOCKER_REGISTRY/$REPOSITORY_NAME:latest . -# aws ecr get-login-password | docker login --username AWS --password-stdin $DOCKER_REGISTRY -# docker push $DOCKER_REGISTRY/$REPOSITORY_NAME --all-tags - -# variables: -# SERVICE_NAME: "docs" - -# stages: -# - deploy - -# deploy: -# stage: deploy -# only: -# - master # This pipeline stage will run on this branch alone - -# image: google/cloud-sdk:latest # We'll use Google Cloud SDK for Cloud Run related commands -# script: -# - echo $GCP_SERVICE_ACCOUNT > gcloud-service-key.json # Save Google cloud contents in a temporary json file -# - gcloud auth activate-service-account --key-file gcloud-service-key.json # Activate your service account -# - gcloud auth configure-docker # Configure docker environment -# - gcloud config set project $GCP_PROJECT_ID #Set the GCP Project ID to the variable name -# - gcloud builds submit --tag gcr.io/$GCP_PROJECT_ID/$SERVICE_NAME #Run the gcloud build command to build our image -# - gcloud run deploy $SERVICE_NAME --image gcr.io/$GCP_PROJECT_ID/$SERVICE_NAME --region=us-east4 --platform managed --allow-unauthenticated # Run the gcloud run deploy command to deploy our new service