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/build deps #527

Merged
merged 2 commits into from Oct 27, 2023
Merged

Fix/build deps #527

merged 2 commits into from Oct 27, 2023

Conversation

raharper
Copy link
Contributor

doc/install.md is quite out-of-date and does not align with what's happening in .github/workflows/build.yml

Changes

  • Add build-essential (for make and friends)
  • Add skopeo/umoci which are needed during build and test
  • Use Ubuntu's golang PPA (instead of deb or snap); Jammy's golang-go is 1.18 and current go.mod requires 1.20
  • Add in the go module prep and docker clone steps

Now, install.md says to just run:

sudo ./install-build-deps.sh
make stacker

Note: the Fedora steps are equally out of date; that'll need another PR.

What type of PR is this?

cleanup and documentation

Which issue does this PR fix:

What does this PR do / Why do we need it:

Add script to prepare an Ubuntu 22.04 instance to build stacker
Updated docs to reference the script since docs were out of date.

If an issue # is not available please add repro steps and logs showing the issue:

Testing done on this change:

build stacker

Automation added to e2e:

Will this break upgrades or downgrades?

No

Does this PR introduce any user-facing change?:

No


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@raharper raharper force-pushed the fix/build-deps branch 2 times, most recently from e9e8404 to 83fdb09 Compare October 18, 2023 13:01
@codecov
Copy link

codecov bot commented Oct 18, 2023

Codecov Report

Merging #527 (94cbccd) into main (f0f9642) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #527   +/-   ##
=======================================
  Coverage   13.32%   13.32%           
=======================================
  Files          40       40           
  Lines        5863     5863           
=======================================
  Hits          781      781           
  Misses       4954     4954           
  Partials      128      128           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@hallyn hallyn self-requested a review October 27, 2023 15:32
doc/install.md is quite out-of-date and does not align with
what's happening in .github/workflows/build.yml

Changes
  - Add build-essential (for make and friends)
  - Add skopeo/umoci which are needed during build and test
  - Use Ubuntu's golang PPA (instead of snap); Jammy's golang-go is
    1.18 and current go.mod requires 1.20
  - Add in the go module prep and docker clone

Now, install.md says to just run:

sudo ./install-build-deps.sh
make stacker

Note: the Fedora steps are equally out of date; that'll need another
PR.

Signed-off-by: Ryan Harper <rharper@woxford.com>
Signed-off-by: Ryan Harper <rharper@woxford.com>
@raharper raharper merged commit d0b712e into project-stacker:main Oct 27, 2023
9 checks passed
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.

None yet

2 participants