Skip to content

Commit

Permalink
Merge pull request #444 from tweag/fix-publish-to-bcr-config
Browse files Browse the repository at this point in the history
Fix publish to BCR source template
  • Loading branch information
mergify[bot] authored Nov 8, 2023
2 parents 3368061 + 63e61e1 commit 2c76769
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .bcr/core/presubmit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ bcr_test_module:
run_tests:
name: "Run test module"
platform: ${{ platform }}
environment:
# The Nix installer updates ~/.profile to set PATH. However, the Bazel
# CI setup seems to disregard ~/.profile. So we set PATH manually here.
PATH: /var/lib/buildkite-agent/.nix-profile/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
shell_commands:
- apt update
- apt install --yes nix-setup-systemd
- nix-channel --add https://nixos.org/channels/nixpkgs-unstable nixpkgs
- nix-channel --update
- curl -L https://nixos.org/nix/install | sh -s -- --no-daemon
test_targets:
- "//..."
2 changes: 1 addition & 1 deletion .bcr/core/source.template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"integrity": "",
"strip_prefix": "{REPO}-{VERSION}/core",
"url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/${REPO}-${VERSION}.tar.gz"
"url": "https://github.com/{OWNER}/{REPO}/releases/download/{TAG}/{REPO}-{VERSION}.tar.gz"
}

0 comments on commit 2c76769

Please sign in to comment.