Skip to content

Commit

Permalink
Try upstream updates again (#340)
Browse files Browse the repository at this point in the history
* Missing yaml test

* Missing yaml test

* Add testing msg

* Add testing msg

* improve(readme) added section about helper scripts

* Force break test

* Added path to windmc

* Added path to windmc

* Added path to windmc

* command path test

* Force build

* Gitlab path set

* Add vs path

* Add vs path

* Removed unnecessary comments and prints

* Updated release notes

* Removed del && grouped release notes

* Force build

* STAC-12605 split cluster agent (#284)

* STAC-12605: Add cluster agent execution rules.

* STAC-12605: Fix broken yaml.

* STAC-12605: Fix broken pipeline dependencies.

* STAC-12605: Fix release_rpm step.

* STAC-12605: Fix release_win step.

* STAC-12605: Fix build_rpm, molecule_tests_vms steps.

* STAC-12605: Fix pre_release_rpm steps.

* STAC-12605: Testing cluster agente pipeline

* STAC-12605: Run cluster agent pipeline

* STAC-12605: Always run cluster agent pipeline

* STAC-12605: Test cluster agent pipeline

* STAC-12605: Exclude when cluster-agent changes

* STAC-12605: Test cluster-agent change.

* STAC-12605: Always run cluster-agent steps.

* STAC-12605: Test cluster-agent change 2.

* STAC-12605: Refactor.

* STAC-12605: Test cluster-agent.

* STAC-12605: Test cluster-agent.

* STAC-12605: Test cluster-agent 4

* STAC-12605: Test cluster-agent 5

* STAC-12605: Test cluster-agent 6

* STAC-12605: Test cluster-agent 7

* STAC-12605: Fix variable name

* STAC-12605: Test cluster-agent 8

* STAC-12605: Test cluster-agent 9

* STAC-12605: Test cluster-agent 10

* STAC-12605: Test full build

* STAC-12605: Test full build 2

* STAC-12605: Remove cluster-agent change

* STAC-12605: Test full build 3

* STAC-12605: Test full build 4

* STAC-12605: Test cluster-agent 11

* STAC-12605: Test cluster-agent 12

* STAC-12605: Test full pipeline

* STAC-12605: Test full build 5

* STAC-12605: Test cluster-agent 13

* STAC-12605: Test full build 6

* STAC-12605: Added documentation

* STAC-12605: Test full build

* separate cluster-agent tests from regular unit tests

* add build tag for cluster agent test

* cacert fix

* fix build tags for topology collectors

Co-authored-by: zandrewitte <zandre.witte@gmail.com>

* Add agent_base to molecule_tests_secrets and molecule_tests_local_install

* use rules instead of "only"

* STAC-12605: Test cluste only

* release 2.11.0 (#294)

* skip uds integrations tests (#295)

* STAC-12663: Bump process agent version

* STAC-12663: Bump again due to wrongly versioned process agent

* STAC-12764: Fix kubernetes network molecule test

* STAC-13016: Use new process-agent

* STAC-13016: Fix version name of process-agent

* STAC-12893: Use process-agent 2.7.6

* STAC-13016: Add comment in config template that tells us this is not a bug

* STAC-12893: Use process-agent 2.7.7

* STAC-0: Bump omnibus software

* Revert "STAC-0: Bump omnibus software"

This reverts commit 8b20ee7.

* STAC-0: Fixup cacerts hash

* STAC-12223 Update process-agent version

* Update process-agent and config template with related chagnes

* Bumped psutil to 5.8.0 to fix MacOS Big Sur.
giampaolo/psutil#1794

* STAC-11588: Do what DataDog does, prefer kubelet over docker

* STAC-11588: Upgrade process-agent

* STAC-11588: Use correct branch name for process-agent dep

* Revert "STAC-11588: Use correct branch name for process-agent dep"

This reverts commit 6416706.

* Revert "STAC-11588: Upgrade process-agent"

This reverts commit b860a00.

* STAC-11588: Fix test for detector

* STAC-11588: Ensure kubelet and docker collectors have expected priorities

* STAC-11588: Ensure that standard collectors are registered

* STAC-11588: Don't test the standard collectors

Somehow they're not always registered (in CI pipeline), making this test flaky.

* STAC-12223 Added molecule test to http metrics

* STAC-12223 Added molecule kubernetes test 

* STAC-12223 Add pod-nginx-http infra 

* Doclink for Agent update (#312)

* STAC-12223 nginx service -> ClusterIP

* STAC-11588: Upgrade processagent dep

* STAC-12223 Add protocol inspection flag (STAC-13132)

* STAC-12223 Fix continuous-curl image

* STAC-12223 Use radial/busyboxplus:curl image

* STAC-12223 Pause for 3 minutes

* STAC-12223 Test sts_correlate_endpoints

* STAC-12223 Try docker-compose pull before up

* STAC-12223 Try docker-compose pull before up (fix) 

* STAC-12223 Remove docker-compose pull 

* STAC-12223 Debug docker-compose up

* STAC-12223 Test no nginx http 

* STAC-12223 Use weaveworksdemos/shipping container

* STAC-12223 Fix shipping service name

* STAC-12223 Update continuous-requests-py image

* STAC-12223 Reduce timeout

* STAC-12223 Remove test

* STAC-12223 Added extra line

* STAC-12223 Fix test

* improve(pipeline) removed unnecessary debug ouput (#322)

* STAC-13066 Update dependency on process agent to include ipv6 changes.

* Publish test images also with the short sha as tag

* STAC-13308 Update process-agent version

* STAC-13308 Enable by default

* STAC-13308 Update process-agent version

* STAC-13308 False -> network tracing is also false

* Fixing extra tag argument in script

* add child pipeline parametrizing using $STS_VER $CONDA_ENV $MAJOR_VERSION $PYTHON_RUNTIMES

* create main gitlab pipeline that triggers the children using different vars

* STAC-13308 Trigger new commit

* STAC-13322 Never use only clustername + PodIp as identifier

it is not guaranteed to be unique

* Update stackstate-deps.json

Update process agent with proper HTTP response time measurement

* fix cacerts

* specify python_runtimes always

* skip testing renaming on shared library two

* rollback cacert sha1. fix cacerts_py2_local win dep. do not use python runtime for building dogstats

* pass explicit $OMNIBUS_BASE_DIR_WIN. fix test renaming.

* specify major vrsion for version task

* Added major_version to the test.py task

* fix yaml lint

* Test - Windows error based on the $OMNIBUS_BASE_DIR variable

* Restore Windows Dir

* fix swarm, disk topology checks

* Fix do_sed_rename for libdatadog-agent-two

* Testing missing branding

* Branding Revert

* Branding Revert

* STAC-13662 Test version

* brand vc_redist recipe

* try fix win cache clean

* fix unit tests

* Cherry-pick from d5fcb1e

* Added a if not exist for win build folder

* Added a if not exist for win build folder

* Prevent break if file exists

* fix unit tests

* Attempt to create the agent directory if it does not exist

* fix linting

* linting / merge fixes

* change regex when copying deb file to build docker image

* Convert configure_windows_ps1_env_script cmd commands to powershell

* Add env target in powershell remove-item command

* Ignore error if folder does not exist

* fix copy

* Restore if exist rd for pipeline testing

* enable local install and secrets molecule

* molecule lint

* molecule vms: fix test checking agent version

* fix molecule lint

* drop duplicated inv version task

* improve build dev how to

* fix inv

* fix cluster agent build

* remove version substring when searching win artifact

* Fix emptiness check in publish script

* molecule fixes

* molecule fixes

* try resource group to synchronize molecule access to EKS test cluster

* build/test cluster agent only for v3

* fix rule

* fix release cluster agent

* fix release cluster agent

* fix release cluster agent

* fix release cluster agent

* changes for kubernetes molecule test

* reduce qualifier seconds for filtering kubernetes molecule

* Testing start_period, increased interval and modified healhcheck test on kubernetes docker-compose

* Changed agent-config-map.yaml numbers to strings

* STAC-13362 Bump latest process agent

* Testing gem cache

* Restored build_deb omnibus to .omnibus mv for cache purposes

* Molecule Docker Compose - KAFKA_CREATE_TOPICS for dynamic testing

* Fix yaml indentation

* STAC-13362 Make gitlab aware that kubernetes molecule tests use a shared resource (the k8s cluster) and thus have to wait for each other.

* Fix Invalid interpolation format

* bump integrations

* Added double $ to env variable and testing for -lt instead of -le

* remove obsolete gitlab var

* molecule vms: revert to previous healthcheck
ci: re-introduce publish_image changes based on extra tag

* molecule kubernetes: revert kafka topic and previous healthcheck

* Restore local_build file

* Testing dynamic topci count with create-topic.sh

* Restore local_build file

* Testing verify-or-create-topics.sh script

* Remove nohup

* Testing compose healthcheck updates

* Changed volume mount locations

* remove stupid error log

* Shift kafka ready state

* Added --if-not-exists into the create topic sh

* Create fix

* Combined the docker-compose kafka events

* Volume mount levels

* Removed mem_limit from swarm compose

* Fixed verify script -lt to -ge

* Removed condition for the docker-swarm compose

* Removed start period

* Removed unsupported from swarm compose option

* Docker compose healthcheck changed parameter to &&

* Updated the healthcheck times and options

* Added restart: always for receiver, correlate, topic-api

* Added restart: always for receiver, correlate, topic-api

* Added restart: always for receiver, correlate, topic-api

* Removed restart always from swarm

* Removed test file

* Added a copy for the verify-or-create-topics.sh in prepare step

* Added a copy for the verify-or-create-topics.sh in prepare step

* remove meaningless error log

* fix check command by printing instead of sending topology

* bump integration deps

* update cacert sha

* Molecule compose updates + prepare sh file copy

* Updated clear_deps_win_cache script to work with powershell

* ca_cert updated

* clear_deps_win_cache added if checks on the script paths

* removed yml error in integrations molecule

* Changed the kubernetes verify-or-create-topics.sh copy path

* Swarm removed unsupported option

* Testing docker swarm increased restart_policy

* Swarm healthcheck on zookeeper removed

* Swarm added wait for receiver and agent yml

* try docker swarm again

* remove head from agent wait

* Shifted the agent_base rule

* Lift rules array by splitting the tests

* Lift rules array by splitting the tests

* Improved wording for ci rules

* Test only_agent_3 without cluster agent commit message rule

* Add only_agent_3 to molecule_tests_swarm

* Moved unit_tests_cluster_agent to only_agent_3

* Restored commit message cluster agent rules

* try separate child pipeline for cluster-agent commit message

* try separate child pipeline for cluster-agent commit message

* gitlab ci fixes

* fix gitlab ci linting issues

* retry replacement fix

* agent 2.12.0 release prep (#337)

* revert faulty master merge

* use v3 agent variables for cluster agent pipeline

Co-authored-by: Melcom van Eeden <melcomve@outlook.com>
Co-authored-by: Jeroen van Erp <jeroen@hierynomus.com>
Co-authored-by: Vyacheslav Voronenko <git@voronenko.info>
Co-authored-by: Melcom <32292421+MelcomVE@users.noreply.github.com>
Co-authored-by: Juliano Krieger <julianosk@users.noreply.github.com>
Co-authored-by: Juliano Krieger <julianosk@gmail.com>
Co-authored-by: Bram Schuur <bschuur@stackstate.com>
Co-authored-by: Tiziano Perrucci <tiziano.perrucci@gmail.com>
Co-authored-by: Alexander Hasselbach <agasselbakh@stackstate.com>
Co-authored-by: Hrvoje Ruhek <hrvoje.ruhek@ag04.com>
Co-authored-by: JohnnyGladwin <39700147+johnnygladwin1991@users.noreply.github.com>
Co-authored-by: Louis Parkin <louis.parkin@gmail.com>
Co-authored-by: Louis Parkin <11991882+LouisParkin@users.noreply.github.com>
Co-authored-by: Remco Beckers <remco.beckers@gmail.com>
Co-authored-by: rb3ckers <41439596+rb3ckers@users.noreply.github.com>
Co-authored-by: Alexander Hasselbach <49534641+Q69K@users.noreply.github.com>
Co-authored-by: vishal kumar <vishal.kumar@xebia.com>
Co-authored-by: vishal <39790094+vishalxebia@users.noreply.github.com>
  • Loading branch information
19 people authored Jul 12, 2021
1 parent 0638d0a commit eb126f5
Show file tree
Hide file tree
Showing 182 changed files with 9,757 additions and 3,289 deletions.
2 changes: 1 addition & 1 deletion .cd-builders/runner7-circle-win/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ ENV MSYS_VERSION "20190524.0.0.20191030"
ENV EMBEDDED_PYTHON_2_VERSION "2.7.17"
ENV EMBEDDED_PYTHON_3_VERSION "3.8.1"

ENV CACERTS_HASH "3a32ad57e7f5556e36ede625b854057ac51f996d59e0952c207040077cbe48a9"
ENV CACERTS_HASH "a3b534269c6974631db35f952e8d7c7dbf3d81ab329a232df575c2661de1214a"

LABEL target_agent="Agent 6/7"
LABEL target_arch=${TARGET_ARCH}
Expand Down
172 changes: 172 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,172 @@
ARG DEBIAN_VERSION=bullseye-slim
ARG DOCKER_VERSION=20.10.2
ARG DOCKER_COMPOSE_VERSION=debian-1.28.4
ARG GOLANG_VERSION=1.15
ARG GOLANGCI_LINT_VERSION=v1.37.1

FROM docker:${DOCKER_VERSION} AS docker-cli
FROM docker/compose:${DOCKER_COMPOSE_VERSION} AS docker-compose
FROM golangci/golangci-lint:${GOLANGCI_LINT_VERSION} as golangci-lint

FROM golang:latest

# Configure to avoid build warnings and errors as described in official VSCode Remote-Containers extension documentation.
# See https://code.visualstudio.com/docs/remote/containers-advanced#_reducing-dockerfile-build-warnings.
ENV DEBIAN_FRONTEND=noninteractive
# CA certificates
RUN apt-get update -y && \
# CA certificates
apt-get install -y --no-install-recommends ca-certificates && \
# Timezone
apt-get install -y --no-install-recommends tzdata && \
# Setup Git and SSH
apt-get install -y --no-install-recommends git openssh-client && \
# Setup sudo
apt-get install -y --no-install-recommends sudo && \
# Setup shell
apt-get install -y --no-install-recommends zsh nano locales && \
apt-get autoremove -y && \
apt-get clean -y && \
rm -r /var/cache/* /var/lib/apt/lists/*

ARG USERNAME=vscode
ARG USER_UID=1000
ARG USER_GID=1000

ENV TZ=
WORKDIR /home/${USERNAME}
RUN addgroup --gid $USER_GID $USERNAME && \
useradd $USERNAME --shell /bin/sh --uid $USER_UID --gid $USER_GID && \
mkdir -p /etc/sudoers.d && \
echo $USERNAME ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/$USERNAME && \
chmod 0440 /etc/sudoers.d/$USERNAME && \
rm /var/log/faillog /var/log/lastlog

# Setup shell for root and ${USERNAME}
ENTRYPOINT [ "/bin/zsh" ]

ENV EDITOR=nano \
LANG=en_US.UTF-8 \
# MacOS compatibility
TERM=xterm

RUN echo "LC_ALL=en_US.UTF-8" >> /etc/environment && \
echo "en_US.UTF-8 UTF-8" >> /etc/locale.gen && \
echo "LANG=en_US.UTF-8" > /etc/locale.conf && \
locale-gen en_US.UTF-8

RUN usermod --shell /bin/zsh root && \
usermod --shell /bin/zsh ${USERNAME}

COPY --chown=${USER_UID}:${USER_GID} shell/.p10k.zsh shell/.zshrc shell/.welcome.sh /home/${USERNAME}/

RUN ln -s /home/${USERNAME}/.p10k.zsh /root/.p10k.zsh && \
cp /home/${USERNAME}/.zshrc /root/.zshrc && \
cp /home/${USERNAME}/.welcome.sh /root/.welcome.sh && \
sed -i "s/HOMEPATH/home\/${USERNAME}/" /home/${USERNAME}/.zshrc && \
sed -i "s/HOMEPATH/root/" /root/.zshrc

ARG POWERLEVEL10K_VERSION=v1.14.6

RUN git clone --single-branch --depth 1 https://github.com/robbyrussell/oh-my-zsh.git /home/${USERNAME}/.oh-my-zsh && \
git clone --branch ${POWERLEVEL10K_VERSION} --single-branch --depth 1 https://github.com/romkatv/powerlevel10k.git /home/${USERNAME}/.oh-my-zsh/custom/themes/powerlevel10k && \
rm -rf /home/${USERNAME}/.oh-my-zsh/custom/themes/powerlevel10k/.git && \
chown -R ${USERNAME}:${USER_GID} /home/${USERNAME} && \
chmod -R 700 /home/${USERNAME} && \
cp -r /home/${USERNAME}/.oh-my-zsh /root/.oh-my-zsh && \
chown -R root:root /root/.oh-my-zsh

# Docker
COPY --from=docker-cli --chown=${USER_UID}:${USER_GID} /usr/local/bin/docker /usr/local/bin/docker
COPY --from=docker-compose --chown=${USER_UID}:${USER_GID} /usr/local/bin/docker-compose /usr/local/bin/docker-compose
ENV DOCKER_BUILDKIT=1 \
COMPOSE_DOCKER_CLI_BUILD=1
# All possible docker host groups
RUN G102=`getent group 102 | cut -d":" -f 1` && \
G976=`getent group 976 | cut -d":" -f 1` && \
G1000=`getent group 1000 | cut -d":" -f 1` && \
if [ -z $G102 ]; then G102=docker102; addgroup --gid 102 $G102; fi && \
if [ -z $G976 ]; then G976=docker976; addgroup --gid 976 $G976; fi && \
if [ -z $G1000 ]; then G1000=docker1000; addgroup --gid 1000 $G1000; fi && \
addgroup ${USERNAME} $G102 && \
addgroup ${USERNAME} $G976 && \
addgroup ${USERNAME} $G1000

RUN apt-get update -y \
&& apt-get -y install --no-install-recommends apt-utils 2>&1 \
# Verify git, process tools, lsb-release (common in install instructions for CLIs) installed.
&& apt-get -y install git iproute2 procps lsb-release \
# Install Python2.7
&& apt-get install -y python2.7 python-pip unzip \
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

ENV GOPATH=/go
ENV PATH=$GOPATH/bin:/usr/local/go/bin:$PATH
ARG GOPLS_VERSION=v0.6.6
ARG DELVE_VERSION=v1.5.0
ARG GOMODIFYTAGS_VERSION=v1.13.0
ARG GOPLAY_VERSION=v1.0.0
ARG GOTESTS_VERSION=v1.5.3
ARG MOCK_VERSION=v1.5.0
ARG MOCKERY_VERSION=v2.3.0
COPY --from=golangci-lint /usr/bin/golangci-lint ${GOPATH}/bin
RUN go get -v golang.org/x/tools/gopls@${GOPLS_VERSION} 2>&1
RUN go get -v \
# Base Go tools needed for VS code Go extension
golang.org/x/tools/cmd/guru \
golang.org/x/tools/cmd/gorename \
github.com/go-delve/delve/cmd/dlv@${DELVE_VERSION} \
github.com/uudashr/gopkgs/v2/cmd/gopkgs@latest \
github.com/ramya-rao-a/go-outline \
# Extra tools integrating with VS code
github.com/fatih/gomodifytags@${GOMODIFYTAGS_VERSION} \
github.com/haya14busa/goplay/cmd/goplay@${GOPLAY_VERSION} \
github.com/cweill/gotests/...@${GOTESTS_VERSION} \
github.com/davidrjenni/reftools/cmd/fillstruct \
# Terminal tools
github.com/golang/mock/gomock@${MOCK_VERSION} \
github.com/golang/mock/mockgen@${MOCK_VERSION} \
github.com/vektra/mockery/v2/...@${MOCKERY_VERSION} \
2>&1

# EXTRA TOOLS
# Kubectl
ARG KUBECTL_VERSION=v1.19.4
RUN wget -qO /usr/local/bin/kubectl "https://storage.googleapis.com/kubernetes-release/release/${KUBECTL_VERSION}/bin/linux/amd64/kubectl" && \
chmod 755 /usr/local/bin/kubectl

# Stern
ARG STERN_VERSION=1.11.0
RUN wget -qO /usr/local/bin/stern https://github.com/wercker/stern/releases/download/${STERN_VERSION}/stern_$(uname -s)_amd64 && \
chown ${USER_UID}:${USER_GID} /usr/local/bin/stern && \
chmod 755 /usr/local/bin/stern

# Kubectx and Kubens
ARG KUBECTX_VERSION=v0.9.3
RUN wget -qO- "https://github.com/ahmetb/kubectx/releases/download/${KUBECTX_VERSION}/kubectx_${KUBECTX_VERSION}_$(uname -s)_$(uname -m).tar.gz" | \
tar -xzC /usr/local/bin kubectx && \
wget -qO- "https://github.com/ahmetb/kubectx/releases/download/${KUBECTX_VERSION}/kubens_${KUBECTX_VERSION}_$(uname -s)_$(uname -m).tar.gz" | \
tar -xzC /usr/local/bin kubens && \
chmod 755 /usr/local/bin/kube*

# Helm
ARG HELM3_VERSION=v3.5.2
RUN wget -qO- "https://get.helm.sh/helm-${HELM3_VERSION}-linux-amd64.tar.gz" | \
tar -xzC /usr/local/bin --strip-components=1 linux-amd64/helm && \
chmod 755 /usr/local/bin/helm*

# AWS CLI
RUN wget -qO awscli2.zip "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" && \
unzip awscli2.zip && \
./aws/install && \
rm awscli2.zip

# Revert configurations that was set at top layer (for avoiding build warnings and errors).
ENV DEBIAN_FRONTEND=dialog

USER ${USERNAME}
# Expose service ports.
EXPOSE 8000

78 changes: 78 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"name": "StackState Agent",
"dockerFile": "Dockerfile",
"extensions": [
"golang.go",
"ms-python.python",
"ms-azuretools.vscode-docker",
"eamodio.gitlens",
"github.vscode-pull-request-github",
"redhat.vscode-yaml",
"ms-kubernetes-tools.vscode-kubernetes-tools",
"shardulm94.trailing-spaces", // Show trailing spaces
"Gruntfuggly.todo-tree", // Highlights TODO comments
"ms-python.vscode-pylance",
],
"containerEnv": {
"GO111MODULE": "off",
"GOMOD": "",
},
"remoteEnv": {
"PATH": "${containerEnv:PATH}:/home/vscode/.local/bin",
"VENV_BASE_PATH": "/home/vscode/.venv",
},
"workspaceMount": "src=${localWorkspaceFolder},dst=/go/src/github.com/StackVista/stackstate-agent,type=bind",
"mounts": [
"type=bind,target=/home/vscode/.kube,src=${localEnv:HOME}/.kube"
],
"workspaceFolder": "/go/src/github.com/StackVista/stackstate-agent",
"postCreateCommand": "./.devcontainer/postCreateCommand.sh",
"settings": {
"go.buildTags": "kubeapiserver,cpython,kubelet,etcd,docker,zk",
"go.testFlags": [
"-v"
],
"go.useLanguageServer": true,
"[go]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
},
// Optional: Disable snippets, as they conflict with completion ranking.
"editor.snippetSuggestions": "none"
},
"[go.mod]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true,
},
},
"go.autocompleteUnimportedPackages": true,
"go.gotoSymbol.includeImports": true,
"go.gotoSymbol.includeGoroot": true,
"go.buildOnSave": "workspace",
"go.lintOnSave": "workspace",
"go.vetOnSave": "workspace",
"editor.formatOnSave": true,
"go.coverOnSingleTest": true,
"go.coverOnSingleTestFile": true,
"python.pythonPath": "/usr/bin/python",
"git.ignoreLimitWarning": true,
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"vendor": true,
"venv": true,
".vendor-new": true,
".metals": true
},
"todo-tree.highlights.defaultHighlight": {
"icon": "alert",
"type": "text",
"foreground": "red",
},
}
}
8 changes: 8 additions & 0 deletions .devcontainer/postCreateCommand.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

cat >> /home/vscode/.zshrc << EOF
[ -f /go/src/github.com/StackVista/stackstate-agent/.env ] && source /go/src/github.com/StackVista/stackstate-agent/.env
EOF

pip2 install -r requirements.txt
pip2 install virtualenv
Loading

0 comments on commit eb126f5

Please sign in to comment.