~hokiegeek/biologist-web

d158ae5a5dad0e3d0c155b2bf951f581012b654d — HokieGeek 5 years ago f259130 3.0.6
Fixing CI script
2 files changed, 7 insertions(+), 7 deletions(-)

M .build.yml
M package.json
M .build.yml => .build.yml +6 -6
@@ 18,10 18,10 @@ environment:
  CI_REGISTRY_USER_HUB: hokiegeek
  CI_REGISTRY_GCR: gcr.io
  CI_REGISTRY_USER_GCR: hokiegeek-net
  PATH: ${PATH}:$HOME/google-cloud-sdk/bin
  GCSDK: /home/build/google-cloud-sdk/bin
secrets:
  - 1e1af69d-4036-40fd-9eb8-03b367bdb0eb # docker hub
  - 3c7786a3-e027-4018-bc74-42a1492176d5 # gcp key
  - 3c7786a3-e027-4018-bc74-42a1492176d5 # gcp cloudrunner key
tasks:
  - docker_setup: |
      sudo mount -t tmpfs -o size=4G /dev/null /dev/shm


@@ 33,9 33,9 @@ tasks:
  - gcloud_setup: |
      curl --output ./gcloud.tar.gz https://dl.google.com/dl/cloudsdk/channels/rapid/downloads/google-cloud-sdk-${GCLOUD_VER}-linux-x86_64.tar.gz
      tar -xvzf ./gcloud.tar.gz
      gcloud auth activate-service-account --key-file=$HOME/.gcp_cloudrunner_key.json
      gcloud config set project ${GCP_PROJ}
      yes | gcloud auth configure-docker
      ${GCSDK}/gcloud auth activate-service-account --key-file=$HOME/.gcp_cloudrunner_key.json
      ${GCSDK}/gcloud config set project ${GCP_PROJ}
      yes | ${GCSDK}/gcloud auth configure-docker
  - install: |
      cd ${PROJ}
      npm install


@@ 68,4 68,4 @@ tasks:
      docker push ${IMAGE_GCR_TAG}
      docker push ${IMAGE_GCR}:latest
  - deploy: |
      gcloud --quiet beta run deploy ${GCP_RUN_SVC} --image ${CI_REGISTRY_GCR}/${CI_REGISTRY_USER_GCR}/${PROJ} --platform managed --region us-east1 --allow-unauthenticated --memory 512Mi
      ${GCSDK}/gcloud --quiet beta run deploy ${GCP_RUN_SVC} --image ${CI_REGISTRY_GCR}/${CI_REGISTRY_USER_GCR}/${PROJ} --platform managed --region us-east1 --allow-unauthenticated --memory 512Mi

M package.json => package.json +1 -1
@@ 1,6 1,6 @@
{
  "name": "biologist-web",
  "version": "3.0.5",
  "version": "3.0.6",
  "license": "MIT",
  "scripts": {
    "ng": "ng",