Skip to content

Commit

Permalink
nomad setup/config links updated per nomad repo updates
Browse files Browse the repository at this point in the history
  • Loading branch information
traceypooh committed Mar 15, 2024
1 parent 4d37316 commit c643dbb
Show file tree
Hide file tree
Showing 12 changed files with 31 additions and 32 deletions.
12 changes: 6 additions & 6 deletions devops/2021-02-24/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
brew install dnsmasq

echo "
# from https://gitlab.com/internetarchive/nomad/-/blob/master/setup.sh
# from https://gitlab.com/internetarchive/nomad/-/blob/clustering/setup.sh

address=/${DOMAIN?}/${FIRSTIP?}
listen-address=127.0.0.1
Expand Down Expand Up @@ -527,18 +527,18 @@
- ideally `fabio` is running in `docker`..
- but macos issues so alt "exec" driver instead of "docker"
- [inspiration](https://medium.com/hashicorp-engineering/hashicorp-nomad-from-zero-to-wow-1615345aa539)
- [fabio job](https://gitlab.com/internetarchive/nomad/-/blob/master/etc/fabio-exec.hcl)
- [fabio job](https://gitlab.com/internetarchive/nomad/-/blob/fabio/etc/fabio-exec.hcl)

```bash
wget -qO- https://gitlab.com/internetarchive/nomad/-/raw/master/etc/fabio-exec.hcl | nomad run -
wget -qO- https://gitlab.com/internetarchive/nomad/-/raw/fabio/etc/fabio-exec.hcl | nomad run -
```


---
## Try a "hi world" job 🚀
[hi world job](https://gitlab.com/internetarchive/nomad/-/blob/master/etc/hello-world.hcl)
[hi world job](https://gitlab.com/internetarchive/nomad/-/blob/master/hello-world.hcl)
```bash
wget https://gitlab.com/internetarchive/nomad/-/raw/master/etc/hello-world.hcl
wget https://gitlab.com/internetarchive/nomad/-/raw/master/hello-world.hcl
perl -i -pe 's/x.archive.org/test.archive.org/' hello-world.hcl
nomad run hello-world.hcl

Expand Down Expand Up @@ -578,4 +578,4 @@

---
## Uninstall? 😔
- https://gitlab.com/internetarchive/nomad/-/blob/master/macos-uninstall.sh
- https://gitlab.com/internetarchive/nomad/-/blob/clustering/bin/macos-uninstall.sh
10 changes: 5 additions & 5 deletions devops/2021-03-10/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

```bash
echo "
# from https://gitlab.com/internetarchive/nomad/-/blob/master/setup.sh
# from https://gitlab.com/internetarchive/nomad/-/blob/clustering/setup.sh

address=/git.x.archive.org/${FIRSTIP?}
address=/registry.x.archive.org/${FIRSTIP?}
Expand Down Expand Up @@ -160,12 +160,12 @@
## Run a hello-world job
```bash
wget -qO- \
https://gitlab.com/internetarchive/nomad/-/raw/master/etc/hello-world.hcl \
https://gitlab.com/internetarchive/nomad/-/raw/master/hello-world.hcl \
|perl -pe 's/x.archive.org/test.archive.org/' \
|nomad run -
```

( [hello-world.hcl source](https://gitlab.com/internetarchive/nomad/-/raw/master/etc/hello-world.hcl) )
( [hello-world.hcl source](https://gitlab.com/internetarchive/nomad/-/raw/master/hello-world.hcl) )

try a few times:

Expand All @@ -189,10 +189,10 @@

```bash
wget -qO- \
https://gitlab.com/internetarchive/nomad/-/raw/master/etc/fabio-exec.hcl \
https://gitlab.com/internetarchive/nomad/-/raw/fabio/etc/fabio-exec.hcl \
|nomad run -
```
( [fabio-exec.hcl source](https://gitlab.com/internetarchive/nomad/-/raw/master/etc/fabio-exec.hcl) )
( [fabio-exec.hcl source](https://gitlab.com/internetarchive/nomad/-/raw/fabio/etc/fabio-exec.hcl) )


---
Expand Down
11 changes: 5 additions & 6 deletions devops/2021-03-31/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,8 @@
```bash
cd
git clone https://gitlab.com/internetarchive/nomad.git
./nomad/bin/install-docker-ce.sh
```

https://gitlab.com/internetarchive/nomad/-/blob/clustering/bin/install-docker-ce.sh

---
### Environment setup
Expand Down Expand Up @@ -565,8 +564,8 @@
```bash
nomad run nomad/etc/fabio.hcl
```
( [fabio.hcl source](https://gitlab.com/internetarchive/nomad/-/raw/master/etc/fabio.hcl) )
( [fabio config](https://gitlab.com/internetarchive/nomad/-/raw/master/etc/fabio.properties) )
( [fabio.hcl source](https://gitlab.com/internetarchive/nomad/-/raw/fabio/etc/fabio.hcl) )
( [fabio config](https://gitlab.com/internetarchive/nomad/-/raw/fabio/etc/fabio.properties) )


---
Expand All @@ -587,11 +586,11 @@
## Run a hello-world job 🚀
```bash
wget -qO- \
https://gitlab.com/internetarchive/nomad/-/raw/master/etc/hello-world.hcl \
https://gitlab.com/internetarchive/nomad/-/raw/master/hello-world.hcl \
|nomad run -
```

( [hello-world.hcl source](https://gitlab.com/internetarchive/nomad/-/raw/master/etc/hello-world.hcl) )
( [hello-world.hcl source](https://gitlab.com/internetarchive/nomad/-/raw/master/hello-world.hcl) )

try a few times:

Expand Down
4 changes: 2 additions & 2 deletions gitlab-commit/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,7 @@


---
## [minimal project](https://gitlab.com/internetarchive/nomad/-/blob/master/etc/simple.hcl) can use with GitLab
## [minimal project](https://gitlab.com/internetarchive/nomad/-/blob/master/hello-world.hcl) can use with GitLab


---
Expand Down Expand Up @@ -871,7 +871,7 @@

---
## Helpful scripts
- [setup a nomad cluster](https://gitlab.com/internetarchive/nomad/-/blob/master/setup.sh)
- [setup a nomad cluster](https://gitlab.com/internetarchive/nomad/-/blob/clustering/setup.sh)
- [create domain https certs](https://gitlab.com/internetarchive/nomad/-/blob/clustering/bin/create-https-certs.sh)


Expand Down
4 changes: 2 additions & 2 deletions hashiconf/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@


---
## [minimal project](https://gitlab.com/internetarchive/nomad/-/blob/master/etc/hello-world.hcl) usable with GitLab
## [minimal project](https://gitlab.com/internetarchive/nomad/-/blob/master/hello-world.hcl) usable with GitLab


---
Expand Down Expand Up @@ -226,7 +226,7 @@
NOMAD_ADDR=...
NOMAD_TOKEN=...

wget https://gitlab.com/internetarchive/nomad/-/raw/master/etc/hello-world.hcl
wget https://gitlab.com/internetarchive/nomad/-/raw/master/hello-world.hcl
nomad run hello-world.hcl
```

Expand Down
4 changes: 2 additions & 2 deletions hashiconf/talk.htm
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@


---
## [minimal project](https://gitlab.com/internetarchive/nomad/-/blob/master/etc/hello-world.hcl) usable with GitLab
## [minimal project](https://gitlab.com/internetarchive/nomad/-/blob/master/hello-world.hcl) usable with GitLab


---
Expand Down Expand Up @@ -692,7 +692,7 @@
NOMAD_ADDR=...
NOMAD_TOKEN=...

wget https://gitlab.com/internetarchive/nomad/-/raw/master/etc/hello-world.hcl
wget https://gitlab.com/internetarchive/nomad/-/raw/master/hello-world.hcl
nomad run hello-world.hcl
```

Expand Down
4 changes: 2 additions & 2 deletions hashitalks-2022/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ <h1 class="fragment">🚀</h1>


---
## [minimal project](https://gitlab.com/internetarchive/nomad/-/blob/master/etc/hello-world.hcl)
## [minimal project](https://gitlab.com/internetarchive/nomad/-/blob/master/hello-world.hcl)


---
Expand Down Expand Up @@ -274,7 +274,7 @@ <h1 class="fragment">🚀</h1>
NOMAD_ADDR=...
NOMAD_TOKEN=...

wget https://gitlab.com/internetarchive/nomad/-/raw/master/etc/hello-world.hcl
wget https://gitlab.com/internetarchive/nomad/-/raw/master/hello-world.hcl
nomad run hello-world.hcl
```

Expand Down
6 changes: 3 additions & 3 deletions hashitalks/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@


---
## [minimal project](https://gitlab.com/internetarchive/nomad/-/blob/master/etc/hello-world.hcl) usable with GitLab
## [minimal project](https://gitlab.com/internetarchive/nomad/-/blob/master/hello-world.hcl) usable with GitLab


---
Expand Down Expand Up @@ -349,7 +349,7 @@
```
NOMAD_ADDR=...
NOMAD_TOKEN=...
wget https://gitlab.com/internetarchive/nomad/-/raw/master/etc/hello-world.hcl
wget https://gitlab.com/internetarchive/nomad/-/raw/master/hello-world.hcl
nomad run hello-world.hcl
```

Expand Down Expand Up @@ -1036,7 +1036,7 @@

---
## Additional Help
- [create a nomad cluster](https://gitlab.com/internetarchive/nomad/-/blob/master/setup.sh)
- [create a nomad cluster](https://gitlab.com/internetarchive/nomad/-/blob/clustering/setup.sh)
- [create domain https certs](https://gitlab.com/internetarchive/nomad/-/blob/clustering/bin/create-https-certs.sh)
- [gitlab pipeline examples](https://gitlab.com/internetarchive/word-salad/-/pipelines)

Expand Down
2 changes: 1 addition & 1 deletion images/gh-howH.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/how.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion images/how2.drawio.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit c643dbb

Please sign in to comment.