feature/upload-test_cleanup #2

Merged
local_admin merged 112 commits from feature/upload-test_cleanup into main 2025-05-31 13:17:27 +00:00
Owner
No description provided.
pin vrsion to avoid ssh timeout bug (https://github.com/apricote/hcloud-upload-image/issues/89))
refactor mise task that run pipeline locally
using 2 workflows now : one for linting, one for ci
fix SC2185
create /tmp/test-fcos-upload before each  unit test
removing snapshot on hetzner after tests are done
variable HCLOUD_TOKEN is expected by upload_push_image aand must be exported beforehand
test: - move into /tmp/test-fcos-upload for test_upload_push_image
Some checks are pending
/ unit_tests (push) Waiting to run
/ lint (push) Waiting to run
0e5a30b1f9
forgot an s in path to workflows
chore: 🚨 - add conf to shcellcheck so it cn follow sources
Some checks failed
/ unit_tests (push) Has been cancelled
/ lint (push) Has been cancelled
d924950937
add cli function and help function
help function is now in cli.sh
change structur to simplify
source everyting so shhellcheck cn follow vriable accross the source files
add function to enforce defult values for FCOS_ARCH and FCOS_STREAM to min.sh
chnge extension of bash scripts for .bash to .sh
create script with function that set defaults values for FCOS_ARCH and FCOS_STREAM
build: 👷 - add build.sh script to construct final artifact
Some checks failed
/ unit_tests (push) Failing after 1m2s
/ lint (push) Failing after 14s
08467c3d7f
corecting value name, and disabling linter because i cant get it to work by sourcing main.sh in cli.sh (shellcheck hang forever))
remove external sourcing in scripts withunit_test. For some reason, external source break bashunit
disblng SC2034 because sourcing is breaking unit_tests
missing sh t th end of l.24
new age key attributed to ci to decrypt secrets
create key txt for step tht need access to secrets
move starting comment for styling correctly when building final script
move main.sh to project root to simplify buildd process
create bul folder where builded artifact will be generated
appending content of main.sh in final script after "vuild::process_file" to ensure code from main.sh is placed t thebottom of the final script
final script is now generatd in build/ folder
final script is now generatd in build/ folder
echo "# $(basename "$file")" is useless, each script have a starting comment with their name that get  appended to final script
rtifct builded when testing build.sh locally do not need to be commited
exit should nor be trigger at each option, or the script will just stop
using two function improve script adaptability
set_default.sh has been refactored set_defaults function no longer exist
new nomenclature for fuunction (script::function_desc) is way more readable
rename test so they match with  the new function nomenclature
ROOT_DIR is now two folder away from test files
cli_help is now replaced by cli::help
cli_help is now replaced by cli::help
using coreos-installer through podman is encoutering issues randomly when i run test in hvn devontainer
tear_down function is removing snapshot from hetzner after tests
application is dependent of dnf package  coreos-installer so pipeline need to run in feora system
add set_up_env, a general task wich is automating som command to install dnf dependencies and set up hcloud context
relative path to age key file is breaking deecryption
chore: 👷 - update workflow so it run on opened PR
Some checks failed
/ lint (pull_request) Failing after 6s
/ unit_tests (pull_request) Failing after 42s
/ integration_tests (pull_request) Failing after 51s
/ build_and_push (pull_request) Has been cancelled
98a5dad1b4
sensitive data are in clear in the pipeline log, it should now be fixed
build: ⬆️ - upgradde hcloud-upload-image to latest version
Some checks failed
/ unit_tests (pull_request) Failing after 40s
/ integration_tests (pull_request) Failing after 41s
/ lint (pull_request) Failing after 6s
f2bd596efc
bug tyhat prevented upload of imge has been fix, switching back to latest
age secret key leaked in pipeline logs, rotation was needed for everything
chore: ✏️ - fix missing quote
Some checks failed
/ lint (pull_request) Successful in 6s
/ unit_tests (pull_request) Failing after 43s
/ integration_tests (pull_request) Failing after 44s
5b0e732771
chore: ✏️ - fix missig quote
Some checks failed
/ lint (pull_request) Successful in 6s
/ unit_tests (pull_request) Failing after 48s
/ integration_tests (pull_request) Failing after 43s
c89e14c5dd
chore: 🔐 - add secret for github token
Some checks failed
/ unit_tests (pull_request) Failing after 36s
/ integration_tests (pull_request) Failing after 41s
/ lint (pull_request) Successful in 6s
/ build_and_push (pull_request) Has been cancelled
92c16be957
refactor: ♻️ - refactor stuff
Some checks failed
/ unit_tests (pull_request) Failing after 40s
/ integration_tests (pull_request) Failing after 48s
/ lint (pull_request) Successful in 10s
/ build_and_push (pull_request) Has been cancelled
816391fd9d
refactor: ♻️ - refactor workflows using steps
Some checks failed
/ lint (pull_request) Successful in 12s
/ build_and_push (pull_request) Has been cancelled
d8cabf0dfe
suing stepo to optimize ressource utiulisation and removing github_token wich ddont seem to work for now
fix: ✏️ - fix typo in file
Some checks failed
/ lint (pull_request) Successful in 7s
/ build_and_push (pull_request) Has been cancelled
c068aa7360
refactor: ♻️ - pur lint step in ci.yml
Some checks failed
/ build_and_push (pull_request) Has been cancelled
20e565b8db
fix: ✏️ - fix indenttion error
Some checks failed
/ CI (pull_request) Failing after 5s
/ build_and_push (pull_request) Has been cancelled
7785b38781
refactor: ♻️ - switching steps
Some checks failed
/ CI (pull_request) Has been cancelled
/ build_and_push (pull_request) Has been cancelled
58567df0d5
tmporary ix for issue with node installation
refactor: ♻️ - add mise install step
Some checks failed
/ CI (pull_request) Failing after 44s
/ build_and_push (pull_request) Has been cancelled
cda7857f26
build: - remove go depencecy and use ubi to install sops and hcloud-upload-image
Some checks failed
/ CI (pull_request) Failing after 44s
/ build_and_push (pull_request) Has been cancelled
e5fa8e1762
refactor: ♻️ - refactor pipeline
Some checks failed
/ CI (pull_request) Failing after 3s
/ build_and_push (pull_request) Has been cancelled
e55d5050ce
refactor: ♻️ - chhange step order
Some checks failed
/ CI (pull_request) Failing after 37s
/ build_and_push (pull_request) Has been cancelled
87981f3924
fix: ✏️ - fix typo
Some checks failed
/ CI (pull_request) Failing after 45s
/ build_and_push (pull_request) Has been cancelled
8f5b538818
build: 🔧 - add verbose=1 in mise setting
Some checks failed
/ CI (pull_request) Failing after 41s
/ build_and_push (pull_request) Has been cancelled
23751619ae
refactor: ♻️ - put github secrt in workflow vars
Some checks failed
/ CI (pull_request) Failing after 41s
/ build_and_push (pull_request) Has been cancelled
9e4cda27c2
github token is nedewd to avoid api restriction
refactor: ♻️ - refactor stuff
Some checks failed
/ CI (pull_request) Failing after 47s
/ build_and_push (pull_request) Has been cancelled
7050c5bba2
refactor: ♻️ - refactor stuff
Some checks failed
/ CI (pull_request) Failing after 47s
/ build_and_push (pull_request) Has been cancelled
9baea53b02
chore: 🎨 - remove one mash
Some checks failed
/ CI (pull_request) Failing after 51s
/ build_and_push (pull_request) Has been cancelled
be4d03e713
chore: ♻️ - change oprator
Some checks failed
/ CI (pull_request) Failing after 53s
/ build_and_push (pull_request) Has been cancelled
d7e087973e
chore: 🧪 - test stuff
Some checks failed
/ CI (pull_request) Failing after 1m27s
/ build_and_push (pull_request) Has been cancelled
8692e56393
chore: 👷 - update ci
Some checks failed
/ CI (pull_request) Successful in 1m27s
/ build_and_push (pull_request) Has been cancelled
00e13f4f9a
chore: 👷 - fix mask
Some checks failed
/ CI (pull_request) Successful in 1m21s
/ build_and_push (pull_request) Has been cancelled
b150b33828
chore: 💚 - fix ci
Some checks failed
/ CI (pull_request) Successful in 12m43s
/ build_and_push (pull_request) Has been cancelled
6a404c3fbd
chore: 👷 - change workflow name nd triger
All checks were successful
/ CI (pull_request) Successful in 12m31s
6cfa75971a
local_admin deleted branch feature/upload-test_cleanup 2025-05-31 13:17:27 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: haven2.0/fcos-upload#2
No description provided.