Skip to content

Commit

Permalink
TEST nomda 1.8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Kamilcuk committed Jun 5, 2024
1 parent 4a5212b commit c07d29c
Showing 1 changed file with 23 additions and 2 deletions.
25 changes: 23 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,34 @@ jobs:
max-parallel: 1
matrix:
include:
- nomad: 1.8.0
python: 3.12
- nomad: 1.7.5
python: 3.12
- nomad: 1.6.8
python: 3.7
#- nomad: 1.6.8
#python: 3.7
name: Test
runs-on: ubuntu-latest
steps:
- name: test
run: |
if [[ "${{matrix.nomad}}" == "1.8.0" ]]; then
v=https://releases.hashicorp.com/nomad/1.8.0/nomad_1.8.0_linux_amd64.zip
else
v=https://releases.hashicorp.com/nomad/1.7.7/nomad_1.7.7_linux_amd64.zip
fi
wget "$v"
unzip *.zip
export PATH=$PWD:$PATH
chmod +x ./nomad
nomad --version
nomad agent -dev
sleep 10
nomad operator api /v1/nodes |
jq -r '.[].ID' |
xargs -i nomad operator api /v1/node/{} |
jq
exit 1
- name: checkout
uses: actions/checkout@v4
- name: setup python ${{ matrix.python }}
Expand Down

0 comments on commit c07d29c

Please sign in to comment.