mirror of
https://github.com/rgl/nexus-vagrant.git
synced 2026-09-30 00:31:11 +02:00
normalize cat invocations
This commit is contained in:
@@ -54,7 +54,7 @@ popd
|
||||
# see https://books.sonatype.com/nexus-book/3.0/reference/install.html#reverse-proxy
|
||||
apt-get install -y --no-install-recommends nginx
|
||||
rm -f /etc/nginx/sites-enabled/default
|
||||
cat<<EOF>/etc/nginx/sites-available/$config_fqdn.conf
|
||||
cat >/etc/nginx/sites-available/$config_fqdn.conf <<EOF
|
||||
ssl_session_cache shared:SSL:4m;
|
||||
ssl_session_timeout 6h;
|
||||
#ssl_stapling on;
|
||||
|
||||
+3
-3
@@ -28,7 +28,7 @@ nuget_source_push_api_key=$(nexus-groovy get-jenkins-nuget-api-key | jq -r '.res
|
||||
nuget install MsgPack -Source $nuget_source_url
|
||||
|
||||
# test publishing a package.
|
||||
cat <<'EOF' >example-hello-world.nuspec
|
||||
cat >example-hello-world.nuspec <<'EOF'
|
||||
<package>
|
||||
<metadata>
|
||||
<id>example-hello-world</id>
|
||||
@@ -48,7 +48,7 @@ cat <<'EOF' >example-hello-world.nuspec
|
||||
</files>
|
||||
</package>
|
||||
EOF
|
||||
cat <<'EOF' >MESSAGE.md
|
||||
cat >MESSAGE.md <<'EOF'
|
||||
# Hello World
|
||||
|
||||
Hey Ho Let's Go!
|
||||
@@ -78,7 +78,7 @@ sudo apt-get install -y xmlstarlet
|
||||
# see https://books.sonatype.com/nexus-book/3.0/reference/maven.html
|
||||
# see https://maven.apache.org/guides/mini/guide-mirror-settings.html
|
||||
mkdir -p ~/.m2
|
||||
cat <<'EOF' >~/.m2/settings.xml
|
||||
cat >~/.m2/settings.xml <<'EOF'
|
||||
<settings>
|
||||
<servers>
|
||||
<server>
|
||||
|
||||
Reference in New Issue
Block a user