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

Added serverless #26

Merged
merged 18 commits into from
Aug 17, 2021
Merged

Added serverless #26

merged 18 commits into from
Aug 17, 2021

Conversation

shawju
Copy link
Member

@shawju shawju commented Aug 11, 2021

what

why

  • Need to use serverless to create Lambdas

references

@shawju shawju requested a review from a team as a code owner August 11, 2021 19:48
@shawju
Copy link
Member Author

shawju commented Aug 11, 2021

/test

bstascavage
bstascavage previously approved these changes Aug 11, 2021
@bstascavage
Copy link
Member

@shawju make sure you have your settings correct: #23 (comment)

@shawju
Copy link
Member Author

shawju commented Aug 11, 2021

/test

@shawju
Copy link
Member Author

shawju commented Aug 12, 2021

/test

@shawju shawju requested a review from a team as a code owner August 12, 2021 17:30
@shawju
Copy link
Member Author

shawju commented Aug 12, 2021

/test

1 similar comment
@shawju
Copy link
Member Author

shawju commented Aug 12, 2021

/test

@shawju
Copy link
Member Author

shawju commented Aug 12, 2021

/test

@shawju
Copy link
Member Author

shawju commented Aug 12, 2021

/test

@shawju
Copy link
Member Author

shawju commented Aug 13, 2021

/test

@shawju
Copy link
Member Author

shawju commented Aug 13, 2021

/test

@shawju
Copy link
Member Author

shawju commented Aug 13, 2021

/test

@shawju
Copy link
Member Author

shawju commented Aug 13, 2021

/test

@shawju
Copy link
Member Author

shawju commented Aug 13, 2021

/test

1 similar comment
@shawju
Copy link
Member Author

shawju commented Aug 13, 2021

/test

@shawju
Copy link
Member Author

shawju commented Aug 13, 2021

/test

2 similar comments
@bstascavage
Copy link
Member

/test

@RothAndrew
Copy link
Contributor

/test

@RothAndrew
Copy link
Contributor

/test

@shawju
Copy link
Member Author

shawju commented Aug 16, 2021

/test

@shawju
Copy link
Member Author

shawju commented Aug 16, 2021

/test

Copy link
Contributor

@RothAndrew RothAndrew left a comment

Choose a reason for hiding this comment

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

  • Delete src/.DS_Store

Other than that it LGTM

@RothAndrew
Copy link
Contributor

I'm reviewing from a compliance perspective only. Should get another approval from anvil team before merging

Copy link
Member

@bstascavage bstascavage left a comment

Choose a reason for hiding this comment

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

We shouldn't be adding hadolint ignores unless we explicitly need the acception.

@@ -85,7 +86,7 @@ RUN wget -O /root/task.tar.gz "https://github.com/go-task/task/releases/download
# Install shellcheck. Get versions from https://github.com/koalaman/shellcheck/releases
ARG SHELLCHECK_VERSION="0.7.1"
ENV SHELLCHECK_VERSION=${SHELLCHECK_VERSION}
# hadolint ignore=DL3003
# hadolint ignore=DL3003,DL3047
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we want this ignore here. We should update wget to use the --progress flag.

See here

@@ -183,20 +195,23 @@ RUN asdf plugin add python \
# NOTE: PIPENV_VERSION is an env var that is used by pipenv, so it can't be used here. ref: https://github.com/pypa/pipenv/issues/3633#issuecomment-478250721
ARG PIP_ENV_VERSION="2020.11.15"
ENV PIP_ENV_VERSION=${PIP_ENV_VERSION}
# hadolint ignore=DL3042
Copy link
Member

Choose a reason for hiding this comment

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

I don't think we want this ignore here.

See here

RUN dnf -y install skopeo-${SKOPEO_VERSION} \
&& dnf clean all \
&& rm -rf /var/cache/yum/ \
&& rm -rf /var/tmp/* /tmp/* /var/tmp/.???* /tmp/.???*

# hadolint ignore=DL3059
Copy link
Member

Choose a reason for hiding this comment

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

What does this do?

@shawju
Copy link
Member Author

shawju commented Aug 16, 2021

/test

Copy link
Member

@bstascavage bstascavage left a comment

Choose a reason for hiding this comment

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

LGTM

The output should include "${SKOPEO_VERSION}"
The status should eq 0
End
It "validates tool is installed by checking version"
Copy link
Member

Choose a reason for hiding this comment

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

One last thing

This file needs to be indented like the other shellspec files

@shawju
Copy link
Member Author

shawju commented Aug 16, 2021

/test

@shawju
Copy link
Member Author

shawju commented Aug 16, 2021

/test

Copy link
Contributor

@RothAndrew RothAndrew left a comment

Choose a reason for hiding this comment

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

Approving from compliance perspective only. Get a 2nd from @saic-oss/anvil

Copy link
Member

@bstascavage bstascavage left a comment

Choose a reason for hiding this comment

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

LGTM

@bstascavage bstascavage merged commit e7d5a57 into main Aug 17, 2021
@bstascavage bstascavage deleted the feature/serverless branch August 17, 2021 16:22
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.

3 participants