designate which runners you can use at each stage.

this is in preparation for ios builds and an eventual ios app.
and also don't use the asus for anything but deploying to gcloud,
as its too small to handle the load of android builds
This commit is contained in:
Jason Wall 2024-03-01 08:35:30 -05:00
parent ce6b9dad08
commit a200dfd19f

View File

@ -6,6 +6,11 @@ stages:
build-android: build-android:
stage: build stage: build
tags:
- android
- gitlab-org
- gitlab-org-docker
- docker
image: walljm/gradle_android:8.0.2-jdk17-33-node1 image: walljm/gradle_android:8.0.2-jdk17-33-node1
before_script: before_script:
- cd ./src/android - cd ./src/android
@ -29,6 +34,11 @@ build-android:
test: test:
stage: test stage: test
tags:
- android
- gitlab-org
- gitlab-org-docker
- docker
image: walljm/node-chrome-headless:21.6 image: walljm/node-chrome-headless:21.6
variables: variables:
NODE_OPTIONS: "--max_old_space_size=2048" NODE_OPTIONS: "--max_old_space_size=2048"
@ -42,6 +52,12 @@ test:
deploy-staging: deploy-staging:
stage: staging stage: staging
tags:
- docker
- gitlab-org
- gitlab-org-docker
- docker
- small-docker
image: google/cloud-sdk image: google/cloud-sdk
script: script:
- cd ./src - cd ./src
@ -55,6 +71,12 @@ deploy-staging:
deploy-prod-site: deploy-prod-site:
stage: prod stage: prod
tags:
- docker
- gitlab-org
- gitlab-org-docker
- docker
- small-docker
image: google/cloud-sdk image: google/cloud-sdk
script: script:
- cd ./src - cd ./src
@ -68,6 +90,11 @@ deploy-prod-site:
deploy-android: deploy-android:
stage: prod stage: prod
tags:
- android
- gitlab-org
- gitlab-org-docker
- docker
image: walljm/gradle_android:8.0.2-jdk17-33-node1 image: walljm/gradle_android:8.0.2-jdk17-33-node1
needs: needs:
- build-android - build-android