Appdynamics / Appdynamics/Node.js-Demo-App

Installation from private server

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
6
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Hi,

I don't know, where else to ask as issues link from https://www.npmjs.com/package/appdynamics leads to NPM repository.

In our company, we install all dependencies via our private artifactory so we don't go directly to the internet during pipelines etc. I need setup, where Appdynamics and all its dependencies (downloaded from https://cdn.appdynamics.com/) will be installed from our Artifactory.

What I found out:

- there is `APPD_CDN_BASE_URL` environment variable that is used in all install scripts to download dependencies
- I can download all those packages from https://cdn.appdynamics.com/ and store it in Artifactory
- I have to manually update yarn.lock file to point to our Artifactory instead of your CDN

So I've uploaded all needed packages to Artifactory and pointed `APPD_CDN_BASE_URL` to it. Locally, it works. But sadly in our private GitLab pipeline it fails without stating any reason.

I've attached whole log from the pipeline. I am not sure, what is wrong and maybe you will get the idea.

Thanks in advance.

[gitlablog.txt](https://github.com/Appdynamics/Node.js-Demo-App/files/4823815/gitlablog.txt)

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the attached gitlablog.txt first, then trace the install scripts that consume APPD_CDN_BASE_URL and the yarn.lock URLs. Reproduce the private GitLab pipeline with the Artifactory mirror and document or fix the cause so AppDynamics and all dependencies install without direct CDN access.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
build-system, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.