Comments (2)
I know. I didn’t want to make their names too long so I just used the same prefix. I believe there’s no conflict with any internal one for now.
from aws-codebuild-extras.
The Build Specification Reference for AWS CodeBuild states:
Do not set any environment variable with a name that begins with CODEBUILD_. This prefix is reserved for internal use.
So for (nearly) the past 2 years, this has been a documented-yet-unenforced point, so when CodeBuild is triggered by CodePipeline (and the resulting git
data is lost) all I need to do was set CODEBUILD_GIT_BRANCH
as an environment variable in the pipeline, and this script continued to work (rather nicely, too).
Due to recent changes in CodePipeline (literally, within the past few days, last build that executed cleanly was June 30th), that custom environment variable "fix" now errors with:
No user environment variables can start with
CODEBUILD_
It may be worth changing the prefix now? CODEBUILDEXTRAS_
seems logical enough?
from aws-codebuild-extras.
Related Issues (13)
- Get label text
- No git repo with CodePipeline HOT 1
- suggestion to fork, as a security precaution? HOT 1
- CODEBUILD_GIT_BRANCH sometimes mis-identified
- Good informative systeme
- How does buildspec.yml use the added variables? HOT 1
- Most variable empty when building with Git clone depth 1 HOT 8
- CodeBuild doesn't store .git metadata, how do you suggest dealing with that? HOT 3
- Extra environment variables not available to top-level build environment
- These is very new to me, can you help to use these variable in lambda function
- CODEBUILD_PULL_REQUEST always equals false HOT 4
- Any chance to get working with CodePipeline? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-codebuild-extras.