►
From YouTube: DevOps Toolchain Code Walkthrough
Description
This is a walkthrough of the code that manages the DevOps Toolchain SVG image.
A
Okay,
we're
here
we're
going
to
talk
about
the
devops
life
cycle,
svg
image
and
the
program
that
edits
it
during
the
build.
Is
that
correct.
B
Yep,
that
sounds
great,
so
I'm
just
gonna
share
my
screen
and
we
will
dive
right
in
so,
first
of
all,
here's
the
png
of
this
image.
We
have
a
number
of
pages
on
the
website
that
we
want
to
dim
or
gray
out
different
sections
and
before
I
think
mark
had
just
like
a
google
slide
or
google
sheets
where
he
was
manually,
dimming
them
out
and
then
like.
B
We
have
different
paths
in
here
for
each
of
the
different
stages
and
I've
identified
those
by
the
ids
of
the
path
so
that
it's
pretty
easy
to
see
so
like
here
manage
it's
saying
the
color
of
orange
to
fill
it
in
with,
and
then
it
just
draws
the
coordinates
like
lines
around
to
draw
the
coordinates
where
they
need
to
go
and
then
down
here
we
have
the
text,
that's
inputted
so
manage
secure
plan
release
package
and
then
these
ones
are
a
little
bit
more
tricky
because
they're
curvy,
so
they
follow
a
text
path.
B
B
So
what
this
lets
us
do,
though,
is
it
lets
us
basically
takes
the
image
and
instead
of
a
whole
bunch
of
binary
data,
that's
hard
to
edit
in
ruby.
It
gives
us
something
that
has
a
good
xml
syntax,
where
we
can
go
ahead
and
edit.
These
colors
directly
and
inject
the
colors
that
we
want.
B
It
has
the
gray
colors,
basically
as
I'm
all
grayed
out
by
default,
and
then
here
it
checks
to
see
if
like
manage.
The
word
manage,
is
included
in
that
list
or
if
the
word
always
included
in
that
list,
then
it
changes
that
color
to
be
orange
instead
of
gray.
So
we
go
through
for
all
of
that,
and
then
we
have
here's
our
svg
text.
B
We
just
inject
the
color
into
the
field,
depending
on
which
ones
have
been
inputted
and
that's
how
the
picture
is
generated
and
then,
after
that,
we
also
have
just
some
automatic
html,
that's
generated
that
pulls
in
the
stage
svg,
so
that
we
can
get
the
icons
for
our
stages
presented
on
the
right
hand,
side
of
that
image
as
well.
B
B
Actually
I
think
I
have
one
open
here:
okay,
so
source
direction,
secure,
I'm
just
calling
devops
diagram
and
I'm
passing
in
secure
into
there.
So
that's
gonna
highlight
just
secure
and
nothing
else.
B
For
example,
if
I
go
to
like
ops,
because
that
one
has
a
few
more
you'll
see,
I'm
passing
in
all
of
the
different
op
stages
to
generate
that
diagram,
and
then
I
think
you
saw
earlier
what
that
actually
looks
like
on
the
website
where
it
just
turns
it
orange
or
not,
and
then
it
also
puts
those
icons
to
the
side.
B
A
B
B
B
B
A
B
But
it's
not
like
we're,
you
know,
all
we're
doing
is
changing
the
one
color.
So
it's
not
it's
not
like
processor
heavy
or
anything.
It's
not
a
computation
heavy
task
to
do
it
yeah.
So
it's
a
pretty
light
light
task,
but
you
could
easily
create
you
know
your
own
version
of
all
of
these
in
svg
format.
Just
by
you
know,
you
could
come
in
here
and
just
edit
this
fill
color
to
be
whatever
color
you
want
it
to
be.
So
if
you
wanted
to
make
a
version
that
was
gray,
you
could
do
that.
B
You
could
also
the
nice
thing
about.
Svg
is,
if
you
want
to
add,
like
I
noticed
some
of
those
had
a
purple
border
and
that's
what
that
stroke
field
does.
So
you
could
add
in
like
a
stroke,
color
and
you
know,
that'll,
give
it
a
border
around
the
side.
A
B
Well,
yeah
you're
welcome
to
take
it
leave
it.
You
know,
if
you
throw
it
all
away,
it's
totally
fine
with
me.
You
know
whatever
you
want
to
do
here,
we're
fine.
B
We
just
you
know
we're
ready
to
not
maintain
it
because
yeah
reading,
all
of
those
versions
was
rather
painful
for
us,
which
is
why
we
bothered
to
automate
it
in
the
first
place
because
yeah
it
was
just
kind
of
time
consuming
for
us
to
like
go
into
google
sheets
or
google
slides
and,
like
you
know,
we
had
to
add
a
gray
picture,
and
then
we
had
a
color
picture
and
we
were
like
cropping
them
out
just
so
so
that
you
know
the
one
was
on
top
of
the
other
one
and
anyway
it
wasn't
working
very
well
before.
A
Yeah,
I
think,
having
it
pragmatically
created,
is
really
smart,
so.