GOCD Nexus plugin don't recognize packages - nexus

I'm using GOCD for continuous deployment. I installed the Nexus plugin and configured the repository successfuly. But when I try to make a new pipeline using the repository, the plugin can not find any package.
At first I thought the problem was my .tar.gz packages, but then I tried with .rpm package and .jar (maven) package, the result is always the same No packages found
Additional information
GOCD version: 19.2.0-8641
Nexus version: OSS 3.15.2-01
go-nexus-poller-plugin version: v1.0.2

Related

Adding Deployable Package to Development VM D365

We have a development VM for Dynamics 365 for finance and operations,
I am trying to add a pre-developed customized package to our development virtual machine using the following command:
AXUpdateInstaller.exe devinstall
But the following error continue to pops-up:
Exception calling "CreateRuntimeProvider" with "1" argument(s):
"Serialization version mismatch detect, make sure the runtime dlls are in sync with the deployed metadata. Version of file '181'. Version of dll '172'."
I searched over the internet and the only solution was to do full build from Visual Studio, however, the build ran successfully with no errors but still cannot add the packages.
This error can occur when the package you are trying to install was compiled on a higher platform version than the system you are installing into.
For example, let's say the package was compiled and created on an environment that is on version 10.0.6 with platform update 30. If you try to install this package on an environment that is on version 10.0.5 with platform update 29, you would get an error similar to yours.
If you upload the package to the LCS asset library, it will show you after package validation the platform version the package was build with. Compare this to the platform version of your environment and make sure the platform version is equal or higher.
To resolve this, you can either update the environment to a version equal to or higher than the version of the package. Or you build the package on an environment that has the same or a lower version than your environment.

How to download and setup dependencies for a Julia project that is in development?

I am trying to download and install dependencies for a Julia project that's not in the package registry. It has a manifest and project file. How do I get all of the packages it depends on to download at once using the Julia Package manager?
Download the source: git clone https://github.com/RandomUser/Unregistered.jl
Activate the project: pkg> activate Unregistered.jl
Ensure any dependencies are installed: pkg> instantiate
Once the package is set up, you can use the package normally.
You can load the package:
julia> using Unregistered
Or even run its test suite:
pkg> test
FWIW, here is a "pure" Julia version of what #David Varela suggested.
After substituting <url-to-project> and /some/local/path this "just works" in the REPL or similar:
using Pkg
Pkg.GitTools.clone("<url-to-project>", "/some/local/path")
cd("/some/local/path")
Pkg.activate(".")
Pkg.instantiate()
# Pkg.precompile() # optional
Preparation (optional):
Create a new folder somewhere and cd into it.
Start Julia with julia --project=.
Now the actual downloading/installing:
Develop the project locally: pkg> dev --local https://github.com/RandomUser/Unregistered.jl
This will clone the unregistered project into a local subfolder dev/Unregistered and will install all the required dependencies.
If the unregistered project is a Julia package, you can now simply using Unregistered. If you want to work on Unregistered.jl itself you can pkg> activate dev/Unregistered to work in the project environment.

installing apache airflow using a custom nexus repo

I am trying to install apache-airflow (pip install apache-airflow) and I have to use a custom nexus to get it from. It is downloaded fine, but after the download it tries to run its setup.py which has got its dependencies to download, it tries to get its dependencies from https://pypi.org/ which is blocked in my environment ( I cant use that). Is there a way to tell it to look for all its dependencies in my nexus rather than https://pypi.org/
Have a look at https://packaging.python.org/guides/hosting-your-own-index/ to setup custom PyPI repository. Once that is setup, pip will use that to download dependencies.

Realm Object Server 2.x installation on ubuntu (can't find the .deb)

I am using Realm Object Server 1.8.3 manually installed from a .deb file (found on packagecloud.io) on my Ubuntu 16.10 and I would like to upgrade to a 2.x release (2.5.1 is the latest at the time of writing).
Unfortunately, packagecloud.io does not have 2.x packages (except some 2.0.0 release candidates and alpha versions) available and the installation instructions are using a different mechanism and do not integrate with systemd as far as I can tell.
Any hints on how to best do this or where to find a package?
There's no .deb file because ROS 2.x is published as an npm package. While you're right that there's no integration with systemd, because it's an npm package, you can use pm2 to daemonize your install (pm2 integrates with systemd).
Before you can daemonize it though, you'll need to follow the step-by-step guide on upgrading ROS 1.x to 2.x (won't repost it here as it's fairly lengthy and may become obsolete as new versions of ROS are released).
After you've done that, running it with pm2 is fairly straightforward:
npm install -g pm2
pm2 start path/to/myserver/dist/index.js

How do I build nginx debian packages from source?

I am trying to build nginx stable repository by adding some modules that are not included in the official distributions but I discovered that the the makefile does not have any step for creating the .deb files.
So while the build works, building the debs seems to be missing from the source code.

Resources