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

Fix for redesigned CI/CD pipeline failure #144

Merged
merged 3 commits into from
Aug 15, 2024

Conversation

MukuFlash03
Copy link
Contributor

Failed workflow run

Changes:
Adding suffix to image tag to match image name in docker-compose.yml

Details in these comments (link, link)

@shankari
Copy link
Contributor

@MukuFlash03 waiting for the "two tag upload" before I review and merge

@MukuFlash03
Copy link
Contributor Author

Almost done, running some CI/CD tests to ensure it works.

Mahadik, Mukul Chandrakant added 2 commits August 14, 2024 16:51
This will ensure that if the CI/CD pipeline fails in any prior steps such as the docker related ones, the .env file isn't updated.
This is because the the docker failures can include errors image not found which can occur due to incorrect tags.
@MukuFlash03
Copy link
Contributor Author

Added the changes. Details on successful testing in this comment in the original PR.

Copy link
Contributor

Choose a reason for hiding this comment

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

I am not going to insist on this right now, but as part of e-mission/e-mission-docs#1082, we should consider putting the notebook tag in here as well, and just using this instead of the artifacts

run: |
set -a; source .env.repoTags; set +a
echo "Restoring latest frontend image tag from .env.repoTags"
echo "FRONTEND_IMAGE_TAG=${FRONTEND_IMAGE_TAG}" >> $GITHUB_ENV
Copy link
Contributor

Choose a reason for hiding this comment

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

I am not going to insist on this, but we should revisit this as part of
e-mission/e-mission-docs#1082

" Consider switching from $GITHUB_ENV to step outputs. I think that the step outputs are the recommended approach to pass values from one step to another, but we should verify"

@shankari shankari merged commit a3241bb into e-mission:main Aug 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants