Commit Graph

189 Commits

Author SHA1 Message Date
zimbatm
334bb6100b
idempotent installation
Don't run the installer if Nix has already been installed on the host.
We assume that the installed Nix is already in the desired state.

This allows to share a given pipeline between hosted and self-hosted
runners. Usually the self-hosted runners are long-lived and already have
Nix installed.
2020-11-02 12:35:41 +01:00
Domen Kožar
d5ba40b697
Merge pull request #53 from bbarker/patch-1
Adding more useful pinning reference to readme
2020-10-13 18:27:22 +02:00
Brandon Elam Barker
fda16d28d8
Adding more useful pinning reference to readme 2020-10-13 11:26:47 -04:00
Domen Kožar
da678383b2
Merge pull request #52 from wamserma/patch-1
replace deprecated functions
2020-10-13 11:52:23 +02:00
Markus Wamser
8a37740405
replace deprecated functions
this should fix #50
2020-10-12 23:04:59 +02:00
Domen Kožar
28b1d88f39
Merge pull request #49 from cachix/dependabot/npm_and_yarn/actions/core-1.2.6
Bump @actions/core from 1.1.1 to 1.2.6
2020-10-02 00:42:40 +03:00
dependabot[bot]
2767b618db
Bump @actions/core from 1.1.1 to 1.2.6
Bumps [@actions/core](https://github.com/actions/toolkit/tree/HEAD/packages/core) from 1.1.1 to 1.2.6.
- [Release notes](https://github.com/actions/toolkit/releases)
- [Changelog](https://github.com/actions/toolkit/blob/main/packages/core/RELEASES.md)
- [Commits](https://github.com/actions/toolkit/commits/HEAD/packages/core)

Signed-off-by: dependabot[bot] <support@github.com>
2020-10-01 17:21:05 +00:00
Domen Kožar
aee3ec7ef5
README: mention why install_url is useful 2020-09-21 18:54:24 +02:00
Domen Kožar
ba5c343622
CI: trigger push only on master 2020-09-21 16:41:22 +02:00
Domen Kožar
8389c1826a
Update README.md 2020-09-21 16:25:56 +02:00
Domen Kožar
95a8068e31
README: v11 2020-09-21 15:16:33 +02:00
Domen Kožar
9e0a5291c3
Fix #35: document nixpkgs version printing 2020-09-21 15:12:38 +02:00
Domen Kožar
b093d8fdd9
Document #19 2020-09-21 15:10:35 +02:00
Domen Kožar
6b9133ebb9
README: typo 2020-09-21 15:00:53 +02:00
Domen Kožar
05229ec560
README: update 2020-09-21 15:00:28 +02:00
Domen Kožar
97465807a1
Merge pull request #47 from cachix/prepare-v10
Support self-hosted runners and always skip adding a channel
2020-09-21 14:58:38 +02:00
Domen Kožar
cf5982c65c
README: note on channels 2020-09-21 14:38:02 +02:00
Domen Kožar
4977bdad66
Update lib/install-nix.sh
Co-authored-by: zimbatm <zimbatm@zimbatm.com>
2020-09-21 14:30:19 +02:00
Domen Kožar
775aed5fcb
Support self-hosted runners and always skip adding a channel 2020-09-21 14:16:30 +02:00
Domen Kožar
5a2cbacfff
Merge pull request #46 from cachix/dependabot/npm_and_yarn/handlebars-4.7.6
Bump handlebars from 4.4.0 to 4.7.6
2020-09-07 16:59:47 +02:00
dependabot[bot]
4bdb5ea92c
Bump handlebars from 4.4.0 to 4.7.6
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.4.0 to 4.7.6.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.4.0...v4.7.6)

Signed-off-by: dependabot[bot] <support@github.com>
2020-09-07 12:01:35 +00:00
Domen Kožar
9dc00124fc
Merge pull request #45 from zimbatm/extra-nix-config
add extra_nix_config options
2020-08-25 19:05:12 +02:00
zimbatm
967d234ad8
-n => != "" 2020-08-25 18:56:36 +02:00
zimbatm
07dda1e608
more cleanup 2020-08-25 18:26:01 +02:00
zimbatm
434ba1c7f0
fix the test 2020-08-25 18:20:10 +02:00
zimbatm
d953a4ee09
add failing test 2020-08-25 18:17:09 +02:00
zimbatm
dad23f2092
add extra_nix_config options
This also cleans the install-nix.sh script a bit
2020-08-25 18:08:00 +02:00
Domen Kožar
3559d01d05
Merge pull request #38 from cachix/dependabot/npm_and_yarn/lodash-4.17.19
Bump lodash from 4.17.15 to 4.17.19
2020-07-19 07:09:50 +02:00
dependabot[bot]
62a0c05281
Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-18 10:39:57 +00:00
Domen Kožar
9000f28930
Merge pull request #37 from cprussin/add-retries
Add retries when fetching nix install script
2020-07-09 13:35:55 +02:00
Connor Prussin
80dbe69d87
Add retries when fetching nix install script 2020-07-08 15:13:47 -07:00
Domen Kožar
1664fea144
add dependabot 2020-07-07 11:21:11 +02:00
Domen Kožar
41dfa36aa3
Update README.md 2020-06-03 17:18:31 +02:00
Domen Kožar
63cf434de4
remove unused file 2020-06-02 15:57:08 +02:00
Domen Kožar
2ebff14e68
Merge pull request #18 from Gerschtli/add-nixpkgs
Add NIX_PATH action input
2020-05-28 17:00:14 +02:00
Tobias Happ
a744770f4b Add nix_path action paramter 2020-05-28 16:28:14 +02:00
Domen Kožar
14f0e86ffb
README: v9 2020-05-27 16:59:17 +02:00
Domen Kožar
4cbb444a96
Merge pull request #33 from cachix/nix-2.3.5
Nix 2.3.5
2020-05-27 16:44:25 +02:00
Domen Kožar
f68249e909
Nix 2.3.5 2020-05-27 16:39:05 +02:00
Domen Kožar
10a7d51bce
allow skipping channel installation 2020-05-27 13:22:53 +02:00
Domen Kožar
642cfa0200
Prepare for Nix 2.3.5 2020-05-26 18:08:30 +02:00
Domen Kožar
d3c3fef7d5
Merge pull request #32 from cachix/install_url
Allow overriding installation URL
2020-05-26 14:31:35 +02:00
Domen Kožar
1c67340d91
Merge pull request #31 from cachix/improve-ci
improve CI
2020-05-26 10:06:49 +02:00
Domen Kožar
afb82faed7
Allow overriding installation URL 2020-05-14 13:21:40 +02:00
Domen Kožar
bc19d99f45
improve CI 2020-05-12 12:57:56 +02:00
Domen Kožar
5ab66ea04b
README: bump version 2020-04-22 16:42:26 +02:00
Domen Kožar
1b7507cdbf
Merge pull request #30 from cachix/dependabot/npm_and_yarn/acorn-5.7.4
Bump acorn from 5.7.3 to 5.7.4
2020-04-10 13:12:43 +02:00
dependabot[bot]
5bba53f2a2
Bump acorn from 5.7.3 to 5.7.4
Bumps [acorn](https://github.com/acornjs/acorn) from 5.7.3 to 5.7.4.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/5.7.3...5.7.4)

Signed-off-by: dependabot[bot] <support@github.com>
2020-04-05 06:26:25 +00:00
Domen Kožar
ebed63b0a2
Allow installation path to redirect 2020-03-11 19:29:13 +01:00
Domen Kožar
5c21a08208
README: bump actions 2020-03-01 11:47:40 +01:00