Skip to content

ETCM-9557-Implement direct tests #642

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 63 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
b29a6be
feat: init
skylar-simoncelli Apr 3, 2025
23f4372
fix: rpc method
skylar-simoncelli Apr 3, 2025
66dfb6e
Merge branch 'master' into ETCM-9557---Implement-direct-tests
skylar-simoncelli Apr 7, 2025
d1d9dee
fix: block parse
skylar-simoncelli Apr 7, 2025
567af98
fix: params
skylar-simoncelli Apr 7, 2025
414c094
fix: registrations
skylar-simoncelli Apr 7, 2025
5ecc1b9
feat: commit suggestion
skylar-simoncelli Apr 8, 2025
72bc500
feat: ssh > shell
skylar-simoncelli Apr 8, 2025
d89f9d0
fix: beck32
skylar-simoncelli Apr 8, 2025
c3cf90f
feat: kubectl cp
skylar-simoncelli Apr 8, 2025
816b25e
feat: quiet installation
skylar-simoncelli Apr 8, 2025
01ccb77
fix: json
skylar-simoncelli Apr 8, 2025
ea958fb
feat: docs
skylar-simoncelli Apr 9, 2025
9845fdf
fix: mirror
skylar-simoncelli Apr 9, 2025
98757a8
fix: match test matrix
skylar-simoncelli Apr 9, 2025
c1549d2
fix: continue-on-error
skylar-simoncelli Apr 9, 2025
1488ef7
fix: test fixes
skylar-simoncelli Apr 9, 2025
9adba0d
fix: debugging
skylar-simoncelli Apr 9, 2025
6d9d682
fix: quiet python setup
skylar-simoncelli Apr 10, 2025
af13995
fix: tests
skylar-simoncelli Apr 10, 2025
dbd9501
Merge branch 'master' into ETCM-9557---Implement-direct-tests
skylar-simoncelli Apr 10, 2025
d88086e
feat: build bech32
skylar-simoncelli Apr 10, 2025
21c996a
fix: bech32
skylar-simoncelli Apr 10, 2025
c9d20a6
fix: cardano-cli
skylar-simoncelli Apr 10, 2025
60f6232
fix: cardano-cli
skylar-simoncelli Apr 10, 2025
3ee274b
fix: non interactive
skylar-simoncelli Apr 10, 2025
9dbc37b
fix: env
skylar-simoncelli Apr 10, 2025
06f7af2
fix: command handling and debugging
skylar-simoncelli Apr 14, 2025
c10e2b4
Merge branch 'master' into ETCM-9557---Implement-direct-tests
skylar-simoncelli Apr 14, 2025
1b4ece8
fix: command handling
skylar-simoncelli Apr 14, 2025
98ba2c6
fix: env vars
skylar-simoncelli Apr 14, 2025
9d04100
fix: smart contract tests
skylar-simoncelli Apr 14, 2025
17b196b
fix: ogmios host
skylar-simoncelli Apr 14, 2025
01f858b
fix: handling
skylar-simoncelli Apr 15, 2025
798c3f5
fix: shlex
skylar-simoncelli Apr 15, 2025
cb84547
fix: fixtures
skylar-simoncelli Apr 15, 2025
77a3874
fix: rpc fixture
skylar-simoncelli Apr 15, 2025
b46f059
fix: workflow
skylar-simoncelli Apr 15, 2025
d8647bd
fix: arguments
skylar-simoncelli Apr 15, 2025
85d2b0d
fix: skey
skylar-simoncelli Apr 15, 2025
f86d604
fix: conftest and fixes
skylar-simoncelli Apr 15, 2025
b3cc0d0
fix: key
skylar-simoncelli Apr 15, 2025
f30c0d5
fix: ariadne
skylar-simoncelli Apr 15, 2025
af6b809
fix: debug
skylar-simoncelli Apr 15, 2025
03788fb
fix: stake key hash
skylar-simoncelli Apr 15, 2025
5f1a982
fix: fixes
skylar-simoncelli Apr 16, 2025
8bd9817
fix: debugging
skylar-simoncelli Apr 22, 2025
5710599
Merge master: Keep kubectl implementation, remove SSH dependencies
skylar-simoncelli Apr 23, 2025
8998f81
feat: init
skylar-simoncelli Apr 3, 2025
d519947
fix: debugging
skylar-simoncelli Apr 23, 2025
8036f81
fix: direct
skylar-simoncelli Apr 23, 2025
55a8602
fix: fixes
skylar-simoncelli Apr 24, 2025
c245d40
fix: module
skylar-simoncelli Apr 24, 2025
f344fad
fix: python version
skylar-simoncelli Apr 29, 2025
5c150d9
Merge branch 'master' into ETCM-9557---Implement-direct-tests
skylar-simoncelli Apr 29, 2025
8ef11de
fix: python verson
skylar-simoncelli Apr 29, 2025
a604a93
fix: Candidates
skylar-simoncelli Apr 29, 2025
0949db2
Merge branch 'master' into ETCM-9557---Implement-direct-tests
skylar-simoncelli May 8, 2025
eefdd66
fix: revert some changes
skylar-simoncelli May 8, 2025
3e48b58
feat: new runner
skylar-simoncelli May 8, 2025
84dc086
fix: ci > staging
skylar-simoncelli May 8, 2025
1259b9f
Merge branch 'master' into ETCM-9557---Implement-direct-tests
skylar-simoncelli May 20, 2025
4875522
fix: ci-preview > staging-preview
skylar-simoncelli May 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/actions/deploy/argocd/deploy-argocd/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@ runs:
- name: Install kubectl and awscli
run: |
# Install kubectl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" > /dev/null 2>&1 || { echo "❌ Failed to download kubectl"; exit 1; }
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl

