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: Makefile correction #3852

Merged
merged 2 commits into from
Sep 1, 2023
Merged

fix: Makefile correction #3852

merged 2 commits into from
Sep 1, 2023

Conversation

prakash100198
Copy link
Contributor

@prakash100198 prakash100198 commented Sep 1, 2023

Description

Fixes #3853

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit/api test cases.

Does this PR introduce a user-facing change?


@sonarcloud
Copy link

sonarcloud bot commented Sep 1, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@@ -27,10 +27,11 @@ build: clean wire
-X 'github.com/devtron-labs/devtron/util.ServerMode=${SERVER_MODE_FULL}'"

wire:
export GOFLAGS=-buildvcs=false
Copy link
Contributor

Choose a reason for hiding this comment

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

is this backward compatible, will this work on prior releases than shallow clone

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yes it's backward compatible

Copy link
Contributor

Choose a reason for hiding this comment

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

Okay

@vikramdevtron vikramdevtron merged commit 50c957b into main Sep 1, 2023
5 of 6 checks passed
@vikramdevtron vikramdevtron deleted the makefile-correction branch September 1, 2023 14:34
subhashish-devtron pushed a commit that referenced this pull request Sep 14, 2023
* GOFLAGS flag introduced in

* ea makefile fix
Ash-exp pushed a commit that referenced this pull request Sep 27, 2023
* add core functions

* added the branch change API

* Add unit tests

* Allow source change only in customApp

* Refactor tests

* Add logs

* Refactor API

* Add API to change chart ref id

* Find app metrics

* Fix issues

* Patch winter soldier config

* Add flaggerCanary Check

* Add error message when env.Ovverride is not set

* Add source type check

* Add Spec for /orchestrator/app/ci-pipeline/patch-source

* Refactor and add spec

* added variable repo and service for entity mapping and history

* added audit

* added markers for integration points

* repository file added

* added markers for gojson validatipn for templates

* using variable names instead of ids

* var template resolve

* ScopedVariableService.go added

* folder structure changed

* changes in bean file added

* UTs

* adding integrations

* files added for restHandler and router

* signature change

* working build

* merged main and added integrations(partial) for config drafts

* added missing mappings

* bug fixed in variable definition

* tested for scoped variable

* nil pointer handled

* fixes and tests

* quotes handling in template added

* fixes

* fixes and tests

* parse template as stringify template

* json function added

* gloval variable not getting saved issues fixed

* issue in GetScopedVariableDataForVarIds fixed

* delete functionality added

* handle defaulted variables

* testing fixes

* testing fixes

* getting global variable issue fixed

* get scopeVariable function merged

* adding len check

* removed argo-cd assets copy, will fix later

* removed enity from validate

* added dockerfile update

* validation added

* validation added

* error handled for scope

* validation added for complex datatype

* file for schema json added

* nil value for payload added in case of empty variable

* error handling in rest handler

* resolved vars history

* yaml validator added

* validation for character length added

* more test cases

* passing cluster ID in config draft for scope resolution

* primitive type validation added

* differentiator added for string

* adding spec version check

* code refactored around variable definition

* bug fix

* sync dependencies

* added new spec with transformer

* type string to int

* bug fixed around getting scoped variable

* bug fixed around getting scoped variable

* bug fixed around transformer

* minor type change

* scope fix for latest saved config

* dockerfile

* sql down script added and some function moved to helper

* Revert "dockerfile"

This reverts commit ecf8637.

* env driven validation added

* added argo-cd asssets in vendor from main

* logger message added

* selector spec fix

* fix no variables found case

* fixes

* omitempty added for selectors

* validation removed for Selectors

* issue fixed around getting json

* variable type handling

* toInt and toBool func registered

* json template parsing

* json parser fix

* variable parser fix

* logging fix

* variable value duplication issue fixed

* variable service refactoring

* high level refactoring scopedvariableservice

* getting env repo call for clusterId removed

* cleaning and optimizing getScoped Data

* fix nil array

* go mod vendor

* refactoring variable helper

* cleaned comments

* added cache handling for getJson

* extended compounded qualifier logic for finding matched scope

* unit test case added for createVariable and IsValidPayload method

* bug fixes

* fix: Makefile correction (#3852)

* GOFLAGS flag introduced in

* ea makefile fix

* bug fixes

* feat: scoped vars squashed

* synced changes from feature branch d9bd011^..116728c

* getScoped variable with Details handling

* fixed logic for get scoped repo call

* enterprise sync

* added missing vendor files from main

* validation-error file added for showing error code 406 for validation

* validation-error file added for showing error code 406 for validation

* all test cases added for scoped variable service

* variable template parser

* oss sync miss

* refactored parseTemplate changes incorporated

* commented out duplicate test case

* short description and isSensitive is added

* pointer handling

* check added for superadmin to show data

* *** added in case of private variable

* test cases added for private variable

* test cases updated for private variable

* isRedacted is added for FE handling

* some code review changes done

* varType to Variable type

* name of documentation and description has been changed

* fixing last deployed deployment bug introduced after template parser code changes

* fixing last deployed deployment bug introduced after template parser code changes

* QA bug fix

* minor code cleaning

* typo fix

* cleaning dead comments

---------

Co-authored-by: Avdhesh Kumar <avdhesh@devtron.ai>
Co-authored-by: avdhesh-devtron <138586469+avdhesh-devtron@users.noreply.github.com>
Co-authored-by: adi6859 <aditya.ar1909@gmail.com>
Co-authored-by: Kripansh <kripansh@devtron.ai>
Co-authored-by: Prakash <prakash.kumar@devtron.ai>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: Wrong rm command in makefile and missing flag GOFLAGS for golang v1.20
3 participants