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 8d181d4
Showing 1 changed file with 27 additions and 3 deletions.
30 changes: 27 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,40 @@ env:
jobs:
test:
strategy:
max-parallel: 1
max-parallel: 2
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: |
set -x
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
exec 0<&-
nomad operator api /v1/nodes |
jq -r '.[].ID' |
xargs -t -i nomad operator api /v1/node/{} |
jq
sleep 10
exit 1
- name: checkout
uses: actions/checkout@v4
- name: setup python ${{ matrix.python }}
Expand Down

0 comments on commit 8d181d4

Please sign in to comment.