Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drone doesn't schedule pods according to platform #2816

Closed
ahmedmagdiosman opened this issue Sep 4, 2019 · 1 comment
Closed

Drone doesn't schedule pods according to platform #2816

ahmedmagdiosman opened this issue Sep 4, 2019 · 1 comment

Comments

@ahmedmagdiosman
Copy link

It seems drone randomly creates pods without taking into consideration the node's architecture. More often than not, AMD64 pipelines get scheduled on ARM64 nodes.

Here's my drone.yml

kind: pipeline
name: amd64

platform:
  os: linux
  arch: amd64

steps:
- name: docker  
  image: plugins/docker
  pull: always
  settings:
    repo: example.com/firefly-iii
    registry: example.com
    auto_tag: true
    auto_tag_suffix: linux-amd64
    debug: true
    dockerfile: Dockerfile
---
kind: pipeline
name: arm64

platform:
  os: linux
  arch: arm64

steps:
- name: docker  
  image: plugins/docker
  pull: always
  settings:
    repo: example.com/firefly-iii
    registry: example.com
    auto_tag: true
    auto_tag_suffix: linux-arm64
    debug: true
    dockerfile: Dockerfile.arm64
---
kind: pipeline
name: manifest

steps:
- name: manifest
  image: example.com/drone-manifest
  pull: always
  settings:
    repo: example.com/firefly-iii
    registry: example.com
    ignore_missing: true
    spec: manifest.tmpl
    dump: true

trigger:
  event:
  - push
  - tag

depends_on:
- amd64
- arm64

Any idea what might be causing this? Thanks :)

@bradrydzewski
Copy link

duplicate of drone/drone-runtime#68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants