This repository has been archived by the owner on Feb 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* lib/builder: correct depedency synchronization for manifests with dependencies. When building an (cluster) image, tele syncs the local cache with packages/applications from a remote hub if any are missing. The recent work on intermediate upgrades introduced a change that stopped syncing direct application dependencies - instead it only synced the dependencies of the runtime applications. This went unnoticed since the development workflow does not exercise this path. I added the relevant tests to exercise both direct dependency synchronization as well handling intermediate hops (which were not tested before). * Add a separate docker image for running tests with docker support. * Verify dependencies for the application packages in each syncer implementation * Add another test for the development workflow when packages are explicitly placed into cache
- Loading branch information
1 parent
9932b62
commit 5cf4e07
Showing
6 changed files
with
427 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
FROM quay.io/gravitational/debian-venti:go1.12.9-stretch | ||
|
||
RUN set -ex && adduser jenkins --uid=995 --disabled-password --system | ||
RUN (set -ex && mkdir -p /gopath/src/github.com/gravitational/gravity && \ | ||
chown -R jenkins /gopath && \ | ||
mkdir -p /.cache && \ | ||
chmod 777 /.cache) | ||
|
||
RUN set -ex && apt-get update && \ | ||
apt-get -y install apt-transport-https ca-certificates curl gnupg software-properties-common && \ | ||
curl -fsSL https://download.docker.com/linux/debian/gpg | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=1 apt-key add - && \ | ||
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian buster stable" && \ | ||
apt-get update && \ | ||
apt-get -y install docker-ce-cli | ||
|
||
ENV LANGUAGE="en_US.UTF-8" \ | ||
LANG="en_US.UTF-8" \ | ||
LC_ALL="en_US.UTF-8" \ | ||
LC_CTYPE="en_US.UTF-8" \ | ||
GOPATH="/gopath" \ | ||
PATH="$PATH:/opt/go/bin:/gopath/bin" | ||
|
||
VOLUME ["/gopath/src/github.com/gravitational/gravity"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.