Skip to content

Commit

Permalink
ansible: add loongson-clfs-loongarch64-{1,2,3} (nodejs#3540)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shi Pujin committed May 27, 2024
1 parent f9ce3da commit 34ca817
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 4 deletions.
17 changes: 17 additions & 0 deletions ansible/inventory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,23 @@ hosts:
smartos20-x64-2: {ip: 147.28.162.108}
ubuntu1804_docker-x64-1: {ip: 147.28.162.104, user: ubuntu}

- loongson:
clfs-loongarch64-1:
ansible_python_interpreter: /usr/bin/python3
ip: 111.207.111.194
port: 13966
user: nodejs
clfs-loongarch64-2:
ansible_python_interpreter: /usr/bin/python3
ip: 114.242.206.194
port: 14122
user: nodejs
clfs-loongarch64-3:
ansible_python_interpreter: /usr/bin/python3
ip: 114.242.206.194
port: 14123
user: nodejs

- macstadium:
macos11.0-arm64-1:
ansible_python_interpreter: /usr/bin/python3
Expand Down
8 changes: 4 additions & 4 deletions ansible/plugins/inventory/nodejs_yaml.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@

valid = {
# taken from nodejs/node.git: ./configure
'arch': ('armv6l', 'armv7l', 'arm64', 'ia32', 'mips', 'mipsel', 'ppc',
'ppc64', 'x32', 'x64', 'x86', 's390', 's390x'),
'arch': ('armv6l', 'armv7l', 'arm64', 'ia32', 'loong64', 'mips', 'mipsel',
'ppc', 'ppc64', 'x32', 'x64', 'x86', 's390', 's390x'),

# valid roles - add as necessary
'type': ('infra', 'release', 'test'),

# providers - validated for consistency
'provider': ('azure', 'digitalocean', 'equinix', 'ibm', 'iinthecloud', 'joyent',
'linuxonecc', 'hetzner', 'macstadium', 'marist', 'mininodes', 'msft',
'orka', 'osuosl', 'rackspace',
'linuxonecc', 'loongson', 'hetzner', 'macstadium', 'marist', 'mininodes',
'msft', 'orka', 'osuosl', 'rackspace',
'rzkh', 'scaleway', 'softlayer', 'voxer')
}
DECRYPT_TOOL = "gpg"
Expand Down
4 changes: 4 additions & 0 deletions ansible/roles/baselayout/vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ packages: {
'autoconf,automake,ca-certificates-mozilla,tar-gnu,gzip,ccache,cmake,coreutils-gnu,gcc10,gcc10-cplusplus,gcc10-cpp,git,libstdcplusplus6-10-devel,m4-gnu,openssl-devel,python2-setuptools,python3,python3-pip,python39,python39-pip,python39-setuptools,sed-gnu,zlib-devel,icu-devel,c-ares-devel,brotli-devel,grep-gnu,pkg-config,xz',
],

clfs: [
'gcc,g++,binutils,git,curl,autoconf,automake,make,cmake,python3',
],

debian8: [
'ccache,git,gcc-4.9,g++-4.9,libfontconfig1,binutils-2.26,sudo',
],
Expand Down
Empty file.

0 comments on commit 34ca817

Please # to comment.