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

[Minor][FAB-8185]install curl and msal in Docker image #18

Open
wants to merge 60 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
e281060
[Minor][EL-263]add dep
Mar 23, 2022
8ae6e4b
Merge pull request #1 from BedeGaming/EL-263/Add_dependencies
adelchev Mar 23, 2022
b2da30d
[Minor][EL-263]add dep
Mar 23, 2022
a98e9c3
Merge pull request #2 from BedeGaming/EL-263/Add_dependencies
adelchev Mar 23, 2022
14556ea
[Minor][EL-263]add dep
Mar 23, 2022
65d5ab9
Merge pull request #3 from BedeGaming/EL-263/Add_dependencies
adelchev Mar 23, 2022
574f163
[Minor][EL-263]add dep
Mar 23, 2022
96b4663
Merge pull request #4 from BedeGaming/EL-263/Add_dependencies
adelchev Mar 23, 2022
2edc6b7
new helm builds versions support
hristodragolovbede Apr 6, 2022
82732da
Add gcc dep
hristodragolovbede Apr 6, 2022
5effdfd
fixes
hristodragolovbede Apr 6, 2022
56baa04
fixes
hristodragolovbede Apr 6, 2022
855db54
fixes
hristodragolovbede Apr 6, 2022
d0d8a8d
fixes
hristodragolovbede Apr 6, 2022
f9ea686
fixes
hristodragolovbede Apr 6, 2022
f454084
fixes
hristodragolovbede Apr 6, 2022
d5c449d
fixes
hristodragolovbede Apr 6, 2022
eea22d8
fixes
hristodragolovbede Apr 6, 2022
3cff61b
fixes
hristodragolovbede Apr 6, 2022
545124d
testing
hristodragolovbede Apr 6, 2022
2c53e9a
testing
hristodragolovbede Apr 6, 2022
bc2feaf
testing
hristodragolovbede Apr 6, 2022
6edb90e
testing
hristodragolovbede Apr 6, 2022
5946751
remove
hristodragolovbede Apr 6, 2022
5119bdb
Merge pull request #5 from BedeGaming/EL-278/bump_helm_versions
hristodragolovbede Apr 7, 2022
99c9ddd
Fix helm secrets plugin
hristodragolovbede Apr 8, 2022
40cd530
Fix helm secrets plugin
hristodragolovbede Apr 8, 2022
e6e624e
Fix helm secrets plugin
hristodragolovbede Apr 8, 2022
07a92bb
Fix helm secrets plugin
hristodragolovbede Apr 8, 2022
efd18c6
Merge pull request #6 from BedeGaming/EL-278/fix_helmsecrets_plugin
hristodragolovbede Apr 8, 2022
c756025
Add azure cli
hristodragolovbede May 19, 2022
362ca56
test
hristodragolovbede May 19, 2022
e984b34
test
hristodragolovbede May 19, 2022
a483217
test
hristodragolovbede May 19, 2022
c5b3a13
test
hristodragolovbede May 19, 2022
7b64e3d
test
hristodragolovbede May 19, 2022
26ed898
test
hristodragolovbede May 19, 2022
ba65d06
Remove old stuff
hristodragolovbede May 19, 2022
a7363cf
testing without some pkgs
hristodragolovbede May 19, 2022
40df747
Merge pull request #7 from BedeGaming/EL-322/testing_az
hristodragolovbede May 19, 2022
472a790
[Minor][FAB-6680] es mgmt helmfile version update
adelchev May 22, 2023
153f08e
[Minor][FAB-6680] es mgmt helmfile version update
adelchev May 22, 2023
e637dac
[Minor][FAB-6680] es mgmt helmfile version update
adelchev May 22, 2023
9be7d51
[Minor][FAB-6680] es mgmt helmfile version update
adelchev May 22, 2023
d7ece00
[Minor][FAB-6680] es mgmt helmfile version update
adelchev May 22, 2023
aff05a4
[Minor][FAB-6680] es mgmt helmfile version update
adelchev May 22, 2023
663c582
[Minor][FAB-6680] es mgmt helmfile version update
adelchev May 22, 2023
5f1d4e4
[Minor][FAB-6680] es mgmt helmfile version update
adelchev May 22, 2023
c4e416f
[Minor][FAB-6680] es mgmt helmfile version update
adelchev May 22, 2023
0df9707
[Minor][FAB-6680] es mgmt helmfile version update
adelchev May 22, 2023
a5a0ea4
Merge pull request #8 from BedeGaming/FAB-6680/es-mgmtChartHFupdate
adelchev May 23, 2023
11922d3
[Minor][FAB-6680] es chart helmfile update
adelchev May 23, 2023
62bd8b1
[Minor][FAB-6680] es chart helmfile update
adelchev May 23, 2023
b83c687
[Minor][FAB-6680] es chart helmfile update
adelchev May 23, 2023
1b2151d
[Minor][FAB-6680] es chart helmfile update
adelchev May 23, 2023
79b8132
[Minor][FAB-6680] es chart helmfile update
adelchev May 23, 2023
be87a03
Merge pull request #9 from BedeGaming/FAB-6680/helmfileVersion
adelchev May 23, 2023
0d06017
[Minor][FAB-6554] test the trigger
adelchev Jun 14, 2023
bef195e
Merge pull request #10 from BedeGaming/FAB-6554/testCfTrigger
adelchev Jun 14, 2023
1f16ec2
[Minor][FAB-8185]curl & msal install
konstantin-bede May 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 27 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,39 @@ ARG PYTHON_VERSION
RUN apk add --update \
linux-headers \
git \
python3 && \
gcc \
build-base \
libc-dev \
musl-dev \
python3-dev \
python3 \
libffi-dev && \
rm -rf /var/cache/apk/*

# Install helmfile plugin deps

RUN helm plugin install https://github.com/databus23/helm-diff --version ${HELM_DIFF_VERSION} && \
helm plugin install https://github.com/futuresimple/helm-secrets --version ${HELM_SECRETS_VERSION}
RUN helm plugin uninstall diff
RUN helm plugin install https://github.com/databus23/helm-diff --version ${HELM_DIFF_VERSION}
RUN helm plugin install https://github.com/futuresimple/helm-secrets --version ${HELM_SECRETS_VERSION}
# I have no idea why but that is need otherwise
# diff and secrets plugin don't work
RUN rm -rf /root/.helm/helm/plugins/https-github.com-databus23-helm-diff /root/.helm/helm/plugins/https-github.com-futuresimple-helm-secrets

# Install python library
RUN python3 -m pip install --upgrade pip
RUN python3 -m pip install ruamel.yaml==0.17.21
RUN python3 -m pip install azure-cli

# Install curl && msal
RUN apk --no-cache add curl
RUN pip install msal requests --no-cache-dir

# Install helmfile
ADD https://github.com/helmfile/helmfile/releases/download/v${HELMFILE_VERSION}/helmfile_${HELMFILE_VERSION}_linux_amd64.tar.gz /tmp/helmfile.tar.gz
RUN tar xzf /tmp/helmfile.tar.gz -C /tmp && \
mv /tmp/helmfile /bin/helmfile && \
rm -rf /tmp/helmfile.tar.gz

ADD https://github.com/roboll/helmfile/releases/download/v${HELMFILE_VERSION}/helmfile_linux_amd64 /bin/helmfile
# Set permissions for helmfile binary
RUN chmod 0755 /bin/helmfile

LABEL helm="${HELM_VERSION}"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# cfstep-helmfile [![Codefresh build status]( https://g.codefresh.io/api/badges/pipeline/codefresh-inc/steps%2Fhelmfile?branch=master&key=eyJhbGciOiJIUzI1NiJ9.NTY3MmQ4ZGViNjcyNGI2ZTM1OWFkZjYy.AN2wExsAsq7FseTbVxxWls8muNx_bBUnQWQVS8IgDTI&type=cf-1)]( https%3A%2F%2Fg.codefresh.io%2Fpipelines%2Fhelmfile%2Fbuilds%3FrepoOwner%3Dcodefresh-contrib%26repoName%3Dcfstep-helmfile%26serviceName%3Dcodefresh-contrib%252Fcfstep-helmfile%26filter%3Dtrigger%3Abuild~Build%3Bbranch%3Amaster%3Bpipeline%3A5e8b61b07c985c3e9651b7f3~helmfile)

Codefresh Step for helmfile
Codefresh Step for helmfile.

This step utilizes Codefresh helm Docker image and wraps helmfile around that image.

Helmfile: https://github.com/roboll/helmfile
Helmfile: https://github.com/roboll/helmfile