mirror of
https://gitlab.fabcity.hamburg/software/fab-city-software-kit.git
synced 2024-09-19 20:08:52 +02:00
fixed pipeline
This commit is contained in:
parent
b877127a84
commit
7469022142
|
@ -12,6 +12,10 @@ max_line_length = 120
|
|||
indent_size = 2
|
||||
indent_style = space
|
||||
|
||||
[*.{nix}]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
|
||||
[*.md]
|
||||
indent_size = 2
|
||||
indent_style = space
|
||||
|
|
4
.envrc
4
.envrc
|
@ -1,3 +1,7 @@
|
|||
if ! has nix_direnv_version || ! nix_direnv_version 2.1.1; then
|
||||
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/2.1.1/direnvrc" "sha256-b6qJ4r34rbE23yWjMqbmu3ia2z4b2wIlZUksBke/ol0="
|
||||
fi
|
||||
|
||||
watch_file **/*.nix
|
||||
watch_file flake.lock
|
||||
|
||||
|
|
|
@ -7,6 +7,8 @@ default:
|
|||
image: nixpkgs/nix-unstable:${NIX_VERSION}
|
||||
timeout: 1 hours
|
||||
before_script:
|
||||
- pwd
|
||||
- ls -lah
|
||||
- nix profile install --inputs-from . 'nixpkgs#direnv'
|
||||
- direnv hook bash >> ~/.bashrc
|
||||
- source ~/.bashrc
|
||||
|
|
|
@ -5,6 +5,9 @@ with pkgs;
|
|||
mkShell {
|
||||
name = "fcos.integration";
|
||||
nativeBuildInputs = with pkgs; [
|
||||
bashInteractive
|
||||
];
|
||||
buildInputs = with pkgs; [
|
||||
editorconfig-checker
|
||||
git
|
||||
hadolint
|
||||
|
@ -35,8 +38,4 @@ mkShell {
|
|||
. <(kubectl completion $(basename $SHELL))
|
||||
. <(kustomize completion $(basename $SHELL))
|
||||
'';
|
||||
|
||||
shellHook = ''
|
||||
echo "Welcome to ${projectName}"
|
||||
'';
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue