►
From YouTube: Gitlab Runner on OCI ARM64
Description
"Gitlab Runner on Oracle Cloud Infrastructure (OCI) ARM64" by Abubakar Siddiq Ango, Developer Evangelism Program Manager at GitLab. Read more about the collaboration and how to setup GitLab Runner on OCI ARM64 instances at https://about.gitlab.com/blog/2021/05/25/gitlab-oracle-cloud-arm-based
A
Now
our
cool
cloud
infrastructure
recently
launched
rm64
instances
to
avail
developers
and
organizations
the
necessary
platform
to
build
applications
targeting
these
devices,
and
we
know
you
can
already
build
arm64
applications,
but
you
have
to
use
emulator
which
can
be
less
energy
energy
efficient
or
can
consume
more
resources
than
necessary.
But
when
you
are
using
native
infrastructure
like
the
one
provided
by
the
oracle
cloud
infrastructure,
you
are
able
to
build
faster,
more
energy
efficiently
and
your
organization
can
get
more
return
on
investments
than
expanding
more
resources.
A
A
Now,
if
you
want
to
install
your
runner,
you
can
also
do
that
within
the
oci
console.
But
if
you
want
to
install
it
on
a
an
arm64
vm
instance
or
on
oci,
you
can
create
your
instance
within
the
console
and
I'll
be
showing
you
in
the
rest
of
this
video,
how
you
can
set
up
your
gitlab
runner
now,
if
you
will
be
using
our
cool
linux,
server
version,
8,
there's
a
caveat
because
gitlab
uses
the
package
cloud
platform
to
host
our
binaries,
so
unpackage
cloud
doesn't
create
his
support
or
our
linux
version
8..
A
A
Okay
from
here
we'll
be
installing
the
gitlab
runner.
So
if
I
say
yum
install
minus
y
gitlab
runner,
since
we
were
since
we've
already
configured
the
the
package,
the
package
repository.
A
Let
me
still
do
this.
My
system
is
a
bit
slow,
I'm
on
the
hot
weather,
so
this
will
download
the
necessary
packages
for
me
for
arn64
and
install
the
gitlab
runner.
A
Now
remember
we
had
to
manually
configure
our
package
repository
since
package
cloud
doesn't
currently
support
oracle
linux
8.,
so
we
had
to
specify
the
os
as
el
and
specify
the
version
as
it
now.
If
I
then,
let
me
try
to
see
gitlab
dash
rona.
A
A
I
have
a
project,
a
sample
project
that
I'm
working
with,
and
I
will
be
setting
up
the
runner
directly
specifically
for
this
project.
So
from
within
gitlab,
I
will
be
I'll.
Go
to
settings.
Ci
cd
go
to
runner.
A
Currently,
the
project
is
currently
using
the
runner
provided
by
the
gitlab.com
service
so,
but
instead
I'll
be
registering
a
runner
for
myself
for
specifically
for
this
project
and
the
rona
the
digital
I
just
installed
on
the
arm64
instance
is
what
I'll
be
using
gitlab
dash
rona
register.
A
A
A
And
it's
asking
me
for
the
default
document
since
I'll
be
my
sample
project
is
building
docker
images
for
arm64,
so
I'll
basically
say
the
default
image
you
should
use
is
docker
latest
then,
once
I
presented
it
has
been
successfully
registered.
So
if
I
go
back
to
my
project,
let's
quickly
look
at
what
my
project
looks
like
or
it's.
So
it's
basically
a
c
code.
I
took
it
from
the
internet.
I
didn't
write
the
code
myself.
I
think
I
got
it
from
the
docker
blog
and
basically,
what
it
does
is
to
echo
hello.
A
A
Which
basically
builds
the
project
and
runs
the
script
now
and
we
have
the
gitlab
ciemo
file.
That
is
where
the
main
activities
happen.
I'm
using
docker
build
x
to
build
packages.
You
can
use
docker
build
as
to
build
docker
images
for
different
architectures,
for
example.
Here
what
I
did
here
is
to
use
the
sample
docker
cimo
file,
gitlab.cml
file,
that
that
is
provided
by
gitlab
the
default
template.
Then
I
modified
it
first.
A
I
changed
the
official
docker
image
to
use
here,
I'm
using
this,
because
it
contains
the
main
docker,
stable
image
and
also
the
buildex
plugin.
Then
here
I
make
sure
to
specify
that
okay,
I
want
the
card
indeed
to
happen,
and
I
want
to
log
into
the
gitlab
container
registry
so
so
that
I
can
push
my
image
once
I'm
done
then
from
here.
We
also
have
the
some
specifications
around
the
branch
and
some
other
details
to
specify
what
we
are
doing.
A
Then
here
we
have
the
docker
builders
command
that
will
build
our
image
and
push
it
and
also
inspect
our
image
to
see
okay.
What
was
built
and
docker
run
to
actually
execute
the
the
the
docker
container
unless
to
see
what
will
happen
here
for
the
docker
build
x,
build
you
can
specify.
If
you
are
using
an
x86
architecture,
you
can
and
you've
configured
your
docker
properly.
You
can
specify
some
specific
platforms
that
you
need
to
generate
so
docker.
A
We
don't
need
that,
so
we
can
directly
build
from
here
because
we
are
doing
docker
in
docker
I'll,
go
back
to
my
instance
to
check
my
gitlab
runner
configuration
so
let's
do
v,
slash,
etc,
slash
gitlab,
gitlab,
runner,
config,
dots,
tomo.
Now
what
we
were
doing
here
is
tokyo
using
docker
latest,
and
the
next
thing
I
want
to
do
is
to
specify
that
this
should
should
use
privileged
docker.
A
A
A
My
runner
has
been
has
appeared
here
and
rona
has
appeared
here,
yeah
as
you
can
see,
it
has
appeared,
and
I
will
disable
it
from
using
shared
runners.
A
A
Let's
go
back
to
my
project
and
now
let
me
show
you
an
example
run
that
I
did
earlier,
which
was
using
the
git
lab
shared
runners.
You
see
it
built
my
images
and
also
displays
the
architecture
of
the
image
that
was
built.
So
let's
come
here.
A
So
now
let
me
run
the
pipeline
of
this
project
and
we'll
see
what
happens
with
our
new
runner
running
on
iron
64,
aarch,
64..
Sorry,
my
system
is
a
bit
slow
due
to
network
and
yeah.
The
weather
is
a
bit
hot,
so
mark
mac
runs
slow.
Sometimes
when
the
weather
is
hot,
also
I'll
be
running
from
the
main
branch
so
directly
run
pipeline.
A
I
don't
have
any
specific
variables
to
use,
so
let's
go
to
the
job
log
and
just
see
it
go
through
so
now,
since
the
architecture
has
been
specified,
docker
should
be
able
to
build
package
targeting
here
in
64.,
hi
yeah.
This
is
the
final
end
result
of
the
build
process.
A
As
you
can
see
here,
my
image
is
saying:
my
architecture
is
linux
this
and
it
a
el
8,
which
is
the
oracle
linux
version
8
and
a
rc
h64,
which
is
arm64
see
the
difference
is
the
one
I
showed
earlier
when
I
was
using
the
gitlab
shared
rona
is
x86
64.
While
here
it's
a
rch64,
I
made
a
number
of
changes
while
during
the
build
process
the
the
process
failed.
So
I
made
a
couple
of
changes
to
my
runner,
which
is
basically
configuring.
A
My
git
slab
runner
to
run
in
privilege
mode
and
some
other
docker
configuration
to
make
sure
my
my
images
are
built
properly
and
I
also
changed
the
base
image.
I
was
using
to
one
thou
supported
arm64.
I
forgot
that
the
one
I
was
using
before
was
amd64,
and
I
also
made
some
changes
just
basically
docker
things.
Thank
you
very
much
for
joining
me
and
I
hope
you
test.
A
You
will
deploy
gitlab
runner
on
the
oci
platform
very
soon,
and
if
you
have
any
questions,
you
can
always
comment,
and
you
can
always
add
your
comment
in
the
to
this
blog
or
contact
us
reach
out
to
gitlab
in
the
forum
or
in
your
debut
or
you
can.
If
you're
a
customer
enterprise
customer,
you
can
send
an
email
to
gitlab
support
at
gitlab.com
or
use
the
support
platform.