Skip to content
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

Switching e2e tests to run on main #272

Merged
merged 6 commits into from
Jun 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion e2e/defaults.env
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
export HOME=${HOME:-/home/ubuntu/}
export TESTDIR=${TESTDIR:-$E2EDIR/tests/${E2ETYPE:-free5gc}}
export LIBDIR=${LIBDIR:-$E2EDIR/lib}
export REVISION=${REVISION:-v2.0.0}
export REVISION=${REVISION:-main}
2 changes: 1 addition & 1 deletion e2e/provision/playbooks/cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
become_user: root
ansible.builtin.unarchive:
remote_src: true
src: https://github.com/nephio-project/porch/releases/download/v2.0.0/porchctl_2.0.0_linux_amd64.tar.gz
src: https://github.com/nephio-project/porch/releases/download/main/porchctl.tgz
dest: /usr/local/bin/
creates: /usr/local/bin/porchctl
roles:
Expand Down
2 changes: 1 addition & 1 deletion e2e/provision/playbooks/roles/bootstrap/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ kind:
enabled: true

nephio_catalog_repo_uri: https://github.com/nephio-project/catalog.git
nephio_catalog_revision: v2.0.0
nephio_catalog_revision: main

gitea:
enabled: true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

- name: Ensure gtp5g kernel constraints
ansible.builtin.assert:
that: 'ansible_facts.kernel == "5.0.0-23-generic" or {{ ansible_facts.kernel | replace("-generic", "") is version("5.4", ">=") }}'
that: 'ansible_facts.kernel == "5.0.0-23-generic" or ansible_facts.kernel | replace("-generic", "") is version("5.4", ">=") '
fail_msg: "{{ ansible_facts.kernel }} version not supported by gtp5g module"

- name: Install compilation packages and kernel development tools on {{ ansible_os_family }}
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/free5gc/002-edge-clusters.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
upstream:
repo: catalog-infra-capi
package: nephio-workload-cluster
revision: v2.0.0
revision: main
targets:
- repositories:
- name: mgmt
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/free5gc/002-network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
upstream:
repo: catalog-distros-sandbox
package: network
revision: v2.0.0
revision: main
downstream:
repo: mgmt
package: network
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/free5gc/004-free5gc-operator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spec:
upstream:
repo: catalog-workloads-free5gc
package: free5gc-operator
revision: v2.0.0
revision: main
targets:
- objectSelector:
apiVersion: infra.nephio.org/v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/free5gc/005-edge-free5gc-upf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spec:
upstream:
repo: catalog-workloads-free5gc
package: pkg-example-upf-bp
revision: v2.0.0
revision: main
targets:
- objectSelector:
apiVersion: infra.nephio.org/v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/free5gc/006-regional-free5gc-amf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spec:
upstream:
repo: catalog-workloads-free5gc
package: pkg-example-amf-bp
revision: v2.0.0
revision: main
targets:
- objectSelector:
apiVersion: infra.nephio.org/v1alpha1
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/free5gc/006-regional-free5gc-smf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ spec:
upstream:
repo: catalog-workloads-free5gc
package: pkg-example-smf-bp
revision: v2.0.0
revision: main
targets:
- objectSelector:
apiVersion: infra.nephio.org/v1alpha1
Expand Down
6 changes: 3 additions & 3 deletions e2e/tests/oai/001-infra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
upstream:
repo: catalog-infra-capi
package: nephio-workload-cluster
revision: v2.0.0
revision: main
downstream:
repo: mgmt
package: core
Expand All @@ -37,7 +37,7 @@ spec:
upstream:
repo: catalog-infra-capi
package: nephio-workload-cluster
revision: v2.0.0
revision: main
targets:
- repositories:
- name: mgmt
Expand All @@ -61,7 +61,7 @@ spec:
upstream:
repo: catalog-infra-capi
package: nephio-workload-cluster
revision: v2.0.0
revision: main
targets:
- repositories:
- name: mgmt
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/oai/001-network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
upstream:
repo: catalog-distros-sandbox
package: network
revision: v2.0.0
revision: main
downstream:
repo: mgmt
package: network
Expand Down
4 changes: 2 additions & 2 deletions e2e/tests/oai/002-operators.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ spec:
upstream:
repo: catalog-workloads-oai-ran
package: oai-ran-operator
revision: v2.0.0
revision: main
downstream:
repo: edge
package: oai-ran-operator
Expand All @@ -69,7 +69,7 @@ spec:
upstream:
repo: catalog-workloads-oai-ran
package: oai-ran-operator
revision: v2.0.0
revision: main
downstream:
repo: regional
package: oai-ran-operator
Expand Down
6 changes: 3 additions & 3 deletions e2e/tests/oai/004-ran-network.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
upstream:
repo: catalog-workloads-oai-ran
package: pkg-example-cucp-bp
revision: v2.0.0
revision: main
downstream:
repo: regional
package: oai-ran-cucp
Expand All @@ -33,7 +33,7 @@ spec:
upstream:
repo: catalog-workloads-oai-ran
package: pkg-example-du-bp
revision: v2.0.0
revision: main
downstream:
repo: edge
package: oai-ran-du
Expand All @@ -50,7 +50,7 @@ spec:
upstream:
repo: catalog-workloads-oai-ran
package: pkg-example-cuup-bp
revision: v2.0.0
revision: main
downstream:
repo: edge
package: oai-ran-cuup
Expand Down
2 changes: 1 addition & 1 deletion e2e/tests/oai/005-ue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
upstream:
repo: catalog-workloads-oai-ran
package: pkg-example-ue-bp
revision: v2.0.0
revision: main
downstream:
repo: edge
package: oai-ran-ue
Expand Down