Skip to content

Commit

Permalink
update integ tests, remove awscli update, add gh token
Browse files Browse the repository at this point in the history
  • Loading branch information
fanny-jiang committed Feb 14, 2024
1 parent dac4ae5 commit c583603
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 12 deletions.
13 changes: 5 additions & 8 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
variables:
# Do not modify this - must be the repository name for Kubernetes gitlab runners to run
KUBERNETES_SERVICE_ACCOUNT_OVERWRITE: helm-charts

stages:
- e2e

Expand All @@ -19,16 +15,17 @@ e2e:
before_script:
# Update awscli v2
- aws --version
- curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
- unzip awscliv2.zip
- ./aws/install --update
- aws --version
# - curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
# - unzip awscliv2.zip
# - ./aws/install --update
# - aws --version
# Setup AWS Credentials
- mkdir -p ~/.aws
- set +x
- aws ssm get-parameter --region us-east-1 --name ci.helm-charts.e2e-agent-qa-profile --with-decryption --query "Parameter.Value" --out text >> ~/.aws/config
- set -x
- export AWS_PROFILE=agent-qa-ci
- export GITHUB_TOKEN=$(aws ssm get-parameter --region us-east-1 --name ci.helm-charts.github_token --with-decryption --query "Parameter.Value" --out text)
- pulumi login "s3://dd-pulumi-state?region=us-east-1&awssdk=v2&profile=$AWS_PROFILE"
script:
- make test-e2e
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ metadata:
name: datadogagents.datadoghq.com
labels:
helm.sh/chart: 'datadogCRDs-1.3.0'
app.kubernetes.io/managed-by: 'Helm'
app.kubernetes.io/managed-by: eks-addon
app.kubernetes.io/name: 'datadogCRDs'
app.kubernetes.io/instance: 'datadog-operator'
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ metadata:
name: datadogagents.datadoghq.com
labels:
helm.sh/chart: 'datadogCRDs-1.3.0'
app.kubernetes.io/managed-by: 'Helm'
app.kubernetes.io/managed-by: eks-addon
app.kubernetes.io/name: 'datadogCRDs'
app.kubernetes.io/instance: 'datadog-operator'
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
namespace: datadog-agent
labels:
app.kubernetes.io/name: datadog-operator
helm.sh/chart: datadog-operator-1.4.1
helm.sh/chart: datadog-operator-1.4.2
app.kubernetes.io/instance: datadog-operator
app.kubernetes.io/version: "1.3.0"
app.kubernetes.io/managed-by: Helm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ metadata:
namespace: datadog-agent
labels:
app.kubernetes.io/name: datadog-operator
helm.sh/chart: datadog-operator-1.4.1
helm.sh/chart: datadog-operator-1.4.2
app.kubernetes.io/instance: datadog-operator
app.kubernetes.io/version: "1.3.0"
app.kubernetes.io/managed-by: Helm
Expand Down

0 comments on commit c583603

Please sign in to comment.