Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add support for upper case variables #1721

Merged
merged 7 commits into from
Apr 6, 2022

Conversation

marciocadev
Copy link
Contributor

@marciocadev marciocadev commented Mar 28, 2022

Fixing the issue of job variables rendering as snake case and don't respecting the original format

closes #1693


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Contributor

@Chriscbr Chriscbr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Unit test?

test/gitlab/configuration.test.ts Outdated Show resolved Hide resolved
test/gitlab/configuration.test.ts Outdated Show resolved Hide resolved
mergify bot pushed a commit that referenced this pull request Apr 6, 2022
Currently new projen development builds are failing (example: #1721) because `yaml` published v2.0.0 to the `next` tag, in which they bumped the minimum node version they require from 12 to 14. Since new development builds are automatically picking this up and projen still supports node v12, this PR pins the version of `yaml` so the new version isn't picked up by `yarn install`.

This should fix #1740

We should also upgrade the minimum node version projen supports, but it's better to do that in a separate PR. (Issue: #1739)

---
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
@codecov-commenter
Copy link

Codecov Report

Merging #1721 (23f2e19) into main (d90284c) will increase coverage by 1.83%.
The diff coverage is 91.62%.

@@            Coverage Diff             @@
##             main    #1721      +/-   ##
==========================================
+ Coverage   88.06%   89.89%   +1.83%     
==========================================
  Files         132      152      +20     
  Lines        5109     6177    +1068     
  Branches     1207     1692     +485     
==========================================
+ Hits         4499     5553    +1054     
- Misses        610      619       +9     
- Partials        0        5       +5     
Impacted Files Coverage Δ
src/cdk/consts.ts 100.00% <ø> (+36.36%) ⬆️
src/dev-env.ts 83.33% <0.00%> (ø)
src/java/index.ts 100.00% <ø> (ø)
src/python/index.ts 100.00% <ø> (ø)
src/release/index.ts 100.00% <ø> (ø)
src/release/publisher.ts 98.85% <ø> (-0.39%) ⬇️
src/release/release-trigger.ts 100.00% <ø> (ø)
src/release/release.ts 95.76% <ø> (-2.09%) ⬇️
src/release/tag-version.ts 86.66% <ø> (ø)
src/release/update-changelog.ts 100.00% <ø> (ø)
... and 184 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update dd13a19...23f2e19. Read the comment docs.

@mergify mergify bot merged commit d1465dc into projen:main Apr 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

GitLab: upper case variables are not supported
4 participants