mesosphere / spark-build

Used to build the mesosphere/spark docker image and the DC/OS Spark package
52 stars 34 forks source link

Set up default go arch to amd64 #565

Closed alexeygorobets closed 4 years ago

alexeygorobets commented 4 years ago

What changes were proposed in this pull request?

Build x86-64 compatible CLI

How were these changes tested?

$ ./cli/dcos-spark/build.sh \
&& file cli/dcos-spark/dcos-spark-darwin cli/dcos-spark/dcos-spark-linux

Building dcos-spark for [linux darwin windows] in cli/dcos-spark/
=== RUN   TestUnauthorizedResponseCustomCheck
--- PASS: TestUnauthorizedResponseCustomCheck (0.00s)
=== RUN   TestCliTestSuite
=== RUN   TestCliTestSuite/TestIsSparkApp
=== RUN   TestCliTestSuite/TestPackagesFlag
Using image 'mesosphere/spark' for the driver and the executors (from flag: --docker-image).
To disable this image on executors, set spark.mesos.executor.docker.forcePullImage=false
=== RUN   TestCliTestSuite/TestPayloadCustomImageNoExecutor
Using image 'other' for the driver (from Spark config: spark.mesos.executor.docker.image)
=== RUN   TestCliTestSuite/TestPayloadSimple
Using image 'mesosphere/spark' for the driver and the executors (from flag: --docker-image).
To disable this image on executors, set spark.mesos.executor.docker.forcePullImage=false
=== RUN   TestCliTestSuite/TestPayloadWithSecret
Using image 'mesosphere/spark' for the driver and the executors (from flag: --docker-image).
To disable this image on executors, set spark.mesos.executor.docker.forcePullImage=false
Using Kerberos principal 'client@local'
No KDC krb5.conf parameters were found in the dispatcher Marathon configuration
Using image 'mesosphere/spark' for the driver and the executors (from flag: --docker-image).
To disable this image on executors, set spark.mesos.executor.docker.forcePullImage=false
Using Kerberos principal 'client@local'
No KDC krb5.conf parameters were found in the dispatcher Marathon configuration
=== RUN   TestCliTestSuite/TestProcessJarsFlag
=== RUN   TestCliTestSuite/TestProcessMultiJarsFlag
=== RUN   TestCliTestSuite/TestProcessBuilding dcos-spark for [linux darwin windows] in cli/dcos-spark/
=== RUN   TestUnauthorizedResponseCustomCheck
--- PASS: TestUnauthorizedResponseCustomCheck (0.00s)
=== RUN   TestCliTestSuite
=== RUN   TestCliTestSuite/TestIsSparkApp
=== RUN   TestCliTestSuite/TestPackagesFlag
Using image 'mesosphere/spark' for the driver and the executors (from flag: --docker-image).
To disable this image on executors, set spark.mesos.executor.docker.forcePullImage=false
=== RUN   TestCliTestSuite/TestPayloadCustomImageNoExecutor
Using image 'other' for the driver (from Spark config: spark.mesos.executor.docker.image)
=== RUN   TestCliTestSuite/TestPayloadSimple
Using image 'mesosphere/spark' for the driver and the executors (from flag: --docker-image).
To disable this image on executors, set spark.mesos.executor.docker.forcePullImage=false
=== RUN   TestCliTestSuite/TestPayloadWithSecret
Using image 'mesosphere/spark' for the driver and the executors (from flag: --docker-image).
To disable this image on executors, set spark.mesos.executor.docker.forcePullImage=false
Using Kerberos principal 'client@local'
No KDC krb5.conf parameters were found in the dispatcher Marathon configuration
Using image 'mesosphere/spark' for the driver and the executors (from flag: --docker-image).
To disable this image on executors, set spark.mesos.executor.docker.forcePullImage=false
Using Kerberos principal 'client@local'
No KDC krb5.conf parameters were found in the dispatcher Marathon configuration
=== RUN   TestCliTestSuite/TestProcessJarsFlag
=== RUN   TestCliTestSuite/TestProcessMultiJarsFlag
=== RUN   TestCliTestSuite/TestProcessMultiJarsFlagWithSpace
=== RUN   TestCliTestSuite/TestProcessMultiPackagesFlag
=== RUN   TestCliTestSuite/TestProcessMultiPackagesFlagWithSpace
=== RUN   TestCliTestSuite/TestProcessPackagesFlag
=== RUN   TestCliTestSuite/TestSaslSecret
Using image 'mesosphere/spark' for the driver and the executors (from flag: --docker-image).
To disable this image on executors, set spark.mesos.executor.docker.forcePullImage=false
=== RUN   TestCliTestSuite/TestScoptAppArgs
=== RUN   TestCliTestSuite/TestTransformSubmitArgs
=== RUN   TestCliTestSuite/TestTransformSubmitArgsConfsAlreadyHasEquals
=== RUN   TestCliTestSuite/TestTransformSubmitArgsMultilines
=== RUN   TestCliTestSuite/TestTransformSubmitArgsWithMulitpleValues
=== RUN   TestCliTestSuite/TestTransformSubmitArgsWithSpecialCharacters
--- PASS: TestCliTestSuite (0.00s)
    --- PASS: TestCliTestSuite/TestIsSparkApp (0.00s)
    --- PASS: TestCliTestSuite/TestPackagesFlag (0.00s)
    --- PASS: TestCliTestSuite/TestPayloadCustomImageNoExecutor (0.00s)
    --- PASS: TestCliTestSuite/TestPayloadSimple (0.00s)
    --- PASS: TestCliTestSuite/TestPayloadWithSecret (0.00s)
    --- PASS: TestCliTestSuite/TestProcessJarsFlag (0.00s)
    --- PASS: TestCliTestSuite/TestProcessMultiJarsFlag (0.00s)
    --- PASS: TestCliTestSuite/TestProcessMultiJarsFlagWithSpace (0.00s)
    --- PASS: TestCliTestSuite/TestProcessMultiPackagesFlag (0.00s)
    --- PASS: TestCliTestSuite/TestProcessMultiPackagesFlagWithSpace (0.00s)
    --- PASS: TestCliTestSuite/TestProcessPackagesFlag (0.00s)
    --- PASS: TestCliTestSuite/TestSaslSecret (0.00s)
    --- PASS: TestCliTestSuite/TestScoptAppArgs (0.00s)
    --- PASS: TestCliTestSuite/TestTransformSubmitArgs (0.00s)
    --- PASS: TestCliTestSuite/TestTransformSubmitArgsConfsAlreadyHasEquals (0.00s)
    --- PASS: TestCliTestSuite/TestTransformSubmitArgsMultilines (0.00s)
    --- PASS: TestCliTestSuite/TestTransformSubmitArgsWithMulitpleValues (0.00s)
    --- PASS: TestCliTestSuite/TestTransformSubmitArgsWithSpecialCharacters (0.00s)
PASS
ok      github.com/mesosphere/spark-build/cli/dcos-spark    0.018s
Skipping UPX compression of dcos-spark-linux
Skipping UPX compression of dcos-spark-darwin
Skipping UPX compression of dcos-spark.exe
cli/dcos-spark/dcos-spark-darwin: Mach-O 64-bit executable x86_64
cli/dcos-spark/dcos-spark-linux:  ELF 64-bit LSB executable, x86-64, version 1 (SYSV), statically linked, stripped

Release Notes

Resolve https://github.com/mesosphere/spark-build/issues/562