Skip to content

Commit

Permalink
put test in workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
MozeBaltyk committed May 15, 2024
1 parent 818af23 commit abfd4f9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/stage_airgap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,11 +129,6 @@ jobs:
cd ./DO/infra
terraform apply terraform.tfplan
- name: Display inventory
run: |
ls -l ${{ github.workspace }}/test/inventory/hosts.ini
cat inventory/hosts.ini
# No relative path allowed
- name: Inventory artifacts
uses: actions/upload-artifact@v4
Expand Down
7 changes: 0 additions & 7 deletions roles/install_rke2_common/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,2 @@
---
# defaults file for install_common

# RKE2
admin_user: "{{ global_install_user }}"
rke2_data_dir: "{{ global_rke2_data_dir }}"

# Fileserver
hauler_server: "{{ global_hauler_ip }}"
5 changes: 2 additions & 3 deletions roles/install_rke2_controller/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,8 @@ control_plane_endpoint: "{{ global_rke2_api_ip }}"
rpm_install: "{{ global_rpm_install | bool }}"
tarball_install: "{{ global_tarball_install | bool }}"

# Mount share
mount_path: "{{ global_directory_package_target }}"
mount_rke2_path: "{{ mount_path }}/fileserver"
# Fileserver
hauler_server: "{{ global_hauler_ip }}"

# RKE2 config
rke2_kubeconfig_file: "/etc/rancher/rke2/rke2.yaml"
Expand Down
6 changes: 6 additions & 0 deletions roles/install_rke2_worker/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@
# defaults file for install_worker
admin_user: "{{ global_install_user }}"
master: "{{ global_master_ip }}"
control_plane_endpoint: "{{ global_rke2_api_ip }}"
rpm_install: "{{ global_rpm_install | bool }}"
tarball_install: "{{ global_tarball_install | bool }}"

# Fileserver
hauler_server: "{{ global_hauler_ip }}"

# Worker options
rke2_data_dir: "{{ global_rke2_data_dir }}"
Expand Down

0 comments on commit abfd4f9

Please sign in to comment.