circleci

rm -rf /home/circleci/.gitconfig
borkdude 2021-03-15T10:38:43.009400Z

@glenjamin > I’ll check next week. which org/project is this? Thanks, I'll be looking forward to trying out arm

glenjamin 2021-03-15T14:08:09.010200Z

aha, the flag we've set on your org is clashing with a project-level flag. We're just figuring out the best to resolve these - i'll let you know when it's sorted

glenjamin 2021-03-15T14:44:52.010400Z

@borkdude should be sorted now

borkdude 2021-03-15T14:45:17.010800Z

@glenjamin :thumbsup: Should I try arm.medium, arm.large or both?

glenjamin 2021-03-15T14:45:30.011Z

either should work

borkdude 2021-03-15T15:03:21.011200Z

Seems to work now, thanks!!

borkdude 2021-03-15T15:31:06.011300Z

glenjamin 2021-03-15T15:39:12.011500Z

nice!

glenjamin 2021-03-15T15:39:42.012200Z

did you already have steps you know worked? sub 30 minutes from access to working is great

borkdude 2021-03-15T15:41:41.012600Z

@glenjamin I could just re-use my linux job

borkdude 2021-03-15T15:42:21.013Z

GraalVM has aarch64 so I just had to rename amd64 to aarch64 basically

glenjamin 2021-03-15T15:43:26.013600Z

ah nice, were you already using machine executor for linux?

borkdude 2021-03-15T15:43:51.013900Z

no, but this was easy enough to find out using these docs: https://github.com/CircleCI-Public/arm-preview-docs/blob/main/README.md

borkdude 2021-03-15T15:44:18.014300Z

I am using machine also for macos btw

borkdude 2021-03-15T15:44:27.014500Z

no I'm not

borkdude 2021-03-15T15:44:34.014700Z

anyway, it was a small change

borkdude 2021-03-15T15:45:10.015Z

linux:
    docker:
      - image: circleci/clojure:lein-2.9.1
    working_directory: ~/repo
    environment:
    ...
    resource_class: large
linux-aarch64:
    machine:
      enabled: true
      image: ubuntu-2004:202101-01
    resource_class: arm.large
    working_directory: ~/repo
    environment:
    ...

glenjamin 2021-03-15T15:46:36.015500Z

ah cool, and the preinstalled jvm was suitable already

borkdude 2021-03-15T15:48:31.016100Z

@glenjamin I'm not using the preinstalled one, I download graalvm already in the linux build and now also in the linux-aarch64 build:

- run:
          name: Download GraalVM
          command: |
            cd ~
            if ! [ -d graalvm-ce-java11-21.0.0 ]; then
              curl -O -sL <https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-21.0.0/graalvm-ce-java11-linux-aarch64-21.0.0.tar.gz>
              tar xzf graalvm-ce-java11-linux-aarch64-21.0.0.tar.gz
            fi

👍 1
borkdude 2021-03-15T15:49:20.016900Z

I also install clojure and leiningen myself, I basically don't care about the base image for this particular project at all as long as it's linux (or mac) and has enough memory ;)