# Install or update AWS CLI v2
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip -o awscliv2.zip
sudo ./aws/install --update
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" > /dev/null 2>&1 || { echo "❌ Failed to download AWS CLI"; exit 1; }
unzip -o awscliv2.zip > /dev/null 2>&1 || { echo "❌ Failed to unzip AWS CLI"; exit 1; }
sudo ./aws/install --update > /dev/null 2>&1 || { echo "❌ Failed to install AWS CLI"; exit 1; }
shell: bash

- name: Configure kubectl
Expand All @@ -32,11 +32,11 @@ runs:
K8S_SERVER: ${{ env.K8S_SERVER }}
K8S_SA_TOKEN: ${{ env.K8S_SA_TOKEN }}
run: |
echo "${KUBECONFIG_BASE64}" | base64 --decode > ${{ runner.temp }}/kubeconfig.yaml
kubectl config set-cluster my-cluster --server=${K8S_SERVER} --insecure-skip-tls-verify=true
kubectl config set-credentials github-actions --token=${K8S_SA_TOKEN}
kubectl config set-context my-context --cluster=my-cluster --user=github-actions --namespace=default
kubectl config use-context my-context
echo "${KUBECONFIG_BASE64}" | base64 --decode > ${{ runner.temp }}/kubeconfig.yaml || { echo "❌ Failed to decode kubeconfig"; exit 1; }
kubectl config set-cluster my-cluster --server=${K8S_SERVER} --insecure-skip-tls-verify=true > /dev/null 2>&1 || { echo "❌ Failed to set cluster"; exit 1; }
kubectl config set-credentials github-actions --token=${K8S_SA_TOKEN} > /dev/null 2>&1 || { echo "❌ Failed to set credentials"; exit 1; }
kubectl config set-context my-context --cluster=my-cluster --user=github-actions --namespace=default > /dev/null 2>&1 || { echo "❌ Failed to set context"; exit 1; }
kubectl config use-context my-context > /dev/null 2>&1 || { echo "❌ Failed to use context"; exit 1; }
shell: bash

- name: Render and Apply Kubernetes Manifest
Expand Down
20 changes: 10 additions & 10 deletions .github/actions/deploy/argocd/teardown-argocd/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ runs:
- name: Install kubectl and awscli
run: |
# Install kubectl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" > /dev/null 2>&1 || { echo "❌ Failed to download kubectl"; exit 1; }
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl

# Install or update AWS CLI v2
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip -o awscliv2.zip
sudo ./aws/install --update
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" > /dev/null 2>&1 || { echo "❌ Failed to download AWS CLI"; exit 1; }
unzip -o awscliv2.zip > /dev/null 2>&1 || { echo "❌ Failed to unzip AWS CLI"; exit 1; }
sudo ./aws/install --update > /dev/null 2>&1 || { echo "❌ Failed to install AWS CLI"; exit 1; }
shell: bash

- name: Configure kubectl
Expand All @@ -36,11 +36,11 @@ runs:
K8S_SERVER: ${{ env.K8S_SERVER }}
K8S_SA_TOKEN: ${{ env.K8S_SA_TOKEN }}
run: |
echo "${KUBECONFIG_BASE64}" | base64 --decode > ${{ runner.temp }}/kubeconfig.yaml
kubectl config set-cluster my-cluster --server=${K8S_SERVER} --insecure-skip-tls-verify=true
kubectl config set-credentials github-actions --token=${K8S_SA_TOKEN}
kubectl config set-context my-context --cluster=my-cluster --user=github-actions --namespace=default
kubectl config use-context my-context
echo "${KUBECONFIG_BASE64}" | base64 --decode > ${{ runner.temp }}/kubeconfig.yaml || { echo "❌ Failed to decode kubeconfig"; exit 1; }
kubectl config set-cluster my-cluster --server=${K8S_SERVER} --insecure-skip-tls-verify=true > /dev/null 2>&1 || { echo "❌ Failed to set cluster"; exit 1; }
kubectl config set-credentials github-actions --token=${K8S_SA_TOKEN} > /dev/null 2>&1 || { echo "❌ Failed to set credentials"; exit 1; }
kubectl config set-context my-context --cluster=my-cluster --user=github-actions --namespace=default > /dev/null 2>&1 || { echo "❌ Failed to set context"; exit 1; }
kubectl config use-context my-context > /dev/null 2>&1 || { echo "❌ Failed to use context"; exit 1; }
shell: bash

