From 32113ad00d99604c51a1b64462ab860a682835f9 Mon Sep 17 00:00:00 2001 From: Anatolios Laskaris Date: Mon, 4 Nov 2024 12:35:12 +0200 Subject: [PATCH] chore: Test CI (#2) * Run nix fmt * Run help on ubuntu latest * Parallel creating of lb and instances * F --- .github/workflows/help-command.yml | 2 +- flake.nix | 8 ++++---- terraform/controlplane.tf | 1 - terraform/templates/controlplane_patch.yml | 1 + 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/help-command.yml b/.github/workflows/help-command.yml index d1dcaaf1..759eb390 100644 --- a/.github/workflows/help-command.yml +++ b/.github/workflows/help-command.yml @@ -6,7 +6,7 @@ on: jobs: help: - runs-on: linux-amd64-t-small + runs-on: ubuntu-latest steps: - name: Update comment uses: peter-evans/create-or-update-comment@v4 diff --git a/flake.nix b/flake.nix index c98cb7ee..5ec6de31 100644 --- a/flake.nix +++ b/flake.nix @@ -25,7 +25,7 @@ pkgs.bashInteractive pkgs.nixfmt-rfc-style pkgs.just - pkgs.gh + pkgs.gh pkgs.talosctl pkgs.kubectl @@ -37,9 +37,9 @@ ]; shellHook = '' - [[ -f $FLUENCE_SECRETS ]] && source $FLUENCE_SECRETS - [[ -f ./kubeconfig ]] && export KUBECONFIG=$(realpath ./kubeconfig) - [[ -f ./talosconfig ]] && export TALOSCONFIG=$(realpath ./talosconfig) + [[ -f $FLUENCE_SECRETS ]] && source $FLUENCE_SECRETS + [[ -f ./kubeconfig ]] && export KUBECONFIG=$(realpath ./kubeconfig) + [[ -f ./talosconfig ]] && export TALOSCONFIG=$(realpath ./talosconfig) ''; }; } diff --git a/terraform/controlplane.tf b/terraform/controlplane.tf index 42eff2d4..4a69c2ca 100644 --- a/terraform/controlplane.tf +++ b/terraform/controlplane.tf @@ -71,7 +71,6 @@ data "talos_machine_configuration" "cp" { hostdns = "${each.key}.${local.prefix}.fluence.dev", subnet = data.digitalocean_vpc.spectrum.ip_range, branch = var.github_branch - loadbalancerip = digitalocean_loadbalancer.cp.ip }) ] } diff --git a/terraform/templates/controlplane_patch.yml b/terraform/templates/controlplane_patch.yml index b7f8908b..13f65e89 100644 --- a/terraform/templates/controlplane_patch.yml +++ b/terraform/templates/controlplane_patch.yml @@ -134,6 +134,7 @@ cluster: url: https://github.com/fluencelabs/spectrum.git ref: branch: ${branch} + --- apiVersion: kustomize.toolkit.fluxcd.io/v1 kind: Kustomization metadata: