Skip to content

Extremely complex deployment if using a self-hosted agent pool #20

Open
@Marko97IT

Description

@Marko97IT

Using the task instead of the script might seem advantageous but if you don't specify the requirements that the machine functioning as the agent pool must have then it makes no sense.
Below are the commands I used to finally deploy after hours and hours of attempts in a Ubuntu 22.04 agent pool self-hosted machine:

curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -
sudo apt install -y nodejs
sudo chown -R $(whoami):$(whoami) /usr/local/lib/node_modules
sudo chown -R $(whoami):$(whoami) /usr/bin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions