-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #132 from devtron-labs/release-candidate-v0.28.0
sync: Release candidate v0.28.0
- Loading branch information
Showing
82 changed files
with
1,385 additions
and
283 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
FROM golang:1.22 AS build-env | ||
|
||
RUN apt update | ||
RUN apt install git gcc musl-dev make -y | ||
RUN go install github.com/google/wire/cmd/wire@latest | ||
RUN apt update && \ | ||
apt install git gcc musl-dev make -y && \ | ||
go install github.com/google/wire/cmd/wire@latest | ||
|
||
WORKDIR /go/src/github.com/devtron-labs/chart-sync | ||
|
||
ADD . /go/src/github.com/devtron-labs/chart-sync | ||
|
||
RUN GOOS=linux make | ||
|
||
FROM ubuntu | ||
RUN apt update | ||
RUN apt install ca-certificates -y | ||
RUN apt clean autoclean | ||
RUN apt autoremove -y && rm -rf /var/lib/apt/lists/* | ||
COPY --from=build-env /go/src/github.com/devtron-labs/chart-sync/chart-sync . | ||
|
||
RUN useradd -ms /bin/bash devtron | ||
RUN chown -R devtron:devtron ./chart-sync | ||
|
||
RUN apt update && \ | ||
apt install ca-certificates -y && \ | ||
apt clean autoclean && \ | ||
apt autoremove -y && rm -rf /var/lib/apt/lists/* && \ | ||
useradd -ms /bin/bash devtron | ||
|
||
COPY --chown=devtron:devtron --from=build-env /go/src/github.com/devtron-labs/chart-sync/chart-sync . | ||
|
||
USER devtron | ||
|
||
CMD ["./chart-sync"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
29 changes: 26 additions & 3 deletions
29
chart-sync/vendor/github.com/devtron-labs/common-lib/utils/CommonUtils.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
chart-sync/vendor/github.com/devtron-labs/common-lib/utils/FileUtil.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
chart-sync/vendor/github.com/devtron-labs/common-lib/utils/bean/bean.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package helper | ||
|
||
import util2 "github.com/devtron-labs/ci-runner/executor/util" | ||
|
||
func SetKeyValueInGlobalSystemEnv(scriptEnvs *util2.ScriptEnvVariables, key, value string) { | ||
scriptEnvs.SystemEnv[key] = value | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.