- name: Download Manifest Artifact
Expand Down
28 changes: 18 additions & 10 deletions .github/actions/deploy/upload-chain-specs/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,31 @@ runs:
steps:
- name: Install kubectl, kubernetes-helm, and awscli
run: |
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
# Install kubectl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" > /dev/null 2>&1 || { echo "❌ Failed to download kubectl"; exit 1; }
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
sudo apt-get install apt-transport-https --yes

# Install Helm
curl https://baltocdn.com/helm/signing.asc | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null || { echo "❌ Failed to setup Helm GPG"; exit 1; }
sudo apt-get install apt-transport-https --yes || { echo "❌ Failed to install apt-transport-https"; exit 1; }
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] https://baltocdn.com/helm/stable/debian/ all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt-get update
sudo apt-get install helm
sudo apt-get update || { echo "❌ Failed to update apt"; exit 1; }
sudo apt-get install helm || { echo "❌ Failed to install Helm"; exit 1; }

# Install or update AWS CLI v2
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" > /dev/null 2>&1 || { echo "❌ Failed to download AWS CLI"; exit 1; }
unzip -o awscliv2.zip > /dev/null 2>&1 || { echo "❌ Failed to unzip AWS CLI"; exit 1; }
sudo ./aws/install --update > /dev/null 2>&1 || { echo "❌ Failed to install AWS CLI"; exit 1; }
shell: bash

- name: Configure kubectl
run: |
echo "${{ env.kubeconfig_base64 }}" | base64 --decode > ${{ runner.temp }}/kubeconfig.yaml
kubectl config set-cluster my-cluster --server=${{ env.K8S_SERVER }} --insecure-skip-tls-verify=true
kubectl config set-credentials github-actions --token=${{ env.K8S_SA_TOKEN }}
kubectl config set-context my-context --cluster=my-cluster --user=github-actions --namespace=default
kubectl config use-context my-context
echo "${KUBECONFIG_BASE64}" | base64 --decode > ${{ runner.temp }}/kubeconfig.yaml || { echo "❌ Failed to decode kubeconfig"; exit 1; }
kubectl config set-cluster my-cluster --server=${K8S_SERVER} --insecure-skip-tls-verify=true > /dev/null 2>&1 || { echo "❌ Failed to set cluster"; exit 1; }
kubectl config set-credentials github-actions --token=${K8S_SA_TOKEN} > /dev/null 2>&1 || { echo "❌ Failed to set credentials"; exit 1; }
kubectl config set-context my-context --cluster=my-cluster --user=github-actions --namespace=default > /dev/null 2>&1 || { echo "❌ Failed to set context"; exit 1; }
kubectl config use-context my-context > /dev/null 2>&1 || { echo "❌ Failed to use context"; exit 1; }
shell: bash

- name: Download chain‑spec artifacts
Expand Down
10 changes: 5 additions & 5 deletions .github/actions/tests/argocd-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,11 @@ runs:
K8S_SERVER: ${{ env.K8S_SERVER }}
K8S_SA_TOKEN: ${{ env.K8S_SA_TOKEN }}
run: |
echo "${KUBECONFIG_BASE64}" | base64 --decode > ${{ runner.temp }}/kubeconfig.yaml
kubectl config set-cluster my-cluster --server=${K8S_SERVER} --insecure-skip-tls-verify=true
kubectl config set-credentials github-actions --token=${K8S_SA_TOKEN}
kubectl config set-context my-context --cluster=my-cluster --user=github-actions --namespace=default
kubectl config use-context my-context
echo "${KUBECONFIG_BASE64}" | base64 --decode > ${{ runner.temp }}/kubeconfig.yaml || { echo "❌ Failed to decode kubeconfig"; exit 1; }
kubectl config set-cluster my-cluster --server=${K8S_SERVER} --insecure-skip-tls-verify=true > /dev/null 2>&1 || { echo "❌ Failed to set cluster"; exit 1; }
kubectl config set-credentials github-actions --token=${K8S_SA_TOKEN} > /dev/null 2>&1 || { echo "❌ Failed to set credentials"; exit 1; }
kubectl config set-context my-context --cluster=my-cluster --user=github-actions --namespace=default > /dev/null 2>&1 || { echo "❌ Failed to set context"; exit 1; }
kubectl config use-context my-context > /dev/null 2>&1 || { echo "❌ Failed to use context"; exit 1; }
shell: bash

- name: Check Deployment
Expand Down
10 changes: 5 additions & 5 deletions .github/actions/tests/configure-kubectl/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ runs:
- name: Install kubectl and awscli
run: |
# Install kubectl
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl" > /dev/null 2>&1 || { echo "❌ Failed to download kubectl"; exit 1; }
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl

# Install or update AWS CLI v2
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip -o awscliv2.zip
sudo ./aws/install --update
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" > /dev/null 2>&1 || { echo "❌ Failed to download AWS CLI"; exit 1; }
unzip -o awscliv2.zip > /dev/null 2>&1 || { echo "❌ Failed to unzip AWS CLI"; exit 1; }
sudo ./aws/install --update > /dev/null 2>&1 || { echo "❌ Failed to install AWS CLI"; exit 1; }
shell: bash
- name: Configure kubectl
run: |
Expand Down
Loading