Skip to content

Stac 0 produce images #405

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

Open
wants to merge 85 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
687d9cf
WIP publish images
zandrewitte Dec 7, 2021
1f962b3
push deb base and main runner
zandrewitte Dec 9, 2021
82cd662
gitlab ci runners wip
zandrewitte Dec 9, 2021
6bc0ba6
gitlab ci runners wip
zandrewitte Dec 9, 2021
f41ffee
build runners using docker
zandrewitte Dec 9, 2021
7aa81c3
build runners using docker
zandrewitte Dec 9, 2021
493c2a4
cleanup / fixes
zandrewitte Dec 9, 2021
d6be4cc
use shell for date
zandrewitte Dec 9, 2021
798c37f
Fix version discovery
zandrewitte Dec 9, 2021
2a9e14c
add docker service
zandrewitte Dec 9, 2021
7a8d39e
update base deb image building
zandrewitte Dec 9, 2021
1b808e5
login to docker registry
zandrewitte Dec 10, 2021
5c04d96
push to docker and quay
zandrewitte Dec 10, 2021
a234f23
disable quay for now
zandrewitte Dec 10, 2021
2842636
lint fixes
zandrewitte Dec 10, 2021
1b26965
fix cd in runner main
zandrewitte Dec 10, 2021
248e95e
gitlab ci cleanup / refactor, try publishing deb-rpm publisher
zandrewitte Dec 10, 2021
fb0726a
produce centos7 container
zandrewitte Dec 10, 2021
343294b
fix yaml inherit
zandrewitte Dec 10, 2021
b71019b
produce centos6 runner base
zandrewitte Dec 10, 2021
8465a99
make docker variables global
zandrewitte Dec 10, 2021
2a08018
fix runner image version variables
zandrewitte Dec 10, 2021
689f365
skip centos6, generalize main runner base
zandrewitte Dec 10, 2021
06cf523
produce centos7 image
zandrewitte Dec 10, 2021
b5a5168
point to newly release images, make the publish image manual trigger …
zandrewitte Dec 10, 2021
54aa7c6
Merge branch 'master' into stac-0-produce-images
julianosk Dec 15, 2021
7ac47d5
Use sts version of rpm-s3
julianosk Dec 15, 2021
fa627f0
Add manual job to publish image
julianosk Dec 15, 2021
bab0336
Use docker image
julianosk Dec 15, 2021
02d61b5
Install make before build and push
julianosk Dec 15, 2021
b19ae8b
Allow to publish runner
julianosk Dec 15, 2021
b09080b
Enable [build_runners]
julianosk Dec 15, 2021
c02acc1
Update rpmpublisher image
julianosk Dec 15, 2021
601d490
Update to rpm image to deb-rpmpublisher_20211216
julianosk Dec 16, 2021
ae02aae
Set sts-rpm-s3 to 0.3.3 [build_runners]
julianosk Dec 16, 2021
8564d72
Fix molecule kubernetes test
julianosk Dec 17, 2021
38e3706
Merge branch 'master' into stac-0-produce-images
julianosk Jan 4, 2022
a4f1642
test commit
zandrewitte Jan 5, 2022
038e793
remove test commit
zandrewitte Jan 5, 2022
4bbb6e4
build runner for deb_rpm publisher using Py2 instead of Py3 [build_ru…
zandrewitte Jan 7, 2022
fe01a56
switch runner
zandrewitte Jan 7, 2022
d01b2d0
build publisher base, use publisher base when building deb-rpm publisher
zandrewitte Jan 19, 2022
8bf537d
Merge branch 'master' into stac-0-produce-images
zandrewitte Jan 19, 2022
b6f5a96
[build_runners] documentation
zandrewitte Jan 19, 2022
6521ee5
get rid of entrypoint in deb-rpm publisher image
zandrewitte Jan 19, 2022
8b6492a
fix runner publisher base dir [build_runners]
zandrewitte Jan 19, 2022
55e97ed
try using deb7_latest for deb-rpm publisher
zandrewitte Jan 19, 2022
38b25b8
test new commit
zandrewitte Jan 19, 2022
6beb78d
revert test commit and [build_runners]
zandrewitte Jan 20, 2022
46f1dac
add entrypoint to deactivate conda [build_runners]
zandrewitte Jan 20, 2022
c12d573
copy entrypoint script [build_runners]
zandrewitte Jan 20, 2022
03118a0
Merge branch 'master' into stac-0-produce-images
julianosk May 3, 2022
00fb4cc
STAC-15134 trigger agent runners build [build_runners]
julianosk May 3, 2022
0e691f8
STAC-15134 trigger build_agent_runners
julianosk May 3, 2022
0664eab
STAC-15134 Attempt to fix build_agent_runners
julianosk May 3, 2022
88162c9
STAC-15134 Add stage to build-deb-base
julianosk May 3, 2022
ea818c6
STAC-15134 Run build_runner_base
julianosk May 3, 2022
db926d2
STAC-15134 Add rules to docker_build_base
julianosk May 3, 2022
dbb43d9
STAC-15134 Fix builders folder path
julianosk May 3, 2022
cadc690
STAC-15134 Fix builders folder path [2]
julianosk May 3, 2022
3252b92
STAC-15134 Fix rvm gpg keys
julianosk May 4, 2022
f479c33
STAC-15134 Fix rvm gpg keys [2]
julianosk May 4, 2022
58a487f
STAC-15134 Change rpmpublisher base image to python
julianosk May 4, 2022
69287ff
STAC-15134 Refactor everything
julianosk May 4, 2022
d247daa
STAC-15134 Fix base runner script
julianosk May 4, 2022
aedfb6b
STAC-15134 Fix BASE_RUNNER_TAG [build_runners]
julianosk May 4, 2022
77fa654
STAC-15134 Fix build_runner [build_runners]
julianosk May 4, 2022
9389351
STAC-15134 Debug error
julianosk May 4, 2022
322fd0c
STAC-15134 Debug BASE_RUNNER_TAG
julianosk May 4, 2022
82c0469
STAC-15134 Debug BASE_RUNNER_TAG [2]
julianosk May 4, 2022
b8c81dc
STAC-15134 Debug BASE_RUNNER_TAG [3]
julianosk May 4, 2022
4262836
STAC-15134 Full build
julianosk May 4, 2022
e92d72d
STAC-15134 Fix debian-rpmpublisher-runner
julianosk May 4, 2022
019acf5
STAC-15134 Update images
julianosk May 4, 2022
09c6be0
STAC-15134 Add lexicon to debian and gpg to rpmpublisher
julianosk May 5, 2022
1e727ea
STAC-15134 Update rpmpublisher and debian images [build_runners]
julianosk May 5, 2022
1d11bcf
STAC-15134 Add lexicon to centos7 [build_runners]
julianosk May 5, 2022
16e8fce
STAC-15134 Fix sign_rpm_package.sh [build_runners]
julianosk May 5, 2022
87cca7f
STAC-15134 Use constant for rpmpublisher
julianosk May 5, 2022
30394f0
STAC-15134 update centos7 image and push to quay.io
julianosk May 5, 2022
73c8cec
STAC-15134 Add lexicon to centos7 [build_runners]
julianosk May 5, 2022
020010d
STAC-15134 Attempt to use centos7 image to release_rpm [build_runners]
julianosk May 5, 2022
6f817c2
STAC-15134 Fix quay.io push and use previous release_rpm image [build…
julianosk May 5, 2022
74b8d37
STAC-15134 Version pin pip deps
julianosk May 6, 2022
01ae655
STAC-16520 Downgrade boto3 to be compatible with awscli 1.16
julianosk May 6, 2022
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
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG GIMME_GO_VERSION=1.13.11
ARG DD_CONDA_VERSION=4.7.10
ARG DD_PIP_VERSION=19.1
ARG DD_SETUPTOOLS_VERSION=41.0.1
ARG IBM_MQ_VERSION=9.1.5.0
ARG IBM_MQ_VERSION=9.2.4.0
ARG CMAKE_VERSION=3.14.4
ARG CLANG_VERSION=8.0.0

Expand Down Expand Up @@ -90,13 +90,13 @@ RUN conda init bash
RUN source /root/.bashrc && conda activate ddpy2 \
&& pip install -i https://pypi.python.org/simple pip==${DD_PIP_VERSION} \
&& pip install --ignore-installed setuptools==${DD_SETUPTOOLS_VERSION} \
&& pip install invoke distro==1.4.0 awscli==1.16.240
&& pip install invoke==1.7.0 distro==1.4.0 awscli==1.16.240 lexicon==2.0.1

# Update pip, setuptools and misc deps
RUN source /root/.bashrc && conda activate ddpy3 \
&& pip install -i https://pypi.python.org/simple pip==${DD_PIP_VERSION} \
&& pip install --ignore-installed setuptools==${DD_SETUPTOOLS_VERSION} \
&& pip install invoke distro==1.4.0 awscli==1.16.240
&& pip install invoke==1.7.0 distro==1.4.0 awscli==1.16.240 lexicon==2.0.1

# Add systemd headers
COPY ./rpm-headers/systemd /usr/include/systemd
Expand Down
18 changes: 18 additions & 0 deletions .ci-builders/centos6-base/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
RUNTIMETAG := $(shell date +%Y%m%d)
DOCKER_REPOSITORY ?= docker.io

version:
echo $(RUNTIMETAG) | tail -1 > version.txt


build:
docker build -t $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:centos6_$(RUNTIMETAG) .
push:
docker push $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:centos6_$(RUNTIMETAG)

tag_latest:
docker tag $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:centos6_$(RUNTIMETAG) $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:centos6_latest

push_latest:
docker push $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:centos6_latest

Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@ ARG GIMME_GO_VERSION=1.13.11
ARG DD_CONDA_VERSION=4.7.10
ARG DD_PIP_VERSION=19.1
ARG DD_SETUPTOOLS_VERSION=41.0.1
# 9.1.0.9
ARG IBM_MQ_VERSION=9.2.0.0
ARG IBM_MQ_VERSION=9.2.4.0
ARG CMAKE_VERSION=3.14.4
ARG CLANG_VERSION=8.0.0

Expand Down Expand Up @@ -53,9 +52,9 @@ RUN cd tmp/ && curl -OL https://www.kernel.org/pub/software/scm/git/git-2.10.1.t
RUN git config --global user.email "gitlab@stackstate" && git config --global user.name "Gitlab Stackstate"

# RVM
COPY ./rvm/gpg-keys /gpg-keys
RUN gpg --import /gpg-keys/*
RUN rm -rf /gpg-keys
#RUN gpg --keyserver hkp://pgp.mit.edu --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
RUN curl -sSL https://rvm.io/mpapis.asc | gpg --import -
RUN curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -
RUN curl -sSL https://get.rvm.io | bash -s stable --version latest-1.29
RUN /bin/bash -l -c "rvm requirements"
RUN /bin/bash -l -c "rvm install 2.4.2 && rvm cleanup all"
Expand Down Expand Up @@ -105,13 +104,13 @@ RUN conda init bash
RUN source /root/.bashrc && conda activate ddpy2 \
&& pip install -i https://pypi.python.org/simple pip==${DD_PIP_VERSION} \
&& pip install --ignore-installed setuptools==${DD_SETUPTOOLS_VERSION} \
&& pip install invoke distro==1.4.0 awscli==1.16.240
&& pip install invoke==1.7.0 distro==1.4.0 awscli==1.16.240 lexicon==2.0.1

# Update pip, setuptools and misc deps
RUN source /root/.bashrc && conda activate ddpy3 \
&& pip install -i https://pypi.python.org/simple pip==${DD_PIP_VERSION} \
&& pip install --ignore-installed setuptools==${DD_SETUPTOOLS_VERSION} \
&& pip install invoke distro==1.4.0 awscli==1.16.240
&& pip install invoke==1.7.0 distro==1.4.0 awscli==1.16.240 lexicon==2.0.1

# Add systemd headers
COPY ./rpm-headers/systemd /usr/include/systemd
Expand Down Expand Up @@ -158,7 +157,7 @@ RUN mkdir -p /go/src/github.com/DataDog/datadog-agent
# Force umask to 0022
RUN echo "umask 0022" >> /root/.bashrc

RUN pip install awscli boto3 sa-rpm-s3
RUN pip install awscli==1.16 boto3==1.8.0 sts-rpm-s3==0.3.3

RUN yum -y install net-snmp-devel python-deltarpm yum-utils libtool rpm-sign createrepo

Expand Down
18 changes: 18 additions & 0 deletions .ci-builders/centos7-base/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
RUNTIMETAG := $(shell date +%Y%m%d)
DOCKER_REPOSITORY ?= docker.io

version:
echo $(RUNTIMETAG) | tail -1 > version.txt

build:
docker build -t $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:centos7_$(RUNTIMETAG) .

push:
docker push $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:centos7_$(RUNTIMETAG)

tag_latest:
docker tag $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:centos7_$(RUNTIMETAG) $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:centos7_latest

push_latest:
docker push $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:centos7_latest

Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM docker.io/stackstate/stackstate-agent-runner-circle:centos7_latest_v7
ARG BASE_IMAGE=centos7_latest
FROM docker.io/stackstate/stackstate-agent-runner-gitlab:${BASE_IMAGE}

# force update root certificates, in particular might return DST Root CA X3
RUN yum -y update ca-certificates && yum -y reinstall ca-certificates
Expand Down
12 changes: 12 additions & 0 deletions .ci-builders/centos7/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
RUNTIMETAG := $(shell date +%Y%m%d)
DOCKER_REPOSITORY ?= docker.io
BASE_IMAGE ?= centos7_latest

version:
echo $(RUNTIMETAG) | tail -1 > version.txt

build:
docker build --build-arg BASE_IMAGE=$(BASE_IMAGE) -t $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:centos7_$(RUNTIMETAG) .

push:
docker push $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:centos7_$(RUNTIMETAG)
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ARG GIMME_GO_VERSION=1.13.11
ARG DD_CONDA_VERSION=4.7.10
ARG DD_PIP_VERSION=19.1
ARG DD_SETUPTOOLS_VERSION=41.0.1
ARG IBM_MQ_VERSION=9.1.5.0
ARG IBM_MQ_VERSION=9.2.4.0
ARG CMAKE_VERSION=3.14.4
ARG CLANG_VERSION=8.0.0

Expand Down Expand Up @@ -74,10 +74,9 @@ COPY ./conda.sh /etc/profile.d/

# RVM
# [VS]
COPY ./rvm/gpg-keys /gpg-keys
RUN gpg --import /gpg-keys/*
RUN rm -rf /gpg-keys
RUN curl -sSL https://get.rvm.io | bash -s stable --version latest-1.29
RUN curl -sSL https://rvm.io/mpapis.asc | gpg --import -
RUN curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -
RUN curl -sSL https://github.com/rvm/rvm/master/binscripts/rvm-installer | bash -s stable --version latest-1.29

# # Ruby,,,
RUN mkdir -p /usr/local/etc \
Expand All @@ -103,17 +102,17 @@ RUN conda init bash
RUN conda create -n ddpy2 python python=2
RUN conda create -n ddpy3 python python=3.8

# Update pip, setuptools and misc deps
# Update pip, setuptools and misc deps for ddpy2
RUN /bin/bash -c "source /root/.bashrc && conda activate ddpy2 \
&& pip install -i https://pypi.python.org/simple pip==${DD_PIP_VERSION} \
&& pip install --ignore-installed setuptools==${DD_SETUPTOOLS_VERSION} \
&& pip install invoke distro==1.4.0 awscli==1.16.240"
&& pip install invoke==1.7.0 distro==1.4.0 awscli==1.16.240 lexicon==2.0.1"

# Update pip, setuptools and misc deps
# Update pip, setuptools and misc deps for ddpy3
RUN /bin/bash -c "source /root/.bashrc && conda activate ddpy3 \
&& pip install -i https://pypi.python.org/simple pip==${DD_PIP_VERSION} \
&& pip install --ignore-installed setuptools==${DD_SETUPTOOLS_VERSION} \
&& pip install invoke distro==1.4.0 awscli==1.16.240"
&& pip install invoke==1.7.0 distro==1.4.0 awscli==1.16.240 lexicon==2.0.1"

# [VS] not needed if we base on GO base image.
# Gimme
Expand Down Expand Up @@ -168,8 +167,6 @@ RUN apt-get install -y apt-utils libtool && apt-get install -y --only-upgrade li
# For some tests
RUN apt-get install sudo

# TODO: to be moved to conda virtualenvs
#RUN pip install awscli boto3 sa-rpm-s3
ADD rpmmacros /root/.rpmmacros
# yum-utils #https://pkgs.org/download/yum-utils
#RUN apt-get install -y libkrb5-dev unixodbc-dev rpm python-deltarpm createrepo bison yum-utils
Expand Down
23 changes: 23 additions & 0 deletions .ci-builders/debian-base/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
RUNTIMETAG := $(shell date +%Y%m%d)
DOCKER_REPOSITORY ?= docker.io

version:
echo $(RUNTIMETAG) | tail -1 > version.txt

build:
docker build -t $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb7_$(RUNTIMETAG) .

tag:
docker tag $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb7_$(RUNTIMETAG) $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb7_$(RUNTIMETAG)

push:
docker push $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb7_$(RUNTIMETAG)

try:
docker run -it $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb7_$(RUNTIMETAG) sh

tag_latest:
docker tag $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb7_$(RUNTIMETAG) $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb7_latest

push_latest:
docker push $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb7_latest
7 changes: 7 additions & 0 deletions .ci-builders/debian-rpmpublisher/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
FROM docker.io/python:3.10.4-slim-buster

RUN pip install boto3==1.8.0 sts-rpm-s3==0.3.3 invoke==1.7.0 distro==1.4.0 awscli==1.16
RUN apt update && apt-get install -y libkrb5-dev unixodbc-dev rpm python-deltarpm createrepo yum-utils gnupg2

ADD rpmmacros /root/.rpmmacros

8 changes: 8 additions & 0 deletions .ci-builders/debian-rpmpublisher/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
RUNTIMETAG := $(shell date +%Y%m%d)
DOCKER_REPOSITORY ?= docker.io
BASE_IMAGE ?= deb7_latest

build:
docker build --build-arg BASE_IMAGE=$(BASE_IMAGE) -t $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb-rpmpublisher_$(RUNTIMETAG) .
push:
docker push $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb-rpmpublisher_$(RUNTIMETAG)
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM docker.io/stackstate/stackstate-agent-runner-circle:deb7_latest
ARG BASE_IMAGE=deb7_latest
FROM docker.io/stackstate/stackstate-agent-runner-gitlab:${BASE_IMAGE}

RUN DEBIAN_FRONTEND=noninteractive apt-get install -y nano libtool-bin libelf-dev gnupg2 locales
RUN echo 'export PATH=$HOME/bin:$PATH' >> /root/.bashrc
Expand All @@ -9,15 +10,14 @@ RUN echo 'gem: --no-document' >> /root/.gemrc

RUN bash -c "source /usr/local/rvm/scripts/rvm && gem install deb-s3"

#RUN pip install awscli boto3 sa-rpm-s3
ADD rpmmacros /root/.rpmmacros
# yum-utils #https://pkgs.org/download/yum-utils
#RUN apt-get install -y libkrb5-dev unixodbc-dev rpm python-deltarpm createrepo bison yum-utils

RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
locale-gen
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

SHELL ["/bin/bash", "-c"]
13 changes: 13 additions & 0 deletions .ci-builders/debian/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
RUNTIMETAG := $(shell date +%Y%m%d)
DOCKER_REPOSITORY ?= docker.io
BASE_IMAGE ?= deb7_latest

version:
echo $(RUNTIMETAG) | tail -1 > version.txt

build:
docker build --build-arg BASE_IMAGE=$(BASE_IMAGE) -t $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb7_$(RUNTIMETAG) .
try:
docker run -it $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb7_$(RUNTIMETAG) bash
push:
docker push $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb7_$(RUNTIMETAG)
2 changes: 1 addition & 1 deletion .ci-builders/runner-circle-deb/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,5 @@ RUN apt-get install -y apt-utils libtool && apt-get install -y --only-upgrade li
# For some tests
RUN apt-get install sudo

RUN pip install awscli boto3 sa-rpm-s3
RUN pip install awscli==1.16 boto3==1.8.0 sts-rpm-s3==0.3.3
RUN apt-get install -y libkrb5-dev unixodbc-dev rpm python-deltarpm createrepo yum-utils bison
9 changes: 5 additions & 4 deletions .ci-builders/runner-circle-deb/Makefile
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
RUNTIMETAG := $(shell date +%Y%m%d)
DOCKER_REPOSITORY ?= docker.io

build:
docker build -t docker.io/stackstate/stackstate-agent-runner-circle:deb_$(RUNTIMETAG) .
docker build -t $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb_$(RUNTIMETAG) .
push:
docker push docker.io/stackstate/stackstate-agent-runner-circle:deb_$(RUNTIMETAG)
docker push $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb_$(RUNTIMETAG)

tag_latest:
docker tag docker.io/stackstate/stackstate-agent-runner-circle:deb_$(RUNTIMETAG) docker.io/stackstate/stackstate-agent-runner-circle:deb_latest
docker tag $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb_$(RUNTIMETAG) $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb_latest

push_latest:
docker push docker.io/stackstate/stackstate-agent-runner-circle:deb_latest
docker push $(DOCKER_REPOSITORY)/stackstate/stackstate-agent-runner-gitlab:deb_latest
2 changes: 1 addition & 1 deletion .ci-builders/runner-circle-rpm/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,6 @@ RUN mkdir -p "$GEM_HOME" "$BUNDLE_BIN" \

RUN git config --global user.email "gitlab@stackstate" && git config --global user.name "Gitlab Stackstate"

RUN pip install awscli boto3 sa-rpm-s3
RUN pip install awscli==1.16 boto3==1.8.0 sts-rpm-s3==0.3.3

RUN yum -y install net-snmp-devel python-deltarpm yum-utils libtool rpm-sign createrepo
4 changes: 2 additions & 2 deletions .ci-builders/runner-circle-rpm/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
build:
docker build -t docker.io/stackstate/stackstate-agent-runner-circle:centos6 .
docker build -t docker.io/stackstate/stackstate-agent-runner-gitlab:centos6 .
push:
docker push docker.io/stackstate/stackstate-agent-runner-circle:centos6
docker push docker.io/stackstate/stackstate-agent-runner-gitlab:centos6

4 changes: 2 additions & 2 deletions .ci-builders/runner-gitlab-deb/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM docker.io/stackstate/stackstate-agent-runner-circle:latest
FROM docker.io/stackstate/stackstate-agent-runner-gitlab:latest

RUN pip install awscli boto3 sa-rpm-s3
RUN pip install awscli==1.16 boto3==1.8.0 sts-rpm-s3==0.3.3
#RUN apt-get install -y libkrb5-dev unixodbc-dev rpm python-deltarpm createrepo yum-utils

ADD rpmmacros /root/.rpmmacros
4 changes: 2 additions & 2 deletions .ci-builders/runner-gitlab-rpm/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM docker.io/stackstate/stackstate-agent-runner-circle:centos6
FROM docker.io/stackstate/stackstate-agent-runner-gitlab:centos6

RUN pip install awscli boto3 sa-rpm-s3
RUN pip install awscli==1.16 boto3==1.8.0 sts-rpm-s3==0.3.3

RUN yum -y install net-snmp-devel python-deltarpm yum-utils libtool rpm-sign createrepo

Expand Down
15 changes: 0 additions & 15 deletions .ci-builders/runner7-circle-deb/Makefile

This file was deleted.

13 changes: 0 additions & 13 deletions .ci-builders/runner7-circle-rpm/Makefile

This file was deleted.

Loading