92f947d5a2d039b7ef77db1121ae27a5efd78640 — HokieGeek a month ago 7cccf39 master v1.4.3
Decided to change how it gets built
2 files changed, 21 insertions(+), 25 deletions(-)

M .build.yml
M biologist.go
M .build.yml => .build.yml +21 -24
@@ 1,39 1,36 @@-image: alpine/edge
+ image: archlinux
  packages:
    - go
    - git
-   - build-base
-   - docker
+     # - docker
    - shadow
+     #   - google-cloud-sdk
  sources:
    - https://git.sr.ht/~hokiegeek/biologist
  environment:
    PROJ: biologist
-   CI_COMMIT_TAG: $(git --work-tree=./teadb --git-dir=./biologist/.git describe)
-   CI_REGISTRY: quay.io
-   CI_REGISTRY_USER: hokiegeek
- secrets:
-   - d675b280-e56b-4c0f-9908-549c70a7e2f9
+   #   CI_COMMIT_TAG: $(git --work-tree=./teadb --git-dir=./biologist/.git describe)
+   #   CI_REGISTRY: gcr.io
+   #   CI_REGISTRY_USER: hokiegeek-net
+   # secrets:
+   #   - 3c7786a3-e027-4018-bc74-42a1492176d5 # gcp key
  tasks:
-   - setup: |
-       sudo mount -t tmpfs -o size=4G /dev/null /dev/shm
-       sudo service cgroups start
-       sleep 2
-       sudo nohup dockerd --bip 172.18.0.1/16 </dev/null >/dev/null 2>&1 &
-       sleep 5
-       sudo addgroup $(whoami) docker
+     # - setup: |
+     #     sudo mount -t tmpfs -o size=4G /dev/null /dev/shm
+     #     sudo nohup dockerd --bip 172.18.0.1/16 </dev/null >/dev/null 2>&1 &
+     #     sudo gpasswd -a $(whoami) docker
    - build: |
        cd ${PROJ}
        go build -v ./...
    - test: |
        cd ${PROJ}
        go test -v -cover ./...
-   - package: |
-       cd ${PROJ}
-       IMAGE=${CI_REGISTRY}/hokiegeek/${PROJ}
-       IMAGE_TAG=${IMAGE}:${CI_COMMIT_TAG}
-       IMAGE_LATEST_TAG=${IMAGE}:latest
-       docker build -t $IMAGE_TAG -t $IMAGE_LATEST_TAG .
-       cat $HOME/.image_registry_token | docker login --username ${CI_REGISTRY_USER} --password-stdin ${CI_REGISTRY}
-       docker push $IMAGE_TAG
-       docker push $IMAGE_LATEST_TAG
+       #   - package: |
+       #       cd ${PROJ}
+       #       IMAGE=${CI_REGISTRY}/${CI_REGISTRY_USER}/${PROJ}
+       #       IMAGE_TAG=${IMAGE}:${CI_COMMIT_TAG}
+       #       IMAGE_LATEST_TAG=${IMAGE}:latest
+       #       docker build -t $IMAGE_TAG -t $IMAGE_LATEST_TAG .
+       #       cat $HOME/.gcp_cloudrunner_key.json | docker login -u _json_key --password-stdin https://${CI_REGISTRY}
+       #       docker push $IMAGE_TAG
+       #       docker push $IMAGE_LATEST_TAG

M biologist.go => biologist.go +0 -1
@@ 95,7 95,6 @@ shadow := new(Analysis)
  
  	shadow.Status = t.Status
- 
  	shadow.Living = make([]life.Location, len(t.Living))
  	copy(shadow.Living, t.Living)