Skip to content

Fix CI and Makefiles to handle dockerfile submodule dependencies.#1

Open
chrispsommers wants to merge 1 commit into
andriy-kokhan:sai-c-refactoringfrom
chrispsommers:sai-c-refactoring-cs
Open

Fix CI and Makefiles to handle dockerfile submodule dependencies.#1
chrispsommers wants to merge 1 commit into
andriy-kokhan:sai-c-refactoringfrom
chrispsommers:sai-c-refactoring-cs

Conversation

@chrispsommers
Copy link
Copy Markdown

See the changes which resulted in successful "make all" locally as well as CI pipeline.

run: make docker-dash-p4c
- name: Build P4 software switch (bmv2) and P4Info
run: DOCKER_FLAGS=$docker_fg_flags make p4
- name: Install DASH submodules recursively
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

I've made the same change in two other CI files. I believe that should be reverted as well.

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Please back the changes out and we'll verify one more time with a clean local build and in CI (which is similar to a clean local build).

- name: Build P4 software switch (bmv2) and P4Info
run: DOCKER_FLAGS=$docker_fg_flags make p4
- name: Install DASH submodules recursively
run: git submodule update --init --recursive
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

This was git submodule update --init before my changes with the comment SAI submodule update. Not sure whether it's still needed..

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I think it isn't needed anymore.

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