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