Mixing AppVeyor and private cloud

Noel Kuntze's Avatar

Noel Kuntze

08 Mar, 2020 05:36 PM

Hello,

I would like to know if it is possible to mix the appveyor cloud and a private cloud in such a manner that the builds that the private cloud supports are executed there and the ones it does not are executed in the AppVeyor cloud? That would greatly accelerate the testing because Linux based tests could be executed in the private clouds, potentially in docker containers running on the dev's own laptop, which is faster than he AppVeyor cloud, and Windows tests could be run in the AppVeyor cloud.

If it's not supported yet I propose it to be one of the next features.

Please let me know your thoughts.

Kind regards

Noel

  1. Support Staff 1 Posted by Feodor Fitsner on 09 Mar, 2020 10:13 PM

    Feodor Fitsner's Avatar

    Hi Noel,

    Absolutely, you can run only specific projects on your own cloud and the rest on AppVeyor in-house cloud.

  2. 2 Posted by Noel Kuntze on 09 Mar, 2020 10:16 PM

    Noel Kuntze's Avatar

    Hello Feodor,

    Well, I mean within a single project.
    If that's not possible, maybe we can use two appveyor projects for a single gitlab project and thus split the tests along OS?

    Kind regards

    Noel

  3. Support Staff 3 Posted by Feodor Fitsner on 09 Mar, 2020 10:19 PM

    Feodor Fitsner's Avatar

    You mean like running the same build jobs on different clouds?

  4. 4 Posted by Noel Kuntze on 09 Mar, 2020 10:27 PM

    Noel Kuntze's Avatar

    A subset on each cloud.
    E.g. some Ubuntu based ones in cloud a, the Windows based ones in cloub b and some of the ubuntu based ones in cloud c.
    The reason is that docker based tests are much faster but constrained by the container technology, some tests *have to* run on Windows and for some Ubuntu based tests we need fast KVM based VMs or a directly bare metal host to run the test (because it does some hardware specific stuff).

    Kind regards

    Noel

  5. Support Staff 5 Posted by Feodor Fitsner on 09 Mar, 2020 10:30 PM

    Feodor Fitsner's Avatar

    You can control the build cloud with environment variables which could be defined on job level:

    https://www.appveyor.com/docs/byoc/#routing-builds-to-your-cloud

    kind of:

    environment:
      matrix:
      - job_name: VS 2019 on GCE us-central1
        APPVEYOR_BUILD_WORKER_IMAGE: base-windows-server-2019-dc-gce-us-central1
    
      - job_name: VS 2019 on Azure West US
        APPVEYOR_BUILD_WORKER_IMAGE: base-windows-server-2019-dc-azure-westus
    
  6. 6 Posted by Noel Kuntze on 09 Mar, 2020 11:05 PM

    Noel Kuntze's Avatar

    That works. Thank you. :)

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

01 Oct, 2024 04:27 PM
26 Sep, 2024 03:49 PM
26 Sep, 2024 09:02 AM
25 Sep, 2024 07:07 PM
24 Sep, 2024 08:39 PM
24 Sep, 2024 06:47 AM