-
Notifications
You must be signed in to change notification settings - Fork 15
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 #234 from ansibleguy76/release/v5.0.7
v5.0.7 into main
- Loading branch information
Showing
19 changed files
with
212 additions
and
79 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
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,2 +1,2 @@ | ||
ext.version_code = 50006 | ||
ext.version_name = "5.0.6" | ||
ext.version_code = 50007 | ||
ext.version_name = "5.0.7" |
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
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 |
---|---|---|
|
@@ -6,35 +6,22 @@ FROM node:16-alpine AS node | |
|
||
FROM node AS nodebase | ||
|
||
# Use /app as CWD | ||
WORKDIR /app | ||
|
||
# Install github package | ||
RUN wget -O /bin/ytt github.com/vmware-tanzu/carvel-ytt/releases/download/v0.49.0/ytt-linux-amd64 | ||
RUN chmod -R +x /bin/ytt | ||
|
||
# Use /app as CWD | ||
WORKDIR /app | ||
# isntall apk packages | ||
RUN apk add py3-pip py3-pyldap libxslt mysql-client curl tzdata mariadb-connector-c openssh sshpass git vim | ||
|
||
# install ansible | ||
RUN apk add ansible | ||
|
||
# upgrade pip | ||
RUN apk add py3-pip | ||
|
||
# install some python dependencies | ||
RUN pip3 install requests six | ||
RUN apk add --update --no-cache --virtual .build-deps g++ gcc libxml2-dev libxslt-dev unixodbc-dev python3-dev postgresql-dev | ||
RUN apk add --no-cache libxslt | ||
RUN apk add --no-cache mysql-client | ||
RUN apk add --no-cache curl | ||
RUN apk add --no-cache py3-pyldap | ||
RUN apk add --no-cache tzdata | ||
RUN pip3 install --no-cache-dir lxml | ||
RUN apk del .build-deps | ||
RUN pip3 install PyMySQL | ||
RUN pip3 install netapp_lib | ||
RUN pip3 install netapp_ontap | ||
RUN pip3 install solidfire-sdk-python | ||
RUN pip3 install boto3 | ||
RUN pip3 install boto | ||
RUN pip3 install botocore | ||
# install some dev packages | ||
# RUN apk add --update --no-cache --virtual .build-deps g++ gcc libxml2-dev libxslt-dev unixodbc-dev python3-dev postgresql-dev && apk del .build-deps | ||
# looks like this is no longer needed | ||
|
||
# install pip3 packages | ||
RUN pip3 install requests six PyMySQL netapp_lib netapp_ontap solidfire-sdk-python boto3 boto botocore lxml ansible | ||
|
||
# run ansible galaxy modules | ||
RUN ansible-galaxy collection install netapp.ontap -p /usr/share/ansible/collections | ||
|
@@ -45,25 +32,16 @@ RUN ansible-galaxy collection install netapp.storagegrid -p /usr/share/ansible/c | |
RUN ansible-galaxy collection install community.general -p /usr/share/ansible/collections | ||
RUN ansible-galaxy collection install community.mysql -p /usr/share/ansible/collections | ||
|
||
# add mariadb connector for mysql dump | ||
RUN apk add --no-cache mariadb-connector-c | ||
|
||
# add ssh | ||
RUN apk add --no-cache openssh | ||
# make ssh directory | ||
RUN mkdir -p ~/.ssh | ||
|
||
# add sshpass | ||
RUN apk add --no-cache sshpass | ||
|
||
# add git | ||
RUN apk add --no-cache git | ||
|
||
# update npm | ||
RUN npm install -g [email protected] | ||
|
||
################################################## | ||
# builder stage | ||
# intermediate build to compile application | ||
# can run in parallel with base stage | ||
|
||
FROM node AS tmp_builder | ||
|
||
|
@@ -73,9 +51,10 @@ WORKDIR /app | |
# Copy package.json and package-lock.json to /app | ||
COPY package*.json ./ | ||
|
||
# Install all dependencies | ||
# Update npm | ||
RUN npm install -g [email protected] | ||
|
||
# install node modules | ||
RUN npm install | ||
|
||
# Copy the rest of the code | ||
|
Oops, something went wrong.