chore: Remove ResourceName #199
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: E2E test - create command | |
on: | |
push: | |
branches: | |
- main | |
- 'release-**' | |
pull_request: | |
branches: | |
- main | |
- 'release-**' | |
jobs: | |
test-create-cmd: | |
runs-on: ubuntu-latest | |
env: | |
K3D_VERSION: v5.4.7 | |
MODULE_TEMPLATE_VERSION: 1.0.0 | |
OCI_REPOSITORY_URL: http://k3d-oci.localhost:5001 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Go setup | |
uses: actions/setup-go@v5 | |
with: | |
go-version-file: 'go.mod' | |
cache-dependency-path: 'go.sum' | |
- name: Build | |
run: | | |
make build-linux | |
chmod +x ./bin/modulectl-linux | |
ls -la ./bin | |
mv ./bin/modulectl-linux /usr/local/bin/modulectl | |
timeout-minutes: 5 | |
- name: Install k3d and create registry | |
run: | | |
wget -qO - https://raw.githubusercontent.com/k3d-io/k3d/main/install.sh | TAG=$K3D_VERSION bash | |
k3d registry create oci.localhost --port 5001 | |
- name: Run tests | |
run: | | |
make -C tests/e2e test-create-cmd | |
timeout-minutes: 3 |