{"id":19792131,"url":"https://github.com/making/nexus-boshrelease","last_synced_at":"2025-05-01T02:30:25.067Z","repository":{"id":56642590,"uuid":"84101687","full_name":"making/nexus-boshrelease","owner":"making","description":"BOSH Release for Nexus Repository Manager","archived":false,"fork":false,"pushed_at":"2020-10-28T02:56:22.000Z","size":173,"stargazers_count":8,"open_issues_count":5,"forks_count":6,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-04-06T07:37:35.414Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/making.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-03-06T17:31:05.000Z","updated_at":"2025-04-04T09:54:15.000Z","dependencies_parsed_at":"2022-08-15T22:31:06.750Z","dependency_job_id":null,"html_url":"https://github.com/making/nexus-boshrelease","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fnexus-boshrelease","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fnexus-boshrelease/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fnexus-boshrelease/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/making%2Fnexus-boshrelease/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/making","download_url":"https://codeload.github.com/making/nexus-boshrelease/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251812227,"owners_count":21647866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T07:06:06.236Z","updated_at":"2025-05-01T02:30:24.746Z","avatar_url":"https://github.com/making.png","language":"Shell","readme":"# BOSH Release for Nexus Repository Manager\n\n## How to deploy nexus-boshrelease\n\nA sample manifest is following:\n\n``` yml\n---\nname: nexus\n\nreleases:\n- name: nexus\n  version: 0.12.0\n  url: https://github.com/making/nexus-boshrelease/releases/download/0.12.0/nexus-boshrelease-0.12.0.tgz\n  sha1: 09debef2e945a905e089b8d7c445df4d0b32f4e6\n- name: openjdk\n  version: 8.0.1\n  url: https://github.com/making/openjdk-boshrelease/releases/download/8.0.1/openjdk-boshrelease-8.0.1.tgz\n  sha1: d02566fb6d974de4b60bf44dc21e56422c7da3fd\n  \nstemcells:\n- alias: xenial\n  os: ubuntu-xenial\n  version: latest\n\ninstance_groups:\n- name: nexus\n  instances: 1\n  vm_type: default\n  persistent_disk: default\n  stemcell: xenial\n  azs: [z1]\n  networks:\n  - name: default\n    static_ips: [((internal_ip))]\n  jobs:\n  - name: java\n    release: openjdk\n  - name: nexus\n    release: nexus\n    properties:\n      nexus:\n        heap_size: 768M\n        max_direct_memory_size: 512M\n  - name: nexus-backup\n    release: nexus\n    \nupdate:\n  canaries: 1\n  max_in_flight: 1\n  serial: false\n  canary_watch_time: 1000-60000\n  update_watch_time: 1000-60000\n```\n\nthen,\n\n```\nbosh deploy -d nexus nexus.yml -v internal_ip=\u003cyour_static_ip\u003e\n```\n\nYou will be able to access `http://\u003cyour_static_ip\u003e:8081`\n\n\n## How to enable SSL\n\nA sample manifest is following:\n\n``` yml\n---\nname: nexus\n\nreleases:\n- name: nexus\n  version: 0.12.0\n  url: https://github.com/making/nexus-boshrelease/releases/download/0.12.0/nexus-boshrelease-0.12.0.tgz\n  sha1: 09debef2e945a905e089b8d7c445df4d0b32f4e6\n- name: openjdk\n  version: 8.0.1\n  url: https://github.com/making/openjdk-boshrelease/releases/download/8.0.1/openjdk-boshrelease-8.0.1.tgz\n  sha1: d02566fb6d974de4b60bf44dc21e56422c7da3fd\n\nstemcells:\n- alias: xenial\n  os: ubuntu-xenial\n  version: latest\n\ninstance_groups:\n- name: nexus\n  instances: 1\n  vm_type: default\n  persistent_disk: default\n  stemcell: xenial\n  azs: [z1]\n  networks:\n  - name: default\n    static_ips: [((internal_ip))]\n  jobs:\n  - name: java\n    release: openjdk\n  - name: nexus\n    release: nexus\n    properties:\n      nexus:\n        heap_size: 768M\n        max_direct_memory_size: 512M\n        ssl_cert: ((nexus_ssl.certificate))\n        ssl_key: ((nexus_ssl.private_key))\n        ssl_only: true\n  - name: nexus-backup\n    release: nexus\n    \nupdate:\n  canaries: 1\n  max_in_flight: 1\n  serial: false\n  canary_watch_time: 1000-60000\n  update_watch_time: 1000-60000\n\nvariables:\n- name: nexus_pkcs12_password\n  type: password\n- name: nexus_keystore_password\n  type: password\n- name: default_ca\n  type: certificate\n  options:\n    is_ca: true\n    common_name: ca\n- name: nexus_ssl\n  type: certificate\n  options:\n    ca: default_ca\n    common_name: ((internal_ip))\n    alternative_names: \n    - ((internal_ip))\n```\n\nthen,\n\n```\nbosh deploy -d nexus nexus.yml -v internal_ip=\u003cyour_static_ip\u003e\n```\n\nYou will be able to access `https://\u003cyour_static_ip\u003e:8443`\n\n\n## Backup and Restore with [BBR](http://www.boshbackuprestore.io/)\n\n### Backup\n\n```\n$ BOSH_CLIENT_SECRET=\u003cBOSH_CLIENT_SECRET\u003e \\\n  bbr deployment \\\n  --target \u003cBOSH_TARGET_IP\u003e \\\n  --username \u003cBOSH_CLIENT\u003e \\\n  --deployment nexus \\\n  --ca-cert \u003cPATH_TO_BOSH_SERVER_CERTIFICATE\u003e \\\n    backup\n```\n\n### Restore\n\n```\n$ BOSH_CLIENT_SECRET=\u003cBOSH_CLIENT_SECRET\u003e \\\n  bbr deployment \\\n  --target \u003cBOSH_TARGET_IP\u003e \\\n  --username \u003cBOSH_CLIENT\u003e \\\n  --deployment nexus \\\n  --ca-cert \u003cPATH_TO_BOSH_SERVER_CERTIFICATE\u003e \\\n    backup \\\n  --artifact-path \u003cPATH_TO_ARTIFACT_TO_RESTORE\u003e\n```\n\n## How to create stand-alone vm on VirtualBox\n\nDownload [nexus.yml](deployment/nexus.yml).\n\n```\n$ bosh create-env nexus.yml -v internal_ip=192.168.230.40  --vars-store ./nexus-creds.yml\n```\n\nhttps://192.168.230.40\n\nYou can get `admin` user's password as follows:\n\n```\nbosh int nexus-creds.yml --path /admin_password\n```\n\n## How to develop this bosh release\n\n```\nbosh sync-blobs\nbosh create-release --name=nexus --force --timestamp-version --tarball=/tmp/nexus-boshrelease.tgz \u0026\u0026 bosh upload-release /tmp/nexus-boshrelease.tgz  \u0026\u0026 bosh -n -d nexus deploy manifest.yml -v internal_ip=\u003cnexus static ip\u003e --no-redact\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaking%2Fnexus-boshrelease","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaking%2Fnexus-boshrelease","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaking%2Fnexus-boshrelease/lists"}