Skip to content

Commit

Permalink
move gcloud and oci tests to "offline tests"
Browse files Browse the repository at this point in the history
  • Loading branch information
alexflint committed Nov 18, 2024
1 parent aea5b27 commit d95d39b
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,9 @@ test-with-dig-1111: clean
test-with-nslookup: clean
go run . -- nslookup google.com

test-with-oci: clean
go run . -- oci ce cluster generate-token --region us-ashburn-1 --cluster-id ocid1.cluster.oc1.iad.aaaaaaaauluvhw2v2emhebn4h724eedou76nhacixlczbj4emc52m44j4asq

test-with-netcat-11223: clean
go run . -- bash -c "netcat example.com 11223 < /dev/null"

test-with-gcloud: clean
go run . -- gcloud compute instances list

test-with-java: clean
javac java-experiment/Example.java
go run . -- java -cp java-experiment Example
Expand All @@ -93,6 +87,14 @@ test-with-self: clean
broken-test-with-nonroot-user: clean
go run . --user $(USER) -- bash -norc

# these tests require things that I do not want to install into github actions

local-test-with-oci: clean
go run . -- oci ce cluster generate-token --region us-ashburn-1 --cluster-id ocid1.cluster.oc1.iad.aaaaaaaauluvhw2v2emhebn4h724eedou76nhacixlczbj4emc52m44j4asq

local-test-with-gcloud: clean
go run . -- gcloud compute instances list

# docker-based tests

docker-test: clean
Expand Down

0 comments on commit d95d39b

Please sign in to comment.