crossplane-contrib / crossplane-contrib/provider-workflows

Upgrade build module to the latest version

Open
#25 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Makefile
Stars
2
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Currlent version of `build` Git module is more then one year old ([build @ 420d07d](https://github.com/crossplane/build/tree/420d07dfa6022dc38812e3140a41666644b533ec)

When is this version used in Publish Provider Package GitHub workflow, the Build Artifacts step [fails with an error](https://github.com/crossplane-contrib/provider-upjet-github/actions/runs/21065703704/job/60583060671#step:13:2815)
```text
bash: line 1: /home/runner/work/provider-upjet-github/provider-upjet-github/.cache/tools/linux_x86_64/crossplane-cli-v2.0.2: No such file or directory
12:05:43 [FAIL]
```

In the latest version of `build` module is installed Crossplane CLI instead of Up CLI ([line 28 of makelib/local.xpkg.mk](https://github.com/crossplane/build/compare/420d07d..main#diff-0d7f6fd1048ae712bb73d41ec7bffa57757db3f4f5da7187582750dda00be03cR28) file).

Upgrade to the latest version should fix this issue.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Publish Provider Package GitHub workflow and its Build Artifacts step, then inspect the referenced build module version and compare it with the latest version. Use makelib/local.xpkg.mk, especially the change around line 28, to verify the CLI behavior. Done means the module is upgraded and the Build Artifacts step completes without the missing crossplane-cli-v2.0.2 error.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
build-system, ci-cd
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.