Skip to content

Commit

Permalink
feat: add awscli
Browse files Browse the repository at this point in the history
  • Loading branch information
eroan-marie committed Nov 27, 2024
1 parent 2fc1ae3 commit 620fca1
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
- 'update_lockfile.sh'

env:
DOCKER_ORG: datalabs
DOCKER_ORG: cnes
GITHUB_SHA: ${{ github.sha }}
GITHUB_REF: ${{ github.ref }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ChatOpsDispatcher.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
- name: Slash Command Dispatch
uses: peter-evans/slash-command-dispatch@v4
with:
token: ${{ secrets.PANGEOBOT_TOKEN }}
token: ${{ secrets.DATALABSBOT_TOKEN }}
reaction-token: ${{ secrets.GITHUB_TOKEN }}
config: >
[
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/CondaLock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
token: ${{ secrets.PANGEOBOT_TOKEN }}
token: ${{ secrets.DATALABSBOT_TOKEN }}
# These lines are critical, otherwise Pangeo-bot pushes changes directly to master from PRs!
repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}
ref: ${{ github.event.client_payload.pull_request.head.ref }}
Expand Down Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4
with:
token: ${{ secrets.PANGEOBOT_TOKEN }}
token: ${{ secrets.DATALABSBOT_TOKEN }}
# These lines are critical, otherwise Pangeo-bot pushes changes directly to master from PRs!
repository: ${{ github.event.client_payload.pull_request.head.repo.full_name }}
ref: ${{ github.event.client_payload.pull_request.head.ref }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/PR.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Add Condalock Comment
uses: peter-evans/create-or-update-comment@v4
with:
token: ${{ secrets.PANGEOBOT_TOKEN }}
token: ${{ secrets.DATALABSBOT_TOKEN }}
issue-number: ${{github.event.number}}
body: |
/condalock
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/WatchCondaForge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
uses: peter-evans/create-pull-request@v7
with:
committer: Pangeo Bot <[email protected]>
token: ${{ secrets.PANGEOBOT_TOKEN }}
token: ${{ secrets.DATALABSBOT_TOKEN }}
commit-message: "Update pangeo-notebook metapackage version to ${{ steps.latest_version.outputs.version }}"
title: "Update pangeo-notebook metapackage version to ${{ steps.latest_version.outputs.version }}"
reviewers: "scottyhq"
Expand Down
8 changes: 8 additions & 0 deletions base-notebook/resources/awscli/install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# AWS cli
cd /opt
curl -sL "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip -q awscliv2.zip
./aws/install
rm -rf /opt/aws /opt/awscliv2.zip
pip install --quiet awscli-plugin-endpoint
layer-cleanup.sh

0 comments on commit 620fca1

Please sign in to comment.