Fork me on GitHub
#circleci
<
2021-03-15
>
borkdude10:03:43

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

glenjamin14:03:09

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

glenjamin14:03:52

@borkdude should be sorted now

borkdude14:03:17

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

glenjamin14:03:30

either should work

borkdude15:03:21

Seems to work now, thanks!!

glenjamin15:03:42

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

borkdude15:03:41

@glenjamin I could just re-use my linux job

borkdude15:03:21

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

glenjamin15:03:26

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

borkdude15:03:51

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

borkdude15:03:18

I am using machine also for macos btw

borkdude15:03:34

anyway, it was a small change

borkdude15:03:10

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:
    ...

glenjamin15:03:36

ah cool, and the preinstalled jvm was suitable already

borkdude15:03:31

@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 
              tar xzf graalvm-ce-java11-linux-aarch64-21.0.0.tar.gz
            fi

👍 3
borkdude15:03:20

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 ;)