This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
configurations { | |
groovy | |
} | |
dependencies { | |
groovy localGroovy() | |
} | |
project.tasks.create("generateExample", JavaExec) { task -> | |
def inputFile = file("input.groovy") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.hashicorp.nomad.apimodel.EphemeralDisk | |
import com.hashicorp.nomad.apimodel.Job | |
import com.hashicorp.nomad.apimodel.Resources | |
import com.hashicorp.nomad.apimodel.RestartPolicy | |
import com.hashicorp.nomad.apimodel.Task | |
import com.hashicorp.nomad.apimodel.TaskGroup | |
import com.hashicorp.nomad.javasdk.NomadApiClient | |
import com.hashicorp.nomad.javasdk.NomadApiConfiguration | |
import org.apache.commons.lang.RandomStringUtils | |
import org.slf4j.Logger |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- template: | |
src: zshrc | |
dest: "$HOME/.zshrc" | |
- command: | |
exec: git clone --recursive https://github.com/ethankhall/prezto.git $HOME/.zprezto | |
- command: | |
exec: ln -s $HOME/.zprezto/runcoms/@it@ $HOME/.@it@ | |
items: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# syntax=docker/dockerfile:1.4 | |
FROM gusto/ruby:2.7.6-ubuntu20.04 as build | |
ARG GIT_TAG=0.5.10458.20220926130158-4007ec60a | |
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | |
RUN <<END_OF_RUN | |
set -ex | |
apt-get update | |
apt-get install -y software-properties-common |
OlderNewer