Skip to content

build: Don't invoke ci.nix from default.nix#949

Merged
nmattia merged 1 commit intomasterfrom
nm-no-jobset
Aug 21, 2020
Merged

build: Don't invoke ci.nix from default.nix#949
nmattia merged 1 commit intomasterfrom
nm-no-jobset

Conversation

@nmattia
Copy link
Contributor

@nmattia nmattia commented Aug 21, 2020

This moves the publish job to the ci/ directory and make it
platform-independent. This means the jobs can now be run locally like
so:

$ nix run -f ./ci/ci.nix publish.dfx -c activate

NOTE: The publish job will need to be changed; the target is now
publish.dfx (was publish.dfx.x86_64-linux). In theory we need to
make sure that machines for (1) evaluating and (2) deploying have the
same platform; in practice this is always the case.

@nmattia nmattia changed the title Don't invoke ci.nix from default.nix build: Don't invoke ci.nix from default.nix Aug 21, 2020
Copy link
Contributor

@basvandijk basvandijk left a comment

Choose a reason for hiding this comment

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

Looks good. Let's do it!

Make sure to update the CD job registration soon after this is merged.

This moves the publish job to the `ci/` directory and make it
platform-independent. This means the jobs can now be run locally like
so:

``` shell
$ nix run -f ./ci/ci.nix publish.dfx -c activate
```

NOTE: The publish job will need to be changed; the target is now
`publish.dfx` (was `publish.dfx.x86_64-linux`). In theory we need to
make sure that machines for (1) evaluating and (2) deploying have the
same platform; in practice this is always the case.
@nmattia nmattia merged commit 8a95546 into master Aug 21, 2020
@nmattia nmattia deleted the nm-no-jobset branch August 21, 2020 11:54
basvandijk added a commit that referenced this pull request Aug 26, 2020
#949 removed the `x86_64-linux`
attribute of the `publish.dfx.x86_64-linux` job which broke evaluation
of `ci/release.nix`.
basvandijk added a commit that referenced this pull request Aug 26, 2020
#949 removed the `x86_64-linux`
attribute of the `publish.dfx.x86_64-linux` job which broke evaluation
of `ci/release.nix`.
mergify bot pushed a commit that referenced this pull request Aug 26, 2020
#949 removed the `x86_64-linux` attribute of the `publish.dfx.x86_64-linux` job which broke evaluation of `ci/release.nix`.
dfinity-bot added a commit that referenced this pull request Jul 4, 2021
mergify bot pushed a commit that referenced this pull request Jul 4, 2021
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