Category "environment-variables"

How to set environment variable in Postman depending on other values in response?

Using GET request, I have the following response: [ { "id": "ID_1", "name": "", "color": "orange" },

How to Deploy from Gitlab-ci to multiple kubernetes namespaces?

I have two variable containing my namespaces names: $KUBE_NAMESPACE_DEV ="stellacenter-dev" $KUBE_NAMESPACE_STAGE "stellacenter-stage-uat" Now I want to modif

How can we change two values dynamically by using one variable? in yaml script?

we are using gitlab for ci/cd we have two branches for frontend dev branch- workflow: rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_B

How to build react native apps specific to an environment in nx.dev

I used nx.dev for my react native application, I have configured the 3 environments. Dev, QA, and Staging. Added productFlavors for the same. ENVFILE=.env.qa &a

Adding a Private Key Environment Variable to Windows

I am trying to assign an environment variable in Windows from the contents of a RSA Private Key File. In Linux this is easily accomplished with the export comma

Caused by: java.net.SocketTimeoutException: Accept timed out

I am getting this error while running pyspark package in pycharm using python 3.9 using this below code. from pyspark.sql import SparkSession from pyspark.sql.t

Use environment variables in CMD

Can I use environment variables in my CMD stanza in a Dockerfile? I want to do something like this: CMD ["myserver", "--arg=$ARG", "--memcache=$MEMCACHE_11211

Expo app cannot see env variable from Github action

We store our configurations on the vault and during the Github action workflow we pull this and intend to use this for the app during build time. This is our wo

How To Access Repository Secret

I've made a repository on GitHub and have added a Repository secret. However, I can't seem to grab the secret's value. Any help would be greatly appreciated!

module lookup disabled by GOPROXY=off, but go env shows GOPROXY is set

When trying to lookup some modules, I am having an issue from VS Code where the error pictured below indicates that my GOPROXY is set to off, but when I run go

how to set env in Sheel for node.js [closed]

shell:$ set CONF = 44 const mytext = process.env.CONF console.log(mytext); //undefined

echoing PROMPT_COMMAND from terminal and from bash script

while trying to write a bash script i encountered a strange issue when i try to execute it. i want to echo the $PROMPT_COMMAND variable thus, i have the followi

.env file shows errors(red underlines) in vscode - it works fine though

I'm having this project structure: Although the file works correctly but it shows errors(red underlines) in VSCODE. Why does this happen and how can we solve t

How do I provide environmental variable with my custom Cloud Foundry buildpack?

I have extra simple custom sidecar buildpack. All it does in /bin/supply is downloading and untarring to $DEPS_DIR/$DEPS_IDX/mylibrary certain dependency librar

How do I read a .env file from a .ps1 script?

I have a .env file like this one: TESTCASE_GROUP_SIZE=25 . . . And I want to get its value (read it) into a .ps1 script. How can I do it?

Is it possible to persist .env values in the .whl files when installed on a Databricks cluster? I'd prefer to keep all values in library (.whl)

I have created a project in Pycharm. This project has a .py file with functions, init.py and a .env file with my secret values. I need to be able to run this in

What is wrong with my crypto price discovery bot?

I'm following Dapp Universitie's Create a PROFITABLE cryptocurrency trading bot video. I use git and npm install but when I run npm run start in the terminal I

Provide run time environment variable path (e.g. LD_LIBRARY_PATH) to third party dependency in bazel

In the code base I am working with we use the oracle instant client library as a third party dependency in Bazel as follows: cc_library( name = "instant_cli

VueJS 3 CLI environment variables secret isn't working

I'm new to vue .env. I looked everywhere for a straight answer till I got lost. According to VueJS documentation that if we have .env.local file that will be lo

Mvn is not recognized as a command on Github Actions on Windows a self hosted runner

I set up a simple Github Actions workflow simply to check if my self-hosted Windows Virtual Machine is able to recognize the installed java/git/maven versions.