This file contains hidden or 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
# Here you define the stages of your pipeline. | |
# more info: https://docs.gitlab.com/ee/ci/yaml/#stages | |
stages: | |
- build | |
- deploy | |
# Here you define top-level cache. | |
# In this case, I'm caching the node_modules/ folder, so next you run "yarn install" it won't take too much time. | |
# more info: https://docs.gitlab.com/ee/ci/yaml/#cache | |
cache: |
This file contains hidden or 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
""" | |
Code adapted from and inspired by http://blog.ranman.org/cleaning-up-aws-with-boto3/. | |
""" | |
import os | |
import re | |
from datetime import datetime, timedelta | |
import boto3 | |
This file contains hidden or 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
import { client } from '~/services/api.server'; | |
import { getAccessToken } from '~/services/session.server'; | |
import { Team } from './types'; | |
export const getTeam = async ( | |
request: Request, | |
{ teamId }: { teamId: string } | |
): Promise<Team> => { | |
const { data } = await client.get(`/teams/${teamId}`, { |
OlderNewer