ci: drop sudo from nomad install (runner runs as root)
This commit is contained in:
@@ -39,9 +39,9 @@ jobs:
|
|||||||
|
|
||||||
- name: Install Nomad CLI
|
- name: Install Nomad CLI
|
||||||
run: |
|
run: |
|
||||||
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo gpg --dearmor -o /usr/share/keyrings/hashicorp.gpg
|
curl -fsSL https://apt.releases.hashicorp.com/gpg | gpg --dearmor -o /usr/share/keyrings/hashicorp.gpg
|
||||||
echo "deb [signed-by=/usr/share/keyrings/hashicorp.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/hashicorp.list
|
echo "deb [signed-by=/usr/share/keyrings/hashicorp.gpg] https://apt.releases.hashicorp.com $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/hashicorp.list
|
||||||
sudo apt-get update && sudo apt-get install -y nomad
|
apt-get update && apt-get install -y nomad
|
||||||
|
|
||||||
- name: Validate all job specs
|
- name: Validate all job specs
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user