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

Don't include AWS cli in Gcloud version #39

Merged
merged 1 commit into from
Mar 28, 2023
Merged

Conversation

peterdeme
Copy link
Contributor

@peterdeme peterdeme commented Mar 24, 2023

The main reason I've made this change is because the GCP flavor of this image currently has a broken AWS CLI installed.

I'm not sure why is it broken, but we use a different base image for GCP (gcr.io/google.com/cloudsdktool/google-cloud-cli:alpine - official Google one) and it doesn't seem to work nicely with AWS CLI. How come we didn't notice it? That's because we don't check if the aws cli is executable during our build. 🤦 We only check it during pull request builds...

I've decided that it does not make any sense to keep AWS CLI in the GCP image, so I did a bit of refactoring. We will use different targets in the Dockefile => this means that the GCP image will not include AWS cli anymore.

Changes:

Oh and an important change: instead of testing the executables in the build.yml workflow, we'll test it during the container building. This makes sure we avoid an issue which just happened: not noticing that the AWS cli is broken.

@peterdeme peterdeme marked this pull request as ready for review March 24, 2023 14:11
.github/workflows/publish_future.yml Outdated Show resolved Hide resolved
.github/workflows/publish_scheduled.yml Outdated Show resolved Hide resolved
.github/workflows/publish_scheduled.yml Outdated Show resolved Hide resolved
.github/workflows/publish_scheduled.yml Outdated Show resolved Hide resolved
.github/workflows/publish_tagged.yml Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Signed-off-by: peterdeme <snypox@gmail.com>
@peterdeme peterdeme merged commit 273b2a2 into main Mar 28, 2023
@peterdeme peterdeme deleted the peterdeme-patch-1 branch March 28, 2023 11:17
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.

2 